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

Side by Side Diff: milo/appengine/frontend/expectations/swarming.build-build-running-logdog.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 Running 8 Running
9 9
10 - 10 -
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 71
72 72
73 </ul> 73 </ul>
74 74
75 75
76 76
77 77
78 78
79 <h2>Steps and Logfiles:</h2> 79 <h2>Steps and Logfiles:</h2>
80 <input type="checkbox" id="showHidden"> 80 Show:
81 <label for="showHidden">Show hidden <span id="numHidden"></span></label> 81 <input type="radio" name="hider" id="showAll">
82 <ol id="steps" class="hide"> 82 <label for="showAll">All</label>
83 <input type="radio" name="hider" id="showStandard" checked>
84 <label for="showStandard">Standard</label>
85 <input type="radio" name="hider" id="showInteresting">
86 <label for="showInteresting">Interesting Only</label>
87 <ol id="steps" class="standard">
83 88
84 89
85 90
86 <li class="verbosity-Hidden"> 91 <li class="verbosity-Hidden">
87 <div class="status-Running result"> 92 <div class="status-Running result">
88 <b>Steps</b> 93 <b>Steps</b>
89 <span style="float:right" 94 <span style="float:right"
90 class="duration" 95 class="duration"
91 data-starttime="2016-03-14T10:00:01Z" 96 data-starttime="2016-03-14T10:00:01Z"
92 data-endtime="0001-01-01T00:00:00Z"> 97 data-endtime="0001-01-01T00:00:00Z">
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 </td></tr> 242 </td></tr>
238 </table> 243 </table>
239 244
240 </div> 245 </div>
241 246
242 247
243 </div> 248 </div>
244 </div> 249 </div>
245 <script language="javascript"> 250 <script language="javascript">
246 $(document).ready(function() { 251 $(document).ready(function() {
247 var check = function(checked) { 252
248 var things = $("#steps"); 253 var check = function(className) {
249 if (checked) { 254 $("#steps").removeClass("all standard interesting").addClass(className)
250 $("#steps").removeClass("hide"); 255 }
251 } else { 256
252 $("#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")) {
269 $(this).click();
253 } 270 }
254 var numHidden = $(".verbosity-Hidden").length;
255 if (numHidden > 0) {
256 $("#numHidden").text("(" + numHidden + " hidden)");
257 } else {
258 $("#numHidden").text("");
259 }
260 };
261
262 check($("#showHidden").is(":checked"));
263 $("#showHidden").click(function(e) {
264 check($(this).is(":checked"));
265 }); 271 });
266 }); 272 });
267 </script> 273 </script>
268 274
269 <footer> 275 <footer>
270 <hr> 276 <hr>
271 <a href="https://github.com/luci">luci</a>, 277 <a href="https://github.com/luci">luci</a>,
272 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>
273 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>
274 </footer> 280 </footer>
(...skipping 20 matching lines...) Expand all
295 <script> 301 <script>
296 (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(){
297 (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),
298 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)
299 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga'); 305 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
300 306
301 ga('create', 'UA-12345-01', 'auto'); 307 ga('create', 'UA-12345-01', 'auto');
302 ga('send', 'pageview'); 308 ga('send', 'pageview');
303 </script> 309 </script>
304 310
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698