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

Side by Side Diff: milo/appengine/frontend/expectations/swarming.build-build-timeout.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 Infra Failure 8 Infra Failure
9 9
10 - 10 -
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 Recipe: <a href="https://chromium.googlesource.com/chromium/tools/buil d/&#43;/master/">infra/infra_continuous</a> 87 Recipe: <a href="https://chromium.googlesource.com/chromium/tools/buil d/&#43;/master/">infra/infra_continuous</a>
88 </li> 88 </li>
89 89
90 </ul> 90 </ul>
91 91
92 92
93 93
94 94
95 95
96 <h2>Steps and Logfiles:</h2> 96 <h2>Steps and Logfiles:</h2>
97 <input type="checkbox" id="showHidden"> 97 Show:
98 <label for="showHidden">Show hidden <span id="numHidden"></span></label> 98 <input type="radio" name="hider" id="showAll"><label for="showAll">All</ label>
99 <ol id="steps" class="hide"> 99 <input type="radio" name="hider" id="showStandard" checked><label for="s howStandard">Standard</label>
100 <input type="radio" name="hider" id="showFail"><label for="showFail">Fai lure</label>
101 <ol id="steps" class="standard">
100 102
101 103
102 104
103 <li class="verbosity-Interesting"> 105 <li class="verbosity-Interesting">
104 <div class="status-InfraFailure result"> 106 <div class="status-InfraFailure result">
105 <b>Steps</b> 107 <b>Steps</b>
106 <span style="float:right" 108 <span style="float:right"
107 class="duration" 109 class="duration"
108 data-starttime="2016-03-14T10:00:01Z" 110 data-starttime="2016-03-14T10:00:01Z"
109 data-endtime="2016-03-14T11:00:18Z"> 111 data-endtime="2016-03-14T11:00:18Z">
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 </td></tr> 246 </td></tr>
245 </table> 247 </table>
246 248
247 </div> 249 </div>
248 250
249 251
250 </div> 252 </div>
251 </div> 253 </div>
252 <script language="javascript"> 254 <script language="javascript">
253 $(document).ready(function() { 255 $(document).ready(function() {
254 var check = function(checked) { 256
257 var check = function(filter) {
255 var things = $("#steps"); 258 var things = $("#steps");
256 if (checked) { 259 if (filter == "fail") {
257 $("#steps").removeClass("hide"); 260 $("#steps").removeClass("standard");
261 $("#steps").removeClass("all");
262 $("#steps").addClass("fail");
263 } else if (filter == "all") {
264 $("#steps").removeClass("standard");
265 $("#steps").addClass("all");
266 $("#steps").removeClass("fail");
258 } else { 267 } else {
259 $("#steps").addClass("hide"); 268
260 } 269 $("#steps").removeClass("all");
261 var numHidden = $(".verbosity-Hidden").length; 270 $("#steps").addClass("standard");
262 if (numHidden > 0) { 271 $("#steps").removeClass("fail");
263 $("#numHidden").text("(" + numHidden + " hidden)");
264 } else {
265 $("#numHidden").text("");
266 } 272 }
267 }; 273 };
268 274
269 check($("#showHidden").is(":checked")); 275 check($("#showFail").is(":checked"), "standard");
270 $("#showHidden").click(function(e) { 276
271 check($(this).is(":checked")); 277 $("#showFail").click(function(e) {
278 check("fail");
279 });
280 $("#showStandard").click(function(e) {
281 check("standard");
282 });
283 $("#showAll").click(function(e) {
284 check("all");
272 }); 285 });
273 }); 286 });
274 </script> 287 </script>
275 288
276 <footer> 289 <footer>
277 <hr> 290 <hr>
278 <a href="https://github.com/luci">luci</a>, 291 <a href="https://github.com/luci">luci</a>,
279 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 292 working for the <a href="https://chromium.org/">Chromium</a> project.<br>
280 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b> 293 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
281 </footer> 294 </footer>
(...skipping 20 matching lines...) Expand all
302 <script> 315 <script>
303 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 316 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){
304 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o), 317 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o),
305 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m) 318 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m)
306 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga'); 319 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
307 320
308 ga('create', 'UA-12345-01', 'auto'); 321 ga('create', 'UA-12345-01', 'auto');
309 ga('send', 'pageview'); 322 ga('send', 'pageview');
310 </script> 323 </script>
311 324
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698