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

Side by Side Diff: masters/master.tryserver.blink/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 {% 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 <h1> 7 <h1>
8 Builder <a href="{{ path_to_builder }}">{{ b.getBuilder().getName() }}</a> 8 Builder <a href="{{ path_to_builder }}">{{ b.getBuilder().getName() }}</a>
9 Build #{{ b.getNumber() }} 9 Build #{{ b.getNumber() }}
10 </h1> 10 </h1>
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 {% set nest_level = step_nest %} 126 {% set nest_level = step_nest %}
127 127
128 <div class="{{ s.css_class }} result"> 128 <div class="{{ s.css_class }} result">
129 <a href="{{ s.link }}">{{ s.name }}</a> 129 <a href="{{ s.link }}">{{ s.name }}</a>
130 {{ s.text }}&nbsp;<span style="float:right">{{ '( ' + s.time_to_run + ' )' if s.time_to_run else '' }}</span> 130 {{ s.text }}&nbsp;<span style="float:right">{{ '( ' + s.time_to_run + ' )' if s.time_to_run else '' }}</span>
131 </div> 131 </div>
132 132
133 <ul> 133 <ul>
134 {% set item_class = cycler('alt', '') %} 134 {% set item_class = cycler('alt', '') %}
135 {% for l in s.logs %} 135 {% for l in s.logs %}
136 <li class="{{ item_class.next() }}"><a href="{{ l.link }}">{{ l.name }}< /a></li> 136 <li class="{{ item_class.next() }}">
137 <a href="{{ l.link }}">{{ l.name }}</a>
138 {% if s.aliases %}
139 {% for a in s.aliases.get(l.name, ()) %}
140 <a href="{{ a.url }}">[{{ a.text }}]</a>
141 {% endfor %}
142 {% endif %}
143 </li>
137 {% else %} 144 {% else %}
138 <li class="{{ item_class.next() }}">- no logs -</li> 145 <li class="{{ item_class.next() }}">- no logs -</li>
139 {% endfor %} 146 {% endfor %}
140 147
141 {% for u in s.urls %} 148 {% for u in s.urls %}
142 <li class="{{ item_class.next() }}"><a href="{{ u.url }}">{{ u.logname } }</a></li> 149 <li class="{{ item_class.next() }}">
150 <a href="{{ u.url }}">{{ u.logname }}</a>
151 {% if s.aliases %}
152 {% for a in s.aliases.get(u.logname, ()) %}
153 <a href="{{ a.url }}">[{{ a.text }}]</a>
154 {% endfor %}
155 {% endif %}
156 </li>
143 {% endfor %} 157 {% endfor %}
144 </ul> 158 </ul>
145 </li> 159 </li>
146 {% endfor %} 160 {% endfor %}
147 161
148 {# Close out all open indentation sections. #} 162 {# Close out all open indentation sections. #}
149 {% for _ in range(-1, nest_level) %} 163 {% for _ in range(-1, nest_level) %}
150 </li></ol> 164 </li></ol>
151 {% endfor %} 165 {% endfor %}
152 166
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 {{ change(c.asDict()) }} 233 {{ change(c.asDict()) }}
220 </li> 234 </li>
221 {% else %} 235 {% else %}
222 <li>no changes</li> 236 <li>no changes</li>
223 {% endfor %} 237 {% endfor %}
224 </ol> 238 </ol>
225 </div> 239 </div>
226 {% endif %} 240 {% endif %}
227 241
228 {% endblock %} 242 {% endblock %}
OLDNEW
« no previous file with comments | « masters/master.chromiumos/templates/build.html ('k') | masters/master.tryserver.chromium.linux/templates/build.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698