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

Side by Side Diff: masters/master.tryserver.blink/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 11
23 <div class="column"> 12 <div class="column">
24 13
25 {% if not b.isFinished() %} 14 {% if not b.isFinished() %}
26 <h2>Build In Progress:</h2> 15 <h2>Build In Progress:</h2>
27 16
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 </li> 160 </li>
172 {% endfor %} 161 {% endfor %}
173 </ul> 162 </ul>
174 </li> 163 </li>
175 {% endfor %} 164 {% endfor %}
176 165
177 {# Close out all open indentation sections. #} 166 {# Close out all open indentation sections. #}
178 {% for _ in range(-1, nest_level) %} 167 {% for _ in range(-1, nest_level) %}
179 </li></ol> 168 </li></ol>
180 {% endfor %} 169 {% endfor %}
181 <div> 170
182 <button type="button" onclick="toggleChart(rawSteps);">
183 SHOW/HIDE Gantt Chart
184 </button>
185 <div id="chart_div"></div>
186 </div>
187 </div> 171 </div>
188 <div class="column"> 172 <div class="column">
189 173
190 <h2>Build Properties:</h2> 174 <h2>Build Properties:</h2>
191 175
192 <table class="info BuildProperties" width="100%"> 176 <table class="info BuildProperties" width="100%">
193 <tr><th>Name</th><th>Value</th><th>Source</th></tr> 177 <tr><th>Name</th><th>Value</th><th>Source</th></tr>
194 178
195 {% for p in properties %} 179 {% for p in properties %}
196 <tr class="{{ loop.cycle('alt', '') }}"> 180 <tr class="{{ loop.cycle('alt', '') }}">
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 {{ change(c.asDict()) }} 237 {{ change(c.asDict()) }}
254 </li> 238 </li>
255 {% else %} 239 {% else %}
256 <li>no changes</li> 240 <li>no changes</li>
257 {% endfor %} 241 {% endfor %}
258 </ol> 242 </ol>
259 </div> 243 </div>
260 {% endif %} 244 {% endif %}
261 245
262 {% endblock %} 246 {% endblock %}
OLDNEW
« no previous file with comments | « masters/master.chromiumos/templates/build.html ('k') | masters/master.tryserver.chromium.linux/public_html/gantt_chart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698