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

Side by Side Diff: masters/master.chromium/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 <div class="bbp_placeholder" 10 <div class="bbp_placeholder"
22 id="{{ b.getProperty('mastername') }}:{{ b.getBuilder().getName() }}:{{ 11 id="{{ b.getProperty('mastername') }}:{{ b.getBuilder().getName() }}:{{
23 b.getNumber() }}"> 12 b.getNumber() }}">
24 </div> 13 </div>
25 </h1> 14 </h1>
26 15
27 <div class="column"> 16 <div class="column">
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 {% endif %} 173 {% endif %}
185 </li> 174 </li>
186 {% endfor %} 175 {% endfor %}
187 </ul> 176 </ul>
188 {% endfor %} 177 {% endfor %}
189 178
190 {# Close out all open indentation sections. #} 179 {# Close out all open indentation sections. #}
191 {% for _ in range(-1, nest_level) %} 180 {% for _ in range(-1, nest_level) %}
192 </li></ol> 181 </li></ol>
193 {% endfor %} 182 {% endfor %}
194 <div> 183
195 <button type="button" onclick="toggleChart(rawSteps);">
196 SHOW/HIDE Gantt Chart
197 </button>
198 <div id="chart_div"></div>
199 </div>
200 </div> 184 </div>
201 <div class="column"> 185 <div class="column">
202 186
203 <h2>Build Properties:</h2> 187 <h2>Build Properties:</h2>
204 188
205 <table class="info BuildProperties" width="100%"> 189 <table class="info BuildProperties" width="100%">
206 <tr><th>Name</th><th>Value</th><th>Source</th></tr> 190 <tr><th>Name</th><th>Value</th><th>Source</th></tr>
207 191
208 {% set rietveld_url = [] %} 192 {% set rietveld_url = [] %}
209 {% for p in properties %} 193 {% for p in properties %}
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 {{ change(c.asDict()) }} 258 {{ change(c.asDict()) }}
275 </li> 259 </li>
276 {% else %} 260 {% else %}
277 <li>no changes</li> 261 <li>no changes</li>
278 {% endfor %} 262 {% endfor %}
279 </ol> 263 </ol>
280 </div> 264 </div>
281 {% endif %} 265 {% endif %}
282 266
283 {% endblock %} 267 {% endblock %}
OLDNEW
« no previous file with comments | « masters/master.chromium/public_html/gantt_chart.js ('k') | masters/master.chromiumos/public_html/gantt_chart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698