Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: master/templates/layout.html

Issue 14475006: Change Builder Names, MkII (Closed) Base URL: http://skia.googlecode.com/svn/buildbot/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« master/slaves.cfg ('K') | « master/slaves.cfg ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {%- block doctype -%} 1 {%- block doctype -%}
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 {% endblock %} 4 {% endblock %}
5 <!-- Copied and modified from: 5 <!-- Copied and modified from:
6 http://src.chromium.org/viewvc/chrome/trunk/tools/build/third_party/buildbot_8_4 p1/buildbot/status/web/templates/layout.html?revision=89637&content-type=text/pl ain 6 http://src.chromium.org/viewvc/chrome/trunk/tools/build/third_party/buildbot_8_4 p1/buildbot/status/web/templates/layout.html?revision=89637&content-type=text/pl ain
7 --> 7 -->
8 <html xmlns="http://www.w3.org/1999/xhtml"> 8 <html xmlns="http://www.w3.org/1999/xhtml">
9 <head> 9 <head>
10 {% block head %} 10 {% block head %}
(...skipping 24 matching lines...) Expand all
35 var internalport = "{{ internal_port }}"; 35 var internalport = "{{ internal_port }}";
36 var externalport = "{{ external_port }}"; 36 var externalport = "{{ external_port }}";
37 37
38 var all_builders = [ 38 var all_builders = [
39 {% for b in all_builders %} 39 {% for b in all_builders %}
40 "{{ b }}", 40 "{{ b }}",
41 {% endfor %} 41 {% endfor %}
42 ]; 42 ];
43 43
44 // Categorize the builders. 44 // Categorize the builders.
45 var nonbench_percommit_builders = []; 45 var test_percommit_builders = [];
46 var bench_percommit_builders = []; 46 var perf_percommit_builders = [];
47 var all_percommit_builders = []; 47 var all_percommit_builders = [];
48 var try_builders = []; 48 var try_builders = [];
49 for (var i = 0; i < all_builders.length; ++i) { 49 for (var i = 0; i < all_builders.length; ++i) {
50 var builder = all_builders[i]; 50 var builder = all_builders[i];
51 if (builder.indexOf("Trybot") != -1) { 51 if (builder.indexOf("Trybot") != -1) {
52 try_builders.push(builder) 52 try_builders.push(builder)
53 } else { 53 } else {
54 all_percommit_builders.push(builder); 54 all_percommit_builders.push(builder);
55 if (builder.indexOf("Bench") != -1) { 55 if (builder.indexOf("Perf") != -1) {
56 bench_percommit_builders.push(builder); 56 perf_percommit_builders.push(builder);
57 } else { 57 } else {
58 nonbench_percommit_builders.push(builder); 58 test_percommit_builders.push(builder);
59 } 59 }
60 } 60 }
61 } 61 }
62 62
63 // Set an option on window.name 63 // Set an option on window.name
64 function setOption(name, value) { 64 function setOption(name, value) {
65 var options = JSONstring.toObject(top.name); 65 var options = JSONstring.toObject(top.name);
66 options[name] = value; 66 options[name] = value;
67 top.name = JSONstring.make(options); 67 top.name = JSONstring.make(options);
68 } 68 }
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 if (!currently_displaying) { 201 if (!currently_displaying) {
202 if (desired_builders) { 202 if (desired_builders) {
203 reloadWithOptions(desired_builders, getOption("repository"), getOpti on("radio"), false); 203 reloadWithOptions(desired_builders, getOption("repository"), getOpti on("radio"), false);
204 return; 204 return;
205 } else { 205 } else {
206 reloadWithOptions(all_percommit_builders, skia_repo, "radio_all", fa lse); 206 reloadWithOptions(all_percommit_builders, skia_repo, "radio_all", fa lse);
207 return; 207 return;
208 } 208 }
209 } else { 209 } else {
210 // If the list of builders is known, accept it as the desired list. 210 // If the list of builders is known, accept it as the desired list.
211 if (listsAreIdentical(currently_displaying, nonbench_percommit_builder s)) { 211 if (listsAreIdentical(currently_displaying, test_percommit_builders)) {
212 desired_radio = "radio_nonbench"; 212 desired_radio = "radio_test";
213 desired_repository = skia_repo; 213 desired_repository = skia_repo;
214 } else if (listsAreIdentical(currently_displaying, bench_percommit_bui lders)) { 214 } else if (listsAreIdentical(currently_displaying, perf_percommit_buil ders)) {
215 desired_radio = "radio_bench"; 215 desired_radio = "radio_perf";
216 desired_repository = skia_repo; 216 desired_repository = skia_repo;
217 } else if (listsAreIdentical(currently_displaying, all_percommit_build ers)) { 217 } else if (listsAreIdentical(currently_displaying, all_percommit_build ers)) {
218 desired_radio = "radio_all"; 218 desired_radio = "radio_all";
219 desired_repository = skia_repo; 219 desired_repository = skia_repo;
220 } else if (listsAreIdentical(currently_displaying, try_builders)) { 220 } else if (listsAreIdentical(currently_displaying, try_builders)) {
221 desired_radio = "radio_try"; 221 desired_radio = "radio_try";
222 desired_repository = try_repo; 222 desired_repository = try_repo;
223 } else { 223 } else {
224 // If the list of builders is not known, allow it, and use defaults for everything else. 224 // If the list of builders is not known, allow it, and use defaults for everything else.
225 desired_repository = skia_repo; 225 desired_repository = skia_repo;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 <div style="float:right; width: 195px;"><ul style="margin: 0px 0px 0px 25px; padding:0;"><li><a href="http://skia.googlecode.com/svn/buildbot/buildbot s_self_analysis.html" target="_blank">Buildbot Self-Dashboard</a><br/></li></ul> </div> 280 <div style="float:right; width: 195px;"><ul style="margin: 0px 0px 0px 25px; padding:0;"><li><a href="http://skia.googlecode.com/svn/buildbot/buildbot s_self_analysis.html" target="_blank">Buildbot Self-Dashboard</a><br/></li></ul> </div>
281 <div style="float:right; width: 195px;"><ul style="margin: 0px 0px 0px 25px; padding:0;"><li><a href="http://skia.googlecode.com/svn/buildbot/buildsla ve_idle.html" target="_blank">Buildslave Idle Time Analysis</a><br/></li></ul></ div> 281 <div style="float:right; width: 195px;"><ul style="margin: 0px 0px 0px 25px; padding:0;"><li><a href="http://skia.googlecode.com/svn/buildbot/buildsla ve_idle.html" target="_blank">Buildslave Idle Time Analysis</a><br/></li></ul></ div>
282 <div style="float:right; width: 195px;"><ul style="margin: 0px 0px 0px 25px; padding:0;"><li><a href="https://skia-tree-status.appspot.com/sheriff" ta rget="_blank">Sheriff Schedule</a><br/></li></ul></div> 282 <div style="float:right; width: 195px;"><ul style="margin: 0px 0px 0px 25px; padding:0;"><li><a href="https://skia-tree-status.appspot.com/sheriff" ta rget="_blank">Sheriff Schedule</a><br/></li></ul></div>
283 </div> 283 </div>
284 284
285 <div style="text-align:center; position: absolute; width: 100%; height: 65px; z-index:1;"> 285 <div style="text-align:center; position: absolute; width: 100%; height: 65px; z-index:1;">
286 <div id="heading" style="font-size:3.5em; text-align:center;">Skia Bui ldbots</div> 286 <div id="heading" style="font-size:3.5em; text-align:center;">Skia Bui ldbots</div>
287 <div style="text-align:center;"> 287 <div style="text-align:center;">
288 <form name="unused2"> 288 <form name="unused2">
289 <nobr> 289 <nobr>
290 <input type="radio" id="radio_nonbench" value="nonbench" onClick=" javascript:reloadWithOptions(nonbench_percommit_builders, skia_repo, 'radio_nonb ench', true);">Non-Bench Builders 290 <input type="radio" id="radio_test" value="test" onClick="javascri pt:reloadWithOptions(test_percommit_builders, skia_repo, 'radio_test', true);">N on-Perf Builders
291 <input type="radio" id="radio_bench" value="bench" onClick="javasc ript:reloadWithOptions(bench_percommit_builders, skia_repo, 'radio_bench', true) ;">Bench Builders 291 <input type="radio" id="radio_perf" value="perf" onClick="javascri pt:reloadWithOptions(perf_percommit_builders, skia_repo, 'radio_perf', true);">P erf Builders
292 <input type="radio" id="radio_all" value="all" onClick="javascript :reloadWithOptions(all_percommit_builders, skia_repo, 'radio_all', true);">All B uilders 292 <input type="radio" id="radio_all" value="all" onClick="javascript :reloadWithOptions(all_percommit_builders, skia_repo, 'radio_all', true);">All B uilders
293 <input type="radio" id="radio_try" value="try" onClick="javascript :reloadWithOptions(try_builders, try_repo, 'radio_try', true);">Trybots 293 <input type="radio" id="radio_try" value="try" onClick="javascript :reloadWithOptions(try_builders, try_repo, 'radio_try', true);">Trybots
294 </nobr> 294 </nobr>
295 </form> 295 </form>
296 </div> 296 </div>
297 </div> 297 </div>
298 </div> 298 </div>
299 299
300 <div class="header"> 300 <div class="header">
301 <a href="{{ path_to_root or '.' }}">Home</a> - 301 <a href="{{ path_to_root or '.' }}">Home</a> -
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 {{ title }} 337 {{ title }}
338 {%- endif -%} 338 {%- endif -%}
339 &nbsp;project. 339 &nbsp;project.
340 {%- endif -%} 340 {%- endif -%}
341 <br/> 341 <br/>
342 Page built: <b>{{ time }}</b> ({{ tz }}) 342 Page built: <b>{{ time }}</b> ({{ tz }})
343 </div> 343 </div>
344 {% endblock -%} 344 {% endblock -%}
345 </body> 345 </body>
346 </html> 346 </html>
OLDNEW
« master/slaves.cfg ('K') | « master/slaves.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698