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

Side by Side Diff: masters/master.chromiumos/templates/build.html

Issue 1812163002: Add log and link aliasing to BuildBot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Unused variable. Created 4 years, 9 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 | Annotate | Revision Log
OLDNEW
1 # Originally from config for buildbot. 1 # Originally from config for buildbot.
2 # See third_party/buildbot_8_4p1/COPYING 2 # See third_party/buildbot_8_4p1/COPYING
3 3
4 {% extends "layout.html" %} 4 {% extends "layout.html" %}
5 {% import 'forms.html' as forms %} 5 {% import 'forms.html' as forms %}
6 {% from "change_macros.html" import change with context %} 6 {% from "change_macros.html" import change with context %}
7 7
8 {% block content %} 8 {% block content %}
9 9
10 <h1> 10 <h1>
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 <div class="{{ s.css_class }} result"> 138 <div class="{{ s.css_class }} result">
139 <a href="{{ s.link }}">{{ s.name }}</a> 139 <a href="{{ s.link }}">{{ s.name }}</a>
140 {% set previous_name = s.name %} 140 {% set previous_name = s.name %}
141 {{ s.text }}&nbsp;<span style="float:right">{{ '( ' + s.time_to_run + ' )' if s.time_to_run else '' }}</span> 141 {{ s.text }}&nbsp;<span style="float:right">{{ '( ' + s.time_to_run + ' )' if s.time_to_run else '' }}</span>
142 </div> 142 </div>
143 143
144 <ul> 144 <ul>
145 {% set item_class = cycler('alt', '') %} 145 {% set item_class = cycler('alt', '') %}
146 {% for l in s.logs %} 146 {% for l in s.logs %}
147 <li class="{{ item_class.next() }}"><a href="{{ l.link }}">{{ l.name }}< /a></li> 147 <li class="{{ item_class.next() }}">
148 <a href="{{ l.link }}">{{ l.name }}</a>
149 {% if s.aliases %}
150 {% for a in s.aliases.get(l.name, ()) %}
151 <a href="{{ a.url }}">[{{ a.text }}]</a>
152 {% endfor %}
153 {% endif %}
154 </li>
148 {% else %} 155 {% else %}
149 <li class="{{ item_class.next() }}">- no logs -</li> 156 <li class="{{ item_class.next() }}">- no logs -</li>
150 {% endfor %} 157 {% endfor %}
151 158
152 {% for u in s.urls %} 159 {% for u in s.urls %}
153 <li class="{{ item_class.next() }}"><a href="{{ u.url }}">{{ u.logname } }</a></li> 160 <li class="{{ item_class.next() }}">
161 <a href="{{ u.url }}">{{ u.logname }}</a>
162 {% if s.aliases %}
163 {% for a in s.aliases.get(u.logname, ()) %}
164 <a href="{{ a.url }}">[{{ a.text }}]</a>
165 {% endfor %}
166 {% endif %}
167 </li>
154 {% endfor %} 168 {% endfor %}
155 </ul> 169 </ul>
156 </li> 170 </li>
157 {% endfor %} 171 {% endfor %}
158 172
159 {# Close out all open indentation sections. #} 173 {# Close out all open indentation sections. #}
160 {% for _ in range(-1, nest_level) %} 174 {% for _ in range(-1, nest_level) %}
161 </li></ol> 175 </li></ol>
162 {% endfor %} 176 {% endfor %}
163 177
(...skipping 28 matching lines...) Expand all
192 <tr><td class="left">End</td><td>{{ end }}</td></tr> 206 <tr><td class="left">End</td><td>{{ end }}</td></tr>
193 {% endif %} 207 {% endif %}
194 <tr {{ 'class="alt"' if end else '' }}><td class="left">Elapsed</td><td>{{ ela psed }}</td></tr> 208 <tr {{ 'class="alt"' if end else '' }}><td class="left">Elapsed</td><td>{{ ela psed }}</td></tr>
195 </table> 209 </table>
196 210
197 </div> 211 </div>
198 212
199 <br style="clear:both"/> 213 <br style="clear:both"/>
200 214
201 {% endblock %} 215 {% endblock %}
OLDNEW
« no previous file with comments | « masters/master.chromium/templates/build.html ('k') | masters/master.tryserver.blink/templates/build.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698