2008-10-28 10:19:31 +00:00
|
|
|
[% WRAPPER layout.tt title="Hydra Overview" %]
|
|
|
|
[% USE date %]
|
|
|
|
|
|
|
|
<h1>All builds</h1>
|
|
|
|
|
|
|
|
<table>
|
2008-10-28 10:32:31 +00:00
|
|
|
<tr><th></th><th>Id</th><th>Attribute name</th><th>Timestamp</th><th>Description</th></tr>
|
2008-10-28 10:19:31 +00:00
|
|
|
[% FOREACH build IN builds -%]
|
|
|
|
<tr>
|
2008-10-28 10:32:31 +00:00
|
|
|
<td>
|
|
|
|
[% IF build.buildstatus == 0 %]
|
|
|
|
<img src="static/images/success.gif" />
|
|
|
|
[% ELSE %]
|
|
|
|
<img src="static/images/failure.gif" />
|
|
|
|
[% END %]
|
|
|
|
</td>
|
2008-10-28 10:19:31 +00:00
|
|
|
<td><a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a></td>
|
|
|
|
<td>[% build.name %]</td>
|
|
|
|
<td>[% date.format(build.timestamp, '%Y-%m-%d %H:%M:%S') %]</td>
|
|
|
|
<td>[% build.description %]</td>
|
|
|
|
</tr>
|
|
|
|
[% END -%]
|
|
|
|
</table>
|
|
|
|
|
|
|
|
[% END %]
|