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

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

Issue 2886353002: Milo: Add an option to hide green steps (Closed)
Patch Set: 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><label for="s howStandard">Standard</label>
83 <input type="radio" name="hider" id="showFail"><label for="showFail">Fai lure</label>
84 <ol id="steps" class="standard">
83 85
84 86
85 87
86 <li class="verbosity-Interesting"> 88 <li class="verbosity-Interesting">
87 <div class="status-Failure result"> 89 <div class="status-Failure result">
88 <b>Steps</b> 90 <b>Steps</b>
89 <span style="float:right" 91 <span style="float:right"
90 class="duration" 92 class="duration"
91 data-starttime="2016-03-14T10:00:01Z" 93 data-starttime="2016-03-14T10:00:01Z"
92 data-endtime="2016-03-14T11:00:18Z"> 94 data-endtime="2016-03-14T11:00:18Z">
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 </td></tr> 281 </td></tr>
280 </table> 282 </table>
281 283
282 </div> 284 </div>
283 285
284 286
285 </div> 287 </div>
286 </div> 288 </div>
287 <script language="javascript"> 289 <script language="javascript">
288 $(document).ready(function() { 290 $(document).ready(function() {
289 var check = function(checked) { 291
292 var check = function(filter) {
290 var things = $("#steps"); 293 var things = $("#steps");
291 if (checked) { 294 if (filter == "fail") {
292 $("#steps").removeClass("hide"); 295 $("#steps").removeClass("standard");
296 $("#steps").removeClass("all");
297 $("#steps").addClass("fail");
298 } else if (filter == "all") {
299 $("#steps").removeClass("standard");
300 $("#steps").addClass("all");
301 $("#steps").removeClass("fail");
293 } else { 302 } else {
294 $("#steps").addClass("hide"); 303
295 } 304 $("#steps").removeClass("all");
296 var numHidden = $(".verbosity-Hidden").length; 305 $("#steps").addClass("standard");
297 if (numHidden > 0) { 306 $("#steps").removeClass("fail");
298 $("#numHidden").text("(" + numHidden + " hidden)");
299 } else {
300 $("#numHidden").text("");
301 } 307 }
302 }; 308 };
303 309
304 check($("#showHidden").is(":checked")); 310 check($("#showFail").is(":checked"), "standard");
305 $("#showHidden").click(function(e) { 311
306 check($(this).is(":checked")); 312 $("#showFail").click(function(e) {
313 check("fail");
314 });
315 $("#showStandard").click(function(e) {
316 check("standard");
317 });
318 $("#showAll").click(function(e) {
319 check("all");
307 }); 320 });
308 }); 321 });
309 </script> 322 </script>
310 323
311 <footer> 324 <footer>
312 <hr> 325 <hr>
313 <a href="https://github.com/luci">luci</a>, 326 <a href="https://github.com/luci">luci</a>,
314 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 327 working for the <a href="https://chromium.org/">Chromium</a> project.<br>
315 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b> 328 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
316 </footer> 329 </footer>
(...skipping 20 matching lines...) Expand all
337 <script> 350 <script>
338 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 351 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){
339 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o), 352 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o),
340 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m) 353 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m)
341 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga'); 354 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
342 355
343 ga('create', 'UA-12345-01', 'auto'); 356 ga('create', 'UA-12345-01', 'auto');
344 ga('send', 'pageview'); 357 ga('send', 'pageview');
345 </script> 358 </script>
346 359
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698