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

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

Powered by Google App Engine
This is Rietveld 408576698