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

Side by Side Diff: milo/appengine/frontend/expectations/buildbot.build-Debug_page-_newline_1234.html

Issue 2886353002: Milo: Add an option to hide green steps (Closed)
Patch Set: 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 </ul> 99 </ul>
100 100
101 101
102 102
103 103
104 104
105 105
106 106
107 <h2>Steps and Logfiles:</h2> 107 <h2>Steps and Logfiles:</h2>
108 <input type="checkbox" id="showHidden"> 108 Show:
109 <label for="showHidden">Show hidden <span id="numHidden"></span></label> 109 <input type="radio" name="hider" id="showAll"><label for="showAll">All</ label>
110 <ol id="steps" class="hide"> 110 <input type="radio" name="hider" id="showStandard" checked><label for="s howStandard">Standard</label>
111 <input type="radio" name="hider" id="showFail"><label for="showFail">Fai lure</label>
112 <ol id="steps" class="standard">
111 113
112 114
113 115
114 116
115 117
116 118
117 <li class="verbosity-Normal"> 119 <li class="verbosity-Interesting">
118 <div class="status-Failure result"> 120 <div class="status-Failure result">
119 <b>steps</b> 121 <b>steps</b>
120 <span style="float:right" 122 <span style="float:right"
121 class="duration" 123 class="duration"
122 data-starttime="2016-06-27T23:30:30Z" 124 data-starttime="2016-06-27T23:30:30Z"
123 data-endtime="2016-06-27T23:50:06Z"> 125 data-endtime="2016-06-27T23:50:06Z">
124 ( 19 mins 36 secs )</span> 126 ( 19 mins 36 secs )</span>
125 <span> 127 <span>
126 <div class="step-text">line 1</div><div class="step-text">&nbsp; </div><div class="step-text">line 3</div> 128 <div class="step-text">line 1</div><div class="step-text">&nbsp; </div><div class="step-text">line 3</div>
127 </span> 129 </span>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 </td></tr> 172 </td></tr>
171 </table> 173 </table>
172 174
173 </div> 175 </div>
174 176
175 177
176 </div> 178 </div>
177 </div> 179 </div>
178 <script language="javascript"> 180 <script language="javascript">
179 $(document).ready(function() { 181 $(document).ready(function() {
180 var check = function(checked) { 182
183 var check = function(filter) {
181 var things = $("#steps"); 184 var things = $("#steps");
182 if (checked) { 185 if (filter == "fail") {
183 $("#steps").removeClass("hide"); 186 $("#steps").removeClass("standard");
187 $("#steps").removeClass("all");
188 $("#steps").addClass("fail");
189 } else if (filter == "all") {
190 $("#steps").removeClass("standard");
191 $("#steps").addClass("all");
192 $("#steps").removeClass("fail");
184 } else { 193 } else {
185 $("#steps").addClass("hide"); 194
186 } 195 $("#steps").removeClass("all");
187 var numHidden = $(".verbosity-Hidden").length; 196 $("#steps").addClass("standard");
188 if (numHidden > 0) { 197 $("#steps").removeClass("fail");
189 $("#numHidden").text("(" + numHidden + " hidden)");
190 } else {
191 $("#numHidden").text("");
192 } 198 }
193 }; 199 };
194 200
195 check($("#showHidden").is(":checked")); 201 check($("#showFail").is(":checked"), "standard");
196 $("#showHidden").click(function(e) { 202
197 check($(this).is(":checked")); 203 $("#showFail").click(function(e) {
204 check("fail");
205 });
206 $("#showStandard").click(function(e) {
207 check("standard");
208 });
209 $("#showAll").click(function(e) {
210 check("all");
198 }); 211 });
199 }); 212 });
200 </script> 213 </script>
201 214
202 <footer> 215 <footer>
203 <hr> 216 <hr>
204 <a href="https://github.com/luci">luci</a>, 217 <a href="https://github.com/luci">luci</a>,
205 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 218 working for the <a href="https://chromium.org/">Chromium</a> project.<br>
206 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b> 219 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
207 </footer> 220 </footer>
(...skipping 20 matching lines...) Expand all
228 <script> 241 <script>
229 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 242 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){
230 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o), 243 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEleme nt(o),
231 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m) 244 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefo re(a,m)
232 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga'); 245 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
233 246
234 ga('create', 'UA-12345-01', 'auto'); 247 ga('create', 'UA-12345-01', 'auto');
235 ga('send', 'pageview'); 248 ga('send', 'pageview');
236 </script> 249 </script>
237 250
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698