hydra/src/HydraFrontend/root/index.tt

64 lines
1.7 KiB
Plaintext
Raw Normal View History

[% WRAPPER layout.tt title="Hydra Overview" %]
2008-11-10 10:18:50 +00:00
[% USE date %]
<h1>Queue</h1>
<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>
2008-11-10 10:18:50 +00:00
</thead>
<tbody>
2008-11-11 12:54:37 +00:00
[% FOREACH build IN scheduled -%]
<tr [% IF build.schedulingInfo.busy %]class="runningJob"[% END %] >
<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.system %]</tt></td>
<td>[% date.format(build.timestamp, '%Y-%m-%d %H:%M:%S') %]</td>
<td>[% build.description %]</td>
2008-11-10 10:18:50 +00:00
</tr>
[% END -%]
</tbody>
</table>
2008-10-28 12:44:36 +00:00
<h1>Job status</h1>
<p>Below are the latest builds for each job.</p>
2008-10-28 15:34:29 +00:00
<table class="tablesorter">
<thead>
2008-11-06 18:26:29 +00:00
<tr><th></th><th>#</th><th>Project</th><th>Job</th><th>System</th><th>Timestamp</th><th>Description</th></tr>
2008-10-28 15:34:29 +00:00
</thead>
<tbody>
[% FOREACH build IN latestBuilds -%]
[% INCLUDE "short-build-info.tt" %]
[% END -%]
</tbody>
2008-10-28 12:44:36 +00:00
</table>
<h1>All builds</h1>
2008-10-28 12:44:36 +00:00
<p>Number of builds: [% allBuilds.size %]</p>
2008-10-28 15:34:29 +00:00
<table class="tablesorter">
<thead>
2008-11-06 18:26:29 +00:00
<tr><th></th><th>#</th><th>Project</th><th>Job</th><th>System</th><th>Timestamp</th><th>Description</th></tr>
2008-10-28 15:34:29 +00:00
</thead>
<tbody>
[% FOREACH build IN allBuilds -%]
[% INCLUDE "short-build-info.tt" %]
[% END -%]
</tbody>
</table>
2008-11-09 00:48:36 +00:00
<h1>Projects</h1>
<ul>
[% FOREACH project IN projects -%]
<li><a href="[% c.uri_for('/project' project.name) %]"><tt>[% project.name %]</tt></a></li>
[% END -%]
</ul>
[% END %]