| OLD | NEW |
| 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 <div class="bbp_placeholder" | 10 <div class="bbp_placeholder" |
| 11 id="{{ b.getProperty('mastername') }}:{{ b.getBuilder().getName() }}:{{ | 11 id="{{ b.getProperty('mastername') }}:{{ b.getBuilder().getName() }}:{{ |
| 12 b.getNumber() }}"> | 12 b.getNumber() }}"> |
| 13 </div> | 13 </div> |
| 14 </h1> | 14 </h1> |
| 15 | 15 |
| 16 <div class="column"> | 16 <div class="column"> |
| 17 | 17 |
| 18 {% if not b.isFinished() %} | 18 {% if not b.isFinished() %} |
| 19 <h2>Build In Progress:</h2> | 19 <h2>Build In Progress:</h2> |
| 20 | 20 |
| 21 {% if when_time %} | 21 {% if when_time %} |
| 22 <p>ETA: {{ when_time }} [{{ when }}]</p> | 22 <p>ETA: {{ when_time }} [{{ when }}]</p> |
| 23 {% endif %} | 23 {% endif %} |
| 24 | 24 |
| 25 {{ current_step }} | 25 {{ current_step }} |
| 26 | 26 |
| 27 {% if authz.advertiseAction('stopBuild') %} | 27 {% if authz.advertiseAction('stopBuild') %} |
| 28 <h2>Stop Build</h2> | 28 <h2>Stop Build</h2> |
| 29 {{ forms.stop_build(build_url+"/stop", authz, on_all=False, short=False, lab
el='This Build') }} | 29 {{ forms.stop_build(build_url+"/stop", authz, on_all=False, short=False, lab
el='This Build') }} |
| 30 {% endif %} | 30 {% endif %} |
| 31 {% else %} | 31 {% else %} |
| 32 <h2>Results:</h2> | 32 <h2>Results:</h2> |
| 33 | 33 |
| 34 <p class="{{ result_css }} result"> | 34 <p class="{{ result_css }} result"> |
| 35 {{ b.getText()|join(' ')|capitalize }} | 35 {{ b.getText()|join(' ')|capitalize }} |
| 36 </p> | 36 </p> |
| 37 | 37 |
| 38 {% if b.getTestResults() %} | 38 {% if b.getTestResults() %} |
| 39 <h3><a href="{{ tests_link }}"/></h3> | 39 <h3><a href="{{ tests_link }}"/></h3> |
| 40 {% endif %} | 40 {% endif %} |
| 41 {% endif %} | 41 {% endif %} |
| 42 | 42 |
| 43 <h2>SourceStamp:</h2> | 43 <h2>SourceStamp:</h2> |
| 44 | 44 |
| 45 <table class="info" width="100%"> | 45 <table class="info" width="100%"> |
| 46 {% set ss_class = cycler('alt','') %} | 46 {% set ss_class = cycler('alt','') %} |
| 47 | 47 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 76 {% if most_recent_rev_build %} | 76 {% if most_recent_rev_build %} |
| 77 <tr class="{{ ss_class.next() }}"><td class="left" colspan="2">Build of most r
ecent revision</td></tr> | 77 <tr class="{{ ss_class.next() }}"><td class="left" colspan="2">Build of most r
ecent revision</td></tr> |
| 78 {% endif %} | 78 {% endif %} |
| 79 | 79 |
| 80 </table> | 80 </table> |
| 81 | 81 |
| 82 {# | 82 {# |
| 83 # TODO: turn this into a table, or some other sort of definition-list | 83 # TODO: turn this into a table, or some other sort of definition-list |
| 84 # that doesn't take up quite so much vertical space | 84 # that doesn't take up quite so much vertical space |
| 85 #} | 85 #} |
| 86 | 86 |
| 87 <h2>BuildSlave:</h2> | 87 <h2>BuildSlave:</h2> |
| 88 | 88 |
| 89 {% if slave_url %} | 89 {% if slave_url %} |
| 90 <a href="{{ slave_url|e }}">{{ b.getSlavename()|e }}</a> | 90 <a href="{{ slave_url|e }}">{{ b.getSlavename()|e }}</a> |
| 91 {% else %} | 91 {% else %} |
| 92 {{ b.getSlavename()|e }} | 92 {{ b.getSlavename()|e }} |
| 93 {% endif %} | 93 {% endif %} |
| 94 | 94 |
| 95 <h2>Reason:</h2> | 95 <h2>Reason:</h2> |
| 96 <p> | 96 <p> |
| 97 {{ b.getReason()|e }} | 97 {{ b.getReason()|e }} |
| 98 </p> | 98 </p> |
| 99 | 99 |
| 100 <h2>Steps and Logfiles:</h2> | 100 <h2>Steps and Logfiles:</h2> |
| 101 | 101 |
| 102 {# | 102 {# |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 {% endfor %} | 164 {% endfor %} |
| 165 | 165 |
| 166 </div> | 166 </div> |
| 167 <div class="column"> | 167 <div class="column"> |
| 168 | 168 |
| 169 <h2>Build Properties:</h2> | 169 <h2>Build Properties:</h2> |
| 170 | 170 |
| 171 <table class="info BuildProperties" width="100%"> | 171 <table class="info BuildProperties" width="100%"> |
| 172 <tr><th>Name</th><th>Value</th><th>Source</th></tr> | 172 <tr><th>Name</th><th>Value</th><th>Source</th></tr> |
| 173 | 173 |
| 174 {% set rietveld_url = [] %} |
| 175 {% for p in properties %} |
| 176 {% if p.name == 'rietveld' and rietveld_url.append(p.value) %} |
| 177 {% endif %} |
| 178 {% endfor %} |
| 179 |
| 174 {% for p in properties %} | 180 {% for p in properties %} |
| 175 <tr class="{{ loop.cycle('alt', '') }}"> | 181 <tr class="{{ loop.cycle('alt', '') }}"> |
| 176 <td class="left">{{ p.name|e }}</td> | 182 <td class="left">{{ p.name|e }}</td> |
| 177 <td class="middle"><abbr title=" | 183 <td class="middle"><abbr title=" |
| 178 {% if p.short_value %} | 184 {% if p.short_value %} |
| 179 {{ p.short_value|e }} .. [property value too long] | 185 {{ p.short_value|e }} .. [property value too long] |
| 180 {% else %} | 186 {% else %} |
| 181 {{ p.value|e }} | 187 {{ p.value|e }} |
| 182 {% endif %}"> | 188 {% endif %}"> |
| 183 {% if p.short_value %} | 189 {% if p.short_value %} |
| 184 {{ p.short_value|e }} .. [property value too long] | 190 {{ p.short_value|e }} .. [property value too long] |
| 191 {% elif p.name == 'issue' and rietveld_url %} |
| 192 <a style="color: red" href="{{ (rietveld_url[-1] + '/' + p.value)|e }} ">{
{ p.value|e }}</a> |
| 185 {% else %} | 193 {% else %} |
| 186 {{ p.value|e }} | 194 {{ p.value|e }} |
| 187 {% endif %} | 195 {% endif %} |
| 188 </abbr></td> | 196 </abbr></td> |
| 189 <td>{{ p.source|e }}</td> | 197 <td>{{ p.source|e }}</td> |
| 190 </tr> | 198 </tr> |
| 191 {% endfor %} | 199 {% endfor %} |
| 192 | 200 |
| 193 </table> | 201 </table> |
| 194 | 202 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 215 </table> | 223 </table> |
| 216 | 224 |
| 217 {% if authz.advertiseAction('forceBuild') %} | 225 {% if authz.advertiseAction('forceBuild') %} |
| 218 <h3>Resubmit Build:</h3> | 226 <h3>Resubmit Build:</h3> |
| 219 {{ forms.rebuild_build(build_url+"/rebuild", authz, exactly, ss) }} | 227 {{ forms.rebuild_build(build_url+"/rebuild", authz, exactly, ss) }} |
| 220 {% endif %} | 228 {% endif %} |
| 221 | 229 |
| 222 </div> | 230 </div> |
| 223 | 231 |
| 224 <br style="clear:both"/> | 232 <br style="clear:both"/> |
| 225 | 233 |
| 226 {% if ss.changes %} | 234 {% if ss.changes %} |
| 227 <div class="column"> | 235 <div class="column"> |
| 228 <h2>All Changes:</h2> | 236 <h2>All Changes:</h2> |
| 229 <ol> | 237 <ol> |
| 230 {% for c in ss.changes %} | 238 {% for c in ss.changes %} |
| 231 <li><h3>Change #{{ c.number }}</h3> | 239 <li><h3>Change #{{ c.number }}</h3> |
| 232 {{ change(c.asDict()) }} | 240 {{ change(c.asDict()) }} |
| 233 </li> | 241 </li> |
| 234 {% else %} | 242 {% else %} |
| 235 <li>no changes</li> | 243 <li>no changes</li> |
| 236 {% endfor %} | 244 {% endfor %} |
| 237 </ol> | 245 </ol> |
| 238 </div> | 246 </div> |
| 239 {% endif %} | 247 {% endif %} |
| 240 | 248 |
| 241 {% endblock %} | 249 {% endblock %} |
| OLD | NEW |