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://nati
veclient-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://nativeclient-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/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/issues/list">bugs</
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">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 == 8025) { | |
67 document.write('<a href="http://' + document.location.hostname
+ ':8025/waterfall">waterfall</a> | '); | |
68 document.write('<a href="http://' + document.location.hostname
+ ':8025/console">console</a>'); | |
69 } else { | |
70 document.write('<a href="waterfall">waterfall</a> | '); | |
71 document.write('<a href="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 ["Integration", ["xp-nacl-chrome", | |
87 "mac-nacl-chrome", | |
88 "hardy64-nacl-chrome"]], | |
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] == "Toolchain" || | |
95 raw_flavors[i][0] == "Integration") { | |
96 row.push("builder=" + raw_flavors[i][1][j]); | |
97 } else { | |
98 row.push("builder=" + raw_flavors[i][1][j] + "-dbg"); | |
99 row.push("builder=" + raw_flavors[i][1][j] + "-opt"); | |
100 } | |
101 } | |
102 flavors.push([raw_flavors[i][0], row.join("&")]); | |
103 } | |
104 | |
105 var bar = "./horizontal_one_box_per_builder" | |
106 var waterfall = "./waterfall" | |
107 | |
108 if (document.location.port == 8025) { | |
109 bar = 'http://' + document.location.hostname + ':8025/' + bar | |
110 waterfall = 'http://' + document.location.hostname + ':8025/' + wa
terfall | |
111 } | |
112 | |
113 function GetUrl(type, content) { | |
114 return type + "?" + content + "&reload=30"; | |
115 } | |
116 | |
117 function DisplayBar(content, name) { | |
118 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
"); | |
119 } | |
120 | |
121 for(var i in flavors) { | |
122 DisplayBar(flavors[i][1], flavors[i][0]); | |
123 } | |
124 </script> | |
125 </table> | |
126 </td> | |
127 <td width="3%"> | |
128 </td> | |
129 </tr> | |
130 </table> | |
131 </center> | |
132 | |
133 </div> | |
OLD | NEW |