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

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"><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 <li class="verbosity-Interesting"> 90 <li class="verbosity-Interesting">
87 <div class="status-Failure result"> 91 <div class="status-Failure result">
88 <b>Steps</b> 92 <b>Steps</b>
89 93
90 </div> 94 </div>
91 <ul> 95 <ul>
92 96
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 </td></tr> 344 </td></tr>
341 </table> 345 </table>
342 346
343 </div> 347 </div>
344 348
345 349
346 </div> 350 </div>
347 </div> 351 </div>
348 <script language="javascript"> 352 <script language="javascript">
349 $(document).ready(function() { 353 $(document).ready(function() {
350 var check = function(checked) { 354
351 var things = $("#steps"); 355 var check = function(filter) {
352 if (checked) { 356 $("#steps").removeClass("all standard interesting").addClass(filter)
353 $("#steps").removeClass("hide"); 357 }
354 } else { 358
355 $("#steps").addClass("hide"); 359 $("#showInteresting").click(function(e) {
360 check("interesting");
361 });
362 $("#showStandard").click(function(e) {
363 check("standard");
364 });
365 $("#showAll").click(function(e) {
366 check("all");
367 });
368
369 $("input[name='hider']").each(function(){
370 if ($(this).prop("checked") == true) {
371 $(this).click();
356 } 372 }
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 }); 373 });
369 }); 374 });
370 </script> 375 </script>
371 376
372 <footer> 377 <footer>
373 <hr> 378 <hr>
374 <a href="https://github.com/luci">luci</a>, 379 <a href="https://github.com/luci">luci</a>,
375 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 380 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> 381 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
377 </footer> 382 </footer>
(...skipping 20 matching lines...) Expand all
398 <script> 403 <script>
399 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 404 (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), 405 (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) 406 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'); 407 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
403 408
404 ga('create', 'UA-12345-01', 'auto'); 409 ga('create', 'UA-12345-01', 'auto');
405 ga('send', 'pageview'); 410 ga('send', 'pageview');
406 </script> 411 </script>
407 412
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698