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

Side by Side Diff: milo/appengine/frontend/expectations/swarming.build-build-link.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"><label for="showAll">All</ label>
82 <ol id="steps" class="hide"> 82 <input type="radio" name="hider" id="showStandard" checked>
83 <label for="showStandard">Standard</label>
84 <input type="radio" name="hider" id="showInteresting">
85 <label for="showInteresting">Interesting Only</label>
86 <ol id="steps" class="standard">
83 87
84 88
85 89
86 <li class="verbosity-Hidden"> 90 <li class="verbosity-Hidden">
87 <div class="status-Running result"> 91 <div class="status-Running result">
88 <b>Steps</b> 92 <b>Steps</b>
89 <span style="float:right" 93 <span style="float:right"
90 class="duration" 94 class="duration"
91 data-starttime="2016-03-14T10:00:01Z" 95 data-starttime="2016-03-14T10:00:01Z"
92 data-endtime="0001-01-01T00:00:00Z"> 96 data-endtime="0001-01-01T00:00:00Z">
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 </td></tr> 169 </td></tr>
166 </table> 170 </table>
167 171
168 </div> 172 </div>
169 173
170 174
171 </div> 175 </div>
172 </div> 176 </div>
173 <script language="javascript"> 177 <script language="javascript">
174 $(document).ready(function() { 178 $(document).ready(function() {
175 var check = function(checked) { 179
176 var things = $("#steps"); 180 var check = function(filter) {
177 if (checked) { 181 $("#steps").removeClass("all standard interesting").addClass(filter)
178 $("#steps").removeClass("hide"); 182 }
179 } else { 183
180 $("#steps").addClass("hide"); 184 $("#showInteresting").click(function(e) {
185 check("interesting");
186 });
187 $("#showStandard").click(function(e) {
188 check("standard");
189 });
190 $("#showAll").click(function(e) {
191 check("all");
192 });
193
194 $("input[name='hider']").each(function(){
195 if ($(this).prop("checked") == true) {
196 $(this).click();
181 } 197 }
182 var numHidden = $(".verbosity-Hidden").length;
183 if (numHidden > 0) {
184 $("#numHidden").text("(" + numHidden + " hidden)");
185 } else {
186 $("#numHidden").text("");
187 }
188 };
189
190 check($("#showHidden").is(":checked"));
191 $("#showHidden").click(function(e) {
192 check($(this).is(":checked"));
193 }); 198 });
194 }); 199 });
195 </script> 200 </script>
196 201
197 <footer> 202 <footer>
198 <hr> 203 <hr>
199 <a href="https://github.com/luci">luci</a>, 204 <a href="https://github.com/luci">luci</a>,
200 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 205 working for the <a href="https://chromium.org/">Chromium</a> project.<br>
201 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b> 206 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
202 </footer> 207 </footer>
(...skipping 20 matching lines...) Expand all
223 <script> 228 <script>
224 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 229 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){
225 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o), 230 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o),
226 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m) 231 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m)
227 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga'); 232 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
228 233
229 ga('create', 'UA-12345-01', 'auto'); 234 ga('create', 'UA-12345-01', 'auto');
230 ga('send', 'pageview'); 235 ga('send', 'pageview');
231 </script> 236 </script>
232 237
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698