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

Side by Side Diff: milo/appengine/frontend/expectations/swarming.build-build-canceled.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 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-Failure result"> 106 <div class="status-Failure 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 </td></tr> 240 </td></tr>
239 </table> 241 </table>
240 242
241 </div> 243 </div>
242 244
243 245
244 </div> 246 </div>
245 </div> 247 </div>
246 <script language="javascript"> 248 <script language="javascript">
247 $(document).ready(function() { 249 $(document).ready(function() {
248 var check = function(checked) { 250
251 var check = function(filter) {
249 var things = $("#steps"); 252 var things = $("#steps");
250 if (checked) { 253 if (filter == "fail") {
251 $("#steps").removeClass("hide"); 254 $("#steps").removeClass("standard");
255 $("#steps").removeClass("all");
256 $("#steps").addClass("fail");
257 } else if (filter == "all") {
258 $("#steps").removeClass("standard");
259 $("#steps").addClass("all");
260 $("#steps").removeClass("fail");
252 } else { 261 } else {
253 $("#steps").addClass("hide"); 262
254 } 263 $("#steps").removeClass("all");
255 var numHidden = $(".verbosity-Hidden").length; 264 $("#steps").addClass("standard");
256 if (numHidden > 0) { 265 $("#steps").removeClass("fail");
257 $("#numHidden").text("(" + numHidden + " hidden)");
258 } else {
259 $("#numHidden").text("");
260 } 266 }
261 }; 267 };
262 268
263 check($("#showHidden").is(":checked")); 269 check($("#showFail").is(":checked"), "standard");
264 $("#showHidden").click(function(e) { 270
265 check($(this).is(":checked")); 271 $("#showFail").click(function(e) {
272 check("fail");
273 });
274 $("#showStandard").click(function(e) {
275 check("standard");
276 });
277 $("#showAll").click(function(e) {
278 check("all");
266 }); 279 });
267 }); 280 });
268 </script> 281 </script>
269 282
270 <footer> 283 <footer>
271 <hr> 284 <hr>
272 <a href="https://github.com/luci">luci</a>, 285 <a href="https://github.com/luci">luci</a>,
273 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 286 working for the <a href="https://chromium.org/">Chromium</a> project.<br>
274 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b> 287 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
275 </footer> 288 </footer>
(...skipping 20 matching lines...) Expand all
296 <script> 309 <script>
297 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 310 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){
298 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o), 311 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o),
299 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m) 312 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m)
300 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga'); 313 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
301 314
302 ga('create', 'UA-12345-01', 'auto'); 315 ga('create', 'UA-12345-01', 'auto');
303 ga('send', 'pageview'); 316 ga('send', 'pageview');
304 </script> 317 </script>
305 318
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698