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

Side by Side Diff: milo/appengine/frontend/expectations/buildbot.build-Debug_page-_CrWinGoma_30608.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 Success 8 Success
9 9
10 - 10 -
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 </ul> 101 </ul>
102 102
103 103
104 104
105 105
106 106
107 107
108 108
109 <h2>Steps and Logfiles:</h2> 109 <h2>Steps and Logfiles:</h2>
110 <input type="checkbox" id="showHidden"> 110 Show:
111 <label for="showHidden">Show hidden <span id="numHidden"></span></label> 111 <input type="radio" name="hider" id="showAll"><label for="showAll">All</ label>
112 <ol id="steps" class="hide"> 112 <input type="radio" name="hider" id="showStandard" checked><label for="s howStandard">Standard</label>
113 <input type="radio" name="hider" id="showFail"><label for="showFail">Fai lure</label>
114 <ol id="steps" class="standard">
113 115
114 116
115 117
116 118
117 119
118 120
119 <li class="verbosity-Normal"> 121 <li class="verbosity-Normal">
120 <div class="status-Success result"> 122 <div class="status-Success result">
121 <b>steps</b> 123 <b>steps</b>
122 <span style="float:right" 124 <span style="float:right"
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1329 1331
1330 </li> 1332 </li>
1331 1333
1332 </ol> 1334 </ol>
1333 </div> 1335 </div>
1334 1336
1335 </div> 1337 </div>
1336 </div> 1338 </div>
1337 <script language="javascript"> 1339 <script language="javascript">
1338 $(document).ready(function() { 1340 $(document).ready(function() {
1339 var check = function(checked) { 1341
1342 var check = function(filter) {
1340 var things = $("#steps"); 1343 var things = $("#steps");
1341 if (checked) { 1344 if (filter == "fail") {
1342 $("#steps").removeClass("hide"); 1345 $("#steps").removeClass("standard");
1346 $("#steps").removeClass("all");
1347 $("#steps").addClass("fail");
1348 } else if (filter == "all") {
1349 $("#steps").removeClass("standard");
1350 $("#steps").addClass("all");
1351 $("#steps").removeClass("fail");
1343 } else { 1352 } else {
1344 $("#steps").addClass("hide"); 1353
1345 } 1354 $("#steps").removeClass("all");
1346 var numHidden = $(".verbosity-Hidden").length; 1355 $("#steps").addClass("standard");
1347 if (numHidden > 0) { 1356 $("#steps").removeClass("fail");
1348 $("#numHidden").text("(" + numHidden + " hidden)");
1349 } else {
1350 $("#numHidden").text("");
1351 } 1357 }
1352 }; 1358 };
1353 1359
1354 check($("#showHidden").is(":checked")); 1360 check($("#showFail").is(":checked"), "standard");
1355 $("#showHidden").click(function(e) { 1361
1356 check($(this).is(":checked")); 1362 $("#showFail").click(function(e) {
1363 check("fail");
1364 });
1365 $("#showStandard").click(function(e) {
1366 check("standard");
1367 });
1368 $("#showAll").click(function(e) {
1369 check("all");
1357 }); 1370 });
1358 }); 1371 });
1359 </script> 1372 </script>
1360 1373
1361 <footer> 1374 <footer>
1362 <hr> 1375 <hr>
1363 <a href="https://github.com/luci">luci</a>, 1376 <a href="https://github.com/luci">luci</a>,
1364 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 1377 working for the <a href="https://chromium.org/">Chromium</a> project.<br>
1365 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b> 1378 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
1366 </footer> 1379 </footer>
(...skipping 20 matching lines...) Expand all
1387 <script> 1400 <script>
1388 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 1401 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){
1389 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o), 1402 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o),
1390 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m) 1403 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m)
1391 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga'); 1404 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
1392 1405
1393 ga('create', 'UA-12345-01', 'auto'); 1406 ga('create', 'UA-12345-01', 'auto');
1394 ga('send', 'pageview'); 1407 ga('send', 'pageview');
1395 </script> 1408 </script>
1396 1409
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698