This commit is contained in:
Eelco Dolstra
2008-11-11 14:45:33 +00:00
parent ecd0ba74e9
commit 632bb24687
5 changed files with 77 additions and 20 deletions

View File

@@ -1,8 +1,15 @@
[% WRAPPER layout.tt title="Hydra Overview" %]
[% USE date %]
<h1>Queue</h1>
[% IF scheduled.size == 0 %]
<p>The queue is empty.</p>
[% ELSE %]
<table class="tablesorter">
<thead>
<tr><th>#</th><th>Priority</th><th>Project</th><th>Job</th><th>System</th><th>Timestamp</th><th>Description</th></tr>
@@ -13,7 +20,7 @@
<td><a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a></td>
<td>[% build.schedulingInfo.priority %]</td>
<td><tt>[% build.project.name %]</tt></td>
<td><tt>[% build.jobset.name %]</tt></td>
<td><tt>[% build.attrname %]</tt></td>
<td><tt>[% build.system %]</tt></td>
<td>[% date.format(build.timestamp, '%Y-%m-%d %H:%M:%S') %]</td>
<td>[% build.description %]</td>
@@ -22,6 +29,9 @@
</tbody>
</table>
[% END %]
<h1>Job status</h1>
<p>Below are the latest builds for each job.</p>
@@ -37,6 +47,7 @@
</tbody>
</table>
<h1>All builds</h1>
<p>Number of builds: [% allBuilds.size %]</p>
@@ -52,6 +63,7 @@
</tbody>
</table>
<h1>Projects</h1>
<ul>
@@ -60,4 +72,5 @@
[% END -%]
</ul>
[% END %]