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

Side by Side Diff: milo/appengine/frontend/expectations/swarming.build-build-nested.html

Issue 2886353002: Milo: Add an option to hide green steps (Closed)
Patch Set: retrain Created 3 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
OLDNEW
1 1
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 3
4 <html lang="en"> 4 <html lang="en">
5 <meta charset="utf-8"> 5 <meta charset="utf-8">
6 <title> 6 <title>
7 7
8 Running 8 Running
9 9
10 - 10 -
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 71
72 72
73 </ul> 73 </ul>
74 74
75 75
76 76
77 77
78 78
79 <h2>Steps and Logfiles:</h2> 79 <h2>Steps and Logfiles:</h2>
80 <input type="checkbox" id="showHidden"> 80 Show:
81 <label for="showHidden">Show hidden <span id="numHidden"></span></label> 81 <input type="radio" name="hider" id="showAll"><label for="showAll">All</ label>
82 <ol id="steps" class="hide"> 82 <input type="radio" name="hider" id="showStandard" checked>
83 <label for="showStandard">Standard</label>
84 <input type="radio" name="hider" id="showInteresting">
85 <label for="showInteresting">Interesting Only</label>
86 <ol id="steps" class="standard">
83 87
84 88
85 89
86 90
87 91
88 92
89 <li class="verbosity-Normal"> 93 <li class="verbosity-Normal">
90 <div class="status-Running result"> 94 <div class="status-Running result">
91 <b>recipe bootstrap</b> 95 <b>recipe bootstrap</b>
92 96
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 </td></tr> 380 </td></tr>
377 </table> 381 </table>
378 382
379 </div> 383 </div>
380 384
381 385
382 </div> 386 </div>
383 </div> 387 </div>
384 <script language="javascript"> 388 <script language="javascript">
385 $(document).ready(function() { 389 $(document).ready(function() {
386 var check = function(checked) { 390
387 var things = $("#steps"); 391 var check = function(filter) {
388 if (checked) { 392 $("#steps").removeClass("all standard interesting").addClass(filter)
389 $("#steps").removeClass("hide"); 393 }
390 } else { 394
391 $("#steps").addClass("hide"); 395 $("#showInteresting").click(function(e) {
396 check("interesting");
397 });
398 $("#showStandard").click(function(e) {
399 check("standard");
400 });
401 $("#showAll").click(function(e) {
402 check("all");
403 });
404
405 $("input[name='hider']").each(function(){
406 if ($(this).prop("checked") == true) {
407 $(this).click();
392 } 408 }
393 var numHidden = $(".verbosity-Hidden").length;
394 if (numHidden > 0) {
395 $("#numHidden").text("(" + numHidden + " hidden)");
396 } else {
397 $("#numHidden").text("");
398 }
399 };
400
401 check($("#showHidden").is(":checked"));
402 $("#showHidden").click(function(e) {
403 check($(this).is(":checked"));
404 }); 409 });
405 }); 410 });
406 </script> 411 </script>
407 412
408 <footer> 413 <footer>
409 <hr> 414 <hr>
410 <a href="https://github.com/luci">luci</a>, 415 <a href="https://github.com/luci">luci</a>,
411 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 416 working for the <a href="https://chromium.org/">Chromium</a> project.<br>
412 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b> 417 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
413 </footer> 418 </footer>
(...skipping 20 matching lines...) Expand all
434 <script> 439 <script>
435 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 440 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){
436 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o), 441 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o),
437 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m) 442 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m)
438 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga'); 443 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
439 444
440 ga('create', 'UA-12345-01', 'auto'); 445 ga('create', 'UA-12345-01', 'auto');
441 ga('send', 'pageview'); 446 ga('send', 'pageview');
442 </script> 447 </script>
443 448
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698