OLD | NEW |
(Empty) | |
| 1 {% from 'build_line.html' import build_table %} |
| 2 {% import 'forms.html' as forms %} |
| 3 |
| 4 {% extends "layout.html" %} |
| 5 {%- block header %} |
| 6 <a href="http://www.chromium.org">Chromium</a><br/> |
| 7 {% endblock header -%} |
| 8 {% block content %} |
| 9 |
| 10 <h1><a href="{{ path_to_root }}waterfall?show={{ name }}">Builder: {{ name }}</a
></h1> |
| 11 |
| 12 <div class="column"> |
| 13 |
| 14 {% if current %} |
| 15 <h2>Currently Building:</h2> |
| 16 <ul> |
| 17 {% for b in current %} |
| 18 <li><a href="{{ b.link }}">{{ b.num }}</a> |
| 19 {% if b.when %} |
| 20 ETA: {{ b.when_time }} [{{ b.when }}] |
| 21 {% endif %} |
| 22 |
| 23 {{ b.current_step }} |
| 24 |
| 25 {% if authz.advertiseAction('stopBuild') %} |
| 26 {{ forms.stop_build(b.stop_url, authz, on_all=False, short=True, label='Bu
ild') }} |
| 27 {% endif %} |
| 28 </li> |
| 29 {% endfor %} |
| 30 </ul> |
| 31 {% else %} |
| 32 <h2>No current builds</h2> |
| 33 {% endif %} |
| 34 |
| 35 {% if pending %} |
| 36 <h2>Pending Build Requests:</h2> |
| 37 <ul> |
| 38 {% for b in pending %} |
| 39 <li><small>({{ b.when }}, waiting {{ b.delay }})</small> |
| 40 |
| 41 {% if authz.advertiseAction('cancelPendingBuild') %} |
| 42 {{ forms.cancel_pending_build(builder_url+"/cancelbuild", authz, short=Tru
e, id=b.id) }} |
| 43 {% endif %} |
| 44 |
| 45 {% if b.num_changes < 4 %} |
| 46 {% for c in b.changes %}{{ c.revision|longrev(c.repo) }} |
| 47 (<a href="{{ c.url }}">{{ c.who }}</a>){% if not loop.last %},{% endif %
} |
| 48 {% endfor %} |
| 49 {% else %} |
| 50 ({{ b.num_changes }} changes) |
| 51 {% endif %} |
| 52 |
| 53 </li> |
| 54 {% endfor %} |
| 55 </ul> |
| 56 |
| 57 {% else %} |
| 58 <h2>No Pending Build Requests</h2> |
| 59 {% endif %} |
| 60 |
| 61 <h2>Recent Builds:</h2> |
| 62 |
| 63 {{ build_table(recent) }} |
| 64 |
| 65 </div> |
| 66 <div class="column"> |
| 67 |
| 68 <h2>Buildslaves:</h2> |
| 69 <table class="info"> |
| 70 {% if slaves %} |
| 71 <tr> |
| 72 <th>Name</th> |
| 73 <th>Status</th> |
| 74 <th>Admin</th> |
| 75 </tr> |
| 76 {% endif %} |
| 77 {% for s in slaves %} |
| 78 <tr class="{{ loop.cycle('alt', '') }}"> |
| 79 <td class="slavename"><b><a href="{{ s.link|e }}">{{ s.name|e }}</a></b></td> |
| 80 {% if s.connected %} |
| 81 <td class="success">connected</td> |
| 82 <td class="admin">{{ s.admin|email if s.admin else ""}}</td> |
| 83 {% else %} |
| 84 <td class="offline">offline</td> |
| 85 <td/> |
| 86 {% endif %} |
| 87 </tr> |
| 88 {% else %} |
| 89 <td>no slaves attached</td> |
| 90 {% endfor %} |
| 91 </table> |
| 92 |
| 93 {% if authz.advertiseAction('pingBuilder') %} |
| 94 <h2>Ping slaves</h2> |
| 95 {{ forms.ping_builder(builder_url+"/ping", authz) }} |
| 96 {% endif %} |
| 97 |
| 98 {% if authz.advertiseAction('forceBuild') %} |
| 99 <h2>Force build</h2> |
| 100 {{ forms.force_build(builder_url+"/force", authz, False) }} |
| 101 {% endif %} |
| 102 |
| 103 </div> |
| 104 |
| 105 {% endblock %} |
OLD | NEW |