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

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: 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 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">
99 <ol id="steps" class="hide"> 99 <label for="showAll">All</label>
100 <input type="radio" name="hider" id="showStandard" checked>
101 <label for="showStandard">Standard</label>
102 <input type="radio" name="hider" id="showInteresting">
103 <label for="showInteresting">Interesting Only</label>
104 <ol id="steps" class="standard">
100 105
101 106
102 107
103 <li class="verbosity-Interesting"> 108 <li class="verbosity-Interesting">
104 <div class="status-Failure result"> 109 <div class="status-Failure result">
105 <b>Steps</b> 110 <b>Steps</b>
106 <span style="float:right" 111 <span style="float:right"
107 class="duration" 112 class="duration"
108 data-starttime="2016-03-14T10:00:01Z" 113 data-starttime="2016-03-14T10:00:01Z"
109 data-endtime="2016-03-14T11:00:18Z"> 114 data-endtime="2016-03-14T11:00:18Z">
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 </td></tr> 243 </td></tr>
239 </table> 244 </table>
240 245
241 </div> 246 </div>
242 247
243 248
244 </div> 249 </div>
245 </div> 250 </div>
246 <script language="javascript"> 251 <script language="javascript">
247 $(document).ready(function() { 252 $(document).ready(function() {
248 var check = function(checked) { 253
249 var things = $("#steps"); 254 var check = function(className) {
250 if (checked) { 255 $("#steps").removeClass("all standard interesting").addClass(className)
251 $("#steps").removeClass("hide"); 256 }
252 } else { 257
253 $("#steps").addClass("hide"); 258 $("#showInteresting").click(function(e) {
259 check("interesting");
260 });
261 $("#showStandard").click(function(e) {
262 check("standard");
263 });
264 $("#showAll").click(function(e) {
265 check("all");
266 });
267
268 $("input[name='hider']").each(function(){
269 if ($(this).prop("checked")) {
270 $(this).click();
254 } 271 }
255 var numHidden = $(".verbosity-Hidden").length;
256 if (numHidden > 0) {
257 $("#numHidden").text("(" + numHidden + " hidden)");
258 } else {
259 $("#numHidden").text("");
260 }
261 };
262
263 check($("#showHidden").is(":checked"));
264 $("#showHidden").click(function(e) {
265 check($(this).is(":checked"));
266 }); 272 });
267 }); 273 });
268 </script> 274 </script>
269 275
270 <footer> 276 <footer>
271 <hr> 277 <hr>
272 <a href="https://github.com/luci">luci</a>, 278 <a href="https://github.com/luci">luci</a>,
273 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 279 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> 280 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
275 </footer> 281 </footer>
(...skipping 20 matching lines...) Expand all
296 <script> 302 <script>
297 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 303 (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), 304 (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) 305 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'); 306 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
301 307
302 ga('create', 'UA-12345-01', 'auto'); 308 ga('create', 'UA-12345-01', 'auto');
303 ga('send', 'pageview'); 309 ga('send', 'pageview');
304 </script> 310 </script>
305 311
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698