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

Side by Side Diff: third_party/buildbot_8_4p1/buildbot/status/web/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
« no previous file with comments | « third_party/buildbot_8_4p1/buildbot/status/web/build.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 {% endif %} 125 {% endif %}
126 {% set nest_level = step_nest %} 126 {% set nest_level = step_nest %}
127 <div class="{{ s.css_class }} result"> 127 <div class="{{ s.css_class }} result">
128 <a href="{{ s.link }}">{{ s.name }}</a> 128 <a href="{{ s.link }}">{{ s.name }}</a>
129 {{ s.text }}&nbsp;<span style="float:right">{{ '( ' + s.time_to_run + ' )' i f s.time_to_run else '' }}</span> 129 {{ s.text }}&nbsp;<span style="float:right">{{ '( ' + s.time_to_run + ' )' i f s.time_to_run else '' }}</span>
130 </div> 130 </div>
131 131
132 <ul> 132 <ul>
133 {% set item_class = cycler('alt', '') %} 133 {% set item_class = cycler('alt', '') %}
134 {% for l in s.logs %} 134 {% for l in s.logs %}
135 <li class="{{ item_class.next() }}"><a href="{{ l.link }}">{{ l.name }}</a ></li> 135 <li class="{{ item_class.next() }}">
136 <a href="{{ l.link }}">{{ l.name }}</a>
137 {% if s.aliases %}
138 {% for a in s.aliases.get(l.name, ()) %}
139 <a href="{{ a.url }}">[{{ a.text }}]</a>
140 {% endfor %}
141 {% endif %}
142 </li>
136 {% else %} 143 {% else %}
137 <li class="{{ item_class.next() }}">- no logs -</li> 144 <li class="{{ item_class.next() }}">- no logs -</li>
138 {% endfor %} 145 {% endfor %}
139 146
140 {% for u in s.urls %} 147 {% for u in s.urls %}
141 <li class="{{ item_class.next() }}"><a href="{{ u.url }}">{{ u.logname }}< /a></li> 148 <li class="{{ item_class.next() }}">
149 <a href="{{ u.url }}">{{ u.logname }}</a>
150 {% if s.aliases %}
151 {% for a in s.aliases.get(u.logname, ()) %}
152 <a href="{{ a.url }}">[{{ a.text }}]</a>
153 {% endfor %}
154 {% endif %}
155 </li>
142 {% endfor %} 156 {% endfor %}
143 </ul> 157 </ul>
144 {% endfor %} 158 {% endfor %}
145 159
146 {# Close out all open indentation sections. #} 160 {# Close out all open indentation sections. #}
147 {% for _ in range(-1, nest_level) %} 161 {% for _ in range(-1, nest_level) %}
148 </li></ol> 162 </li></ol>
149 {% endfor %} 163 {% endfor %}
150 164
151 </div> 165 </div>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 {{ change(c.asDict()) }} 224 {{ change(c.asDict()) }}
211 </li> 225 </li>
212 {% else %} 226 {% else %}
213 <li>no changes</li> 227 <li>no changes</li>
214 {% endfor %} 228 {% endfor %}
215 </ol> 229 </ol>
216 </div> 230 </div>
217 {% endif %} 231 {% endif %}
218 232
219 {% endblock %} 233 {% endblock %}
OLDNEW
« no previous file with comments | « third_party/buildbot_8_4p1/buildbot/status/web/build.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698