OLD | NEW |
| (Empty) |
1 <script> | |
2 function autoLink(className) { | |
3 var comments = document.querySelectorAll(className); | |
4 for(var i = 0; i < comments.length; i++) { | |
5 comments[i].innerHTML = comments[i].innerHTML.replace(/http:\/\/[^ \t\n<]*
/g, '<a href="$&">$&</a>'); | |
6 } | |
7 } | |
8 | |
9 window.onload = function() { | |
10 autoLink('.DevComment'); | |
11 } | |
12 </script> | |
13 | |
14 <div class="Announcement"> | |
15 | |
16 <iframe width="100%" height="44" frameborder="0" scrolling="no" src="http://nacl
sdk-status.appspot.com/current"></iframe> | |
17 | |
18 <center style="padding: 0 7px"> | |
19 <table width="100%" valign="top" bgcolor="#efefef" style="-webkit-border-botto
m-left-radius: 24px; -webkit-border-bottom-right-radius: 24px; -moz-border-botto
m-right-radius: 24px; -moz-border-bottom-right-radius: 24px; box-shadow: 2px 2
px 6px rgba(0,0,0,0.6); -moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); -webkit-bo
x-shadow: 2px 2px 6px rgba(0,0,0,0.6);"> | |
20 <tr> | |
21 <td width="23%"> | |
22 <table valign="top" width="100%"> | |
23 <tr> | |
24 <td style="text-align: right;"> | |
25 <b>Controls:</b> | |
26 </td> | |
27 <td> | |
28 <a href="http://naclsdk-status.appspot.com">tree status</a> | | |
29 <a href="one_line_per_build">manage all</a> | |
30 </td> | |
31 </tr> | |
32 <tr> | |
33 <td style="text-align: right;"> | |
34 <b>Development:</b> | |
35 </td> | |
36 <td> | |
37 <a href="http://code.google.com/p/nativeclient-sdk/source/browse/#
svn/trunk/nacl">source</a> | | |
38 <a href="http://codereview.chromium.org/">reviews</a> | | |
39 <a href="http://code.google.com/p/nativeclient-sdk/issues/list">bu
gs</a> | |
40 </td> | |
41 </tr> | |
42 <tr> | |
43 <td style="text-align: right;"> | |
44 <b>NativeClient:</b> | |
45 </td> | |
46 <td> | |
47 <a href="http://code.google.com/p/nativeclient-sdk">www</a> | |
48 </td> | |
49 </tr> | |
50 <tr> | |
51 <td style="text-align: right;"> | |
52 <b>Sheriffs:</b> | |
53 </td> | |
54 <td> | |
55 <script src='./sheriff.js'></script> | |
56 </td> | |
57 </tr> | |
58 <tr> | |
59 <td style="text-align: right;"> | |
60 <b>Navigate:</b> | |
61 </td> | |
62 <td colspan="2"> | |
63 <a href="http://dev.chromium.org/developers/testing/chromium-build
-infrastructure/tour-of-the-chromium-buildbot">about</a> | | |
64 <a href="./waterfall/help">customize</a> | | |
65 <script> | |
66 if (document.location.port == 8022) { | |
67 document.write('<a href="http://' + document.location.hostname
+ ':8022/waterfall">waterfall</a> | '); | |
68 document.write('<a href="http://' + document.location.hostname
+ ':8022/console">console</a>'); | |
69 } else { | |
70 document.write('<a href="../nacl-sdk/waterfall">waterfall</a>
| '); | |
71 document.write('<a href="../nacl-sdk/console">console</a>'); | |
72 } | |
73 </script> | |
74 </td> | |
75 </tr> | |
76 </table> | |
77 </td> | |
78 <td width="1" bgcolor="#CCCCCC"> | |
79 </td> | |
80 <td width="2%"> | |
81 </td> | |
82 <td width="72%"> | |
83 <table width="100%"> | |
84 <script language="javascript"> | |
85 var raw_flavors = [ | |
86 ["SDK", ["windows-sdk", | |
87 "mac-sdk", | |
88 "linux-sdk"]], | |
89 ]; | |
90 var flavors = []; | |
91 for(var i in raw_flavors) { | |
92 var row = Array(); | |
93 for(var j in raw_flavors[i][1]) { | |
94 if(raw_flavors[i][0] == "SDK" || | |
95 raw_flavors[i][0] == "Tarballs" || | |
96 raw_flavors[i][0] == "Integration" || | |
97 raw_flavors[i][0] == "Packages") { | |
98 row.push("builder=" + raw_flavors[i][1][j]); | |
99 } else { | |
100 row.push("builder=" + raw_flavors[i][1][j] + "-dbg"); | |
101 row.push("builder=" + raw_flavors[i][1][j] + "-opt"); | |
102 } | |
103 } | |
104 flavors.push([raw_flavors[i][0], row.join("&")]); | |
105 } | |
106 | |
107 var bar = "./horizontal_one_box_per_builder" | |
108 var waterfall = "./waterfall" | |
109 | |
110 if (document.location.port == 8022) { | |
111 bar = 'http://' + document.location.hostname + ':8022/' + bar | |
112 waterfall = 'http://' + document.location.hostname + ':8022/' + wa
terfall | |
113 } else { | |
114 bar = '../nacl-sdk/' + bar | |
115 waterfall = '../nacl-sdk/' + waterfall | |
116 } | |
117 | |
118 function GetUrl(type, content) { | |
119 return type + "?" + content + "&reload=30"; | |
120 } | |
121 | |
122 function DisplayBar(content, name) { | |
123 document.write("<tr><td><a href='" + GetUrl(waterfall, content) +
"'>" + name + "</a></td><td width='99%'><iframe width='100%' height='20' framebo
rder='0' scrolling='no' src='" + GetUrl(bar, content) + "'></iframe></td></tr>\n
"); | |
124 } | |
125 | |
126 for(var i in flavors) { | |
127 DisplayBar(flavors[i][1], flavors[i][0]); | |
128 } | |
129 </script> | |
130 </table> | |
131 </td> | |
132 <td width="3%"> | |
133 </td> | |
134 </tr> | |
135 </table> | |
136 </center> | |
137 | |
138 </div> | |
OLD | NEW |