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

Side by Side Diff: milo/appengine/frontend/expectations/swarming.build-build-patch-failure.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 Failed 8 Failed
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">
82 <ol id="steps" class="hide"> 82 <label for="showAll">All</label>
83 <input type="radio" name="hider" id="showStandard" checked>
84 <label for="showStandard">Standard</label>
85 <input type="radio" name="hider" id="showInteresting">
86 <label for="showInteresting">Interesting Only</label>
87 <ol id="steps" class="standard">
83 88
84 89
85 90
86 <li class="verbosity-Interesting"> 91 <li class="verbosity-Interesting">
87 <div class="status-Failure result"> 92 <div class="status-Failure result">
88 <b>Steps</b> 93 <b>Steps</b>
89 94
90 </div> 95 </div>
91 <ul> 96 <ul>
92 97
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 </td></tr> 345 </td></tr>
341 </table> 346 </table>
342 347
343 </div> 348 </div>
344 349
345 350
346 </div> 351 </div>
347 </div> 352 </div>
348 <script language="javascript"> 353 <script language="javascript">
349 $(document).ready(function() { 354 $(document).ready(function() {
350 var check = function(checked) { 355
351 var things = $("#steps"); 356 var check = function(className) {
352 if (checked) { 357 $("#steps").removeClass("all standard interesting").addClass(className)
353 $("#steps").removeClass("hide"); 358 }
354 } else { 359
355 $("#steps").addClass("hide"); 360 $("#showInteresting").click(function(e) {
361 check("interesting");
362 });
363 $("#showStandard").click(function(e) {
364 check("standard");
365 });
366 $("#showAll").click(function(e) {
367 check("all");
368 });
369
370 $("input[name='hider']").each(function(){
371 if ($(this).prop("checked")) {
372 $(this).click();
356 } 373 }
357 var numHidden = $(".verbosity-Hidden").length;
358 if (numHidden > 0) {
359 $("#numHidden").text("(" + numHidden + " hidden)");
360 } else {
361 $("#numHidden").text("");
362 }
363 };
364
365 check($("#showHidden").is(":checked"));
366 $("#showHidden").click(function(e) {
367 check($(this).is(":checked"));
368 }); 374 });
369 }); 375 });
370 </script> 376 </script>
371 377
372 <footer> 378 <footer>
373 <hr> 379 <hr>
374 <a href="https://github.com/luci">luci</a>, 380 <a href="https://github.com/luci">luci</a>,
375 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 381 working for the <a href="https://chromium.org/">Chromium</a> project.<br>
376 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b> 382 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
377 </footer> 383 </footer>
(...skipping 20 matching lines...) Expand all
398 <script> 404 <script>
399 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 405 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){
400 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o), 406 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o),
401 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m) 407 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m)
402 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga'); 408 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
403 409
404 ga('create', 'UA-12345-01', 'auto'); 410 ga('create', 'UA-12345-01', 'auto');
405 ga('send', 'pageview'); 411 ga('send', 'pageview');
406 </script> 412 </script>
407 413
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698