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

Side by Side Diff: milo/appengine/frontend/expectations/swarming.build-build-running-logdog-no-annotation-stream.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 Pending 8 Pending
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 91
87 92
88 93
89 <li class="verbosity-Normal"> 94 <li class="verbosity-Normal">
90 <div class="status-Running result"> 95 <div class="status-Running result">
91 <b>Waiting...</b> 96 <b>Waiting...</b>
92 97
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 </td></tr> 143 </td></tr>
139 </table> 144 </table>
140 145
141 </div> 146 </div>
142 147
143 148
144 </div> 149 </div>
145 </div> 150 </div>
146 <script language="javascript"> 151 <script language="javascript">
147 $(document).ready(function() { 152 $(document).ready(function() {
148 var check = function(checked) { 153
149 var things = $("#steps"); 154 var check = function(className) {
150 if (checked) { 155 $("#steps").removeClass("all standard interesting").addClass(className)
151 $("#steps").removeClass("hide"); 156 }
152 } else { 157
153 $("#steps").addClass("hide"); 158 $("#showInteresting").click(function(e) {
159 check("interesting");
160 });
161 $("#showStandard").click(function(e) {
162 check("standard");
163 });
164 $("#showAll").click(function(e) {
165 check("all");
166 });
167
168 $("input[name='hider']").each(function(){
169 if ($(this).prop("checked")) {
170 $(this).click();
154 } 171 }
155 var numHidden = $(".verbosity-Hidden").length;
156 if (numHidden > 0) {
157 $("#numHidden").text("(" + numHidden + " hidden)");
158 } else {
159 $("#numHidden").text("");
160 }
161 };
162
163 check($("#showHidden").is(":checked"));
164 $("#showHidden").click(function(e) {
165 check($(this).is(":checked"));
166 }); 172 });
167 }); 173 });
168 </script> 174 </script>
169 175
170 <footer> 176 <footer>
171 <hr> 177 <hr>
172 <a href="https://github.com/luci">luci</a>, 178 <a href="https://github.com/luci">luci</a>,
173 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 179 working for the <a href="https://chromium.org/">Chromium</a> project.<br>
174 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b> 180 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
175 </footer> 181 </footer>
(...skipping 20 matching lines...) Expand all
196 <script> 202 <script>
197 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 203 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){
198 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o), 204 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o),
199 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m) 205 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m)
200 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga'); 206 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
201 207
202 ga('create', 'UA-12345-01', 'auto'); 208 ga('create', 'UA-12345-01', 'auto');
203 ga('send', 'pageview'); 209 ga('send', 'pageview');
204 </script> 210 </script>
205 211
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698