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

Side by Side Diff: masters/master.tryserver.chromium.linux/templates/build.html

Issue 2489813002: Revert of Adding gantt chart to Build Status page on Buildbot Masters (Closed)
Patch Set: Created 4 years, 1 month 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 {% extends "layout.html" %} 1 {% extends "layout.html" %}
2 {% import 'forms.html' as forms %} 2 {% import 'forms.html' as forms %}
3 {% from "change_macros.html" import change with context %} 3 {% from "change_macros.html" import change with context %}
4 4
5 {% block content %} 5 {% block content %}
6 6
7 <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></ script>
8 <script type="text/javascript" src="/gantt_chart.js"></script>
9 <script type="text/javascript">
10 var rawSteps = [
11 {% for s in b.getSteps() %}
12 {'name': '{{ s.getName()|escapejs }}',
13 'start': new Date({{ s.getTimes()[0] }}*1000),
14 'end': new Date ({{ s.getTimes()[1] }}*1000)},
15 {% endfor %}
16 ];
17 </script>
18 <h1> 7 <h1>
19 Builder <a href="{{ path_to_builder }}">{{ b.getBuilder().getName() }}</a> 8 Builder <a href="{{ path_to_builder }}">{{ b.getBuilder().getName() }}</a>
20 Build #{{ b.getNumber() }} 9 Build #{{ b.getNumber() }}
21 </h1> 10 </h1>
22 <a href="https://chrome-logs-storage.appspot.com/browser/logs/{{ 11 <a href="https://chrome-logs-storage.appspot.com/browser/logs/{{
23 b.getProperty('mastername') }}/{{ b.getBuilder().getName() }}/{{ '%.7d' 12 b.getProperty('mastername') }}/{{ b.getBuilder().getName() }}/{{ '%.7d'
24 % b.getNumber() }}/" title="List of log files cached on Google Cloud 13 % b.getNumber() }}/" title="List of log files cached on Google Cloud
25 Storage" class="BuildHeader">Cached logs</a> 14 Storage" class="BuildHeader">Cached logs</a>
26 15
27 <div class="column"> 16 <div class="column">
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 </li> 178 </li>
190 {% endfor %} 179 {% endfor %}
191 </ul> 180 </ul>
192 </li> 181 </li>
193 {% endfor %} 182 {% endfor %}
194 183
195 {# Close out all open indentation sections. #} 184 {# Close out all open indentation sections. #}
196 {% for _ in range(-1, nest_level) %} 185 {% for _ in range(-1, nest_level) %}
197 </li></ol> 186 </li></ol>
198 {% endfor %} 187 {% endfor %}
199 <div> 188
200 <button type="button" onclick="toggleChart(rawSteps);">
201 SHOW/HIDE Gantt Chart
202 </button>
203 <div id="chart_div"></div>
204 </div>
205 </div> 189 </div>
206 <div class="column"> 190 <div class="column">
207 191
208 <h2>Build Properties:</h2> 192 <h2>Build Properties:</h2>
209 193
210 <table class="info BuildProperties" width="100%"> 194 <table class="info BuildProperties" width="100%">
211 <tr><th>Name</th><th>Value</th><th>Source</th></tr> 195 <tr><th>Name</th><th>Value</th><th>Source</th></tr>
212 196
213 {% set rietveld_url = [] %} 197 {% set rietveld_url = [] %}
214 {% for p in properties %} 198 {% for p in properties %}
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 {{ change(c.asDict()) }} 263 {{ change(c.asDict()) }}
280 </li> 264 </li>
281 {% else %} 265 {% else %}
282 <li>no changes</li> 266 <li>no changes</li>
283 {% endfor %} 267 {% endfor %}
284 </ol> 268 </ol>
285 </div> 269 </div>
286 {% endif %} 270 {% endif %}
287 271
288 {% endblock %} 272 {% endblock %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698