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

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: 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 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">
110 <ol id="steps" class="hide"> 110 <label for="showAll">All</label>
111 <input type="radio" name="hider" id="showStandard" checked>
112 <label for="showStandard">Standard</label>
113 <input type="radio" name="hider" id="showInteresting">
114 <label for="showInteresting">Interesting Only</label>
115 <ol id="steps" class="standard">
111 116
112 117
113 118
114 119
115 120
116 121
117 <li class="verbosity-Normal"> 122 <li class="verbosity-Interesting">
118 <div class="status-Failure result"> 123 <div class="status-Failure result">
119 <b>steps</b> 124 <b>steps</b>
120 <span style="float:right" 125 <span style="float:right"
121 class="duration" 126 class="duration"
122 data-starttime="2016-06-27T23:30:30Z" 127 data-starttime="2016-06-27T23:30:30Z"
123 data-endtime="2016-06-27T23:50:06Z"> 128 data-endtime="2016-06-27T23:50:06Z">
124 ( 19 mins 36 secs )</span> 129 ( 19 mins 36 secs )</span>
125 <span> 130 <span>
126 <div class="step-text">line 1</div><div class="step-text">&nbsp; </div><div class="step-text">line 3</div> 131 <div class="step-text">line 1</div><div class="step-text">&nbsp; </div><div class="step-text">line 3</div>
127 </span> 132 </span>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 </td></tr> 175 </td></tr>
171 </table> 176 </table>
172 177
173 </div> 178 </div>
174 179
175 180
176 </div> 181 </div>
177 </div> 182 </div>
178 <script language="javascript"> 183 <script language="javascript">
179 $(document).ready(function() { 184 $(document).ready(function() {
180 var check = function(checked) { 185
181 var things = $("#steps"); 186 var check = function(className) {
182 if (checked) { 187 $("#steps").removeClass("all standard interesting").addClass(className)
183 $("#steps").removeClass("hide"); 188 }
184 } else { 189
185 $("#steps").addClass("hide"); 190 $("#showInteresting").click(function(e) {
191 check("interesting");
192 });
193 $("#showStandard").click(function(e) {
194 check("standard");
195 });
196 $("#showAll").click(function(e) {
197 check("all");
198 });
199
200 $("input[name='hider']").each(function(){
201 if ($(this).prop("checked")) {
202 $(this).click();
186 } 203 }
187 var numHidden = $(".verbosity-Hidden").length;
188 if (numHidden > 0) {
189 $("#numHidden").text("(" + numHidden + " hidden)");
190 } else {
191 $("#numHidden").text("");
192 }
193 };
194
195 check($("#showHidden").is(":checked"));
196 $("#showHidden").click(function(e) {
197 check($(this).is(":checked"));
198 }); 204 });
199 }); 205 });
200 </script> 206 </script>
201 207
202 <footer> 208 <footer>
203 <hr> 209 <hr>
204 <a href="https://github.com/luci">luci</a>, 210 <a href="https://github.com/luci">luci</a>,
205 working for the <a href="https://chromium.org/">Chromium</a> project.<br> 211 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> 212 Page built: <b><span class="local-time" data-timestamp="-6792498672871">Satu rday, 03-Feb-01 04:05:06 UTC</span></b>
207 </footer> 213 </footer>
(...skipping 20 matching lines...) Expand all
228 <script> 234 <script>
229 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||functio n(){ 235 (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), 236 (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) 237 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'); 238 })(window,document,'script','https://www.google-analytics.com/analytics. js','ga');
233 239
234 ga('create', 'UA-12345-01', 'auto'); 240 ga('create', 'UA-12345-01', 'auto');
235 ga('send', 'pageview'); 241 ga('send', 'pageview');
236 </script> 242 </script>
237 243
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698