* Improved the navigation bar: don't include all projects (since that
doesn't scale), and include links for jobset/job specific pages. The main page now lists the projects. * Overview pages for jobsets and jobs. * Links to the channels. * Jobsets are now defined and edited in a separate action.
This commit is contained in:
59
src/root/overview.tt
Normal file
59
src/root/overview.tt
Normal file
@ -0,0 +1,59 @@
|
||||
[% WRAPPER layout.tt title="Overview" %]
|
||||
[% PROCESS common.tt %]
|
||||
|
||||
|
||||
<h1>Hydra Overview</h1>
|
||||
|
||||
<p>Welcome to Hydra, the <a href="http://nixos.org/">Nix-based</a>
|
||||
continuous build system. Hydra continuously builds, tests and
|
||||
releases software packages from source repositories. <a
|
||||
href="http://nixos.org/hydra"><em>[Read more...]</em></a></p>
|
||||
|
||||
|
||||
<h2>Projects</h2>
|
||||
|
||||
<p>The following projects are hosted on this server:</p>
|
||||
|
||||
<table class="tablesorter">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOREACH p IN projects %]
|
||||
<tr class="clickable [% IF odd %] odd [% END; odd = !odd %]"
|
||||
onclick="window.location = '[% c.uri_for('/project' p.name) %]'">
|
||||
<td>[% INCLUDE renderProjectName project = p.name %]</td>
|
||||
<td>[% HTML.escape(p.displayname) %]</td>
|
||||
<td>[% WRAPPER maybeLink uri=p.homepage %][% HTML.escape(p.description) %][% END %]</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<h2>Channels</h2>
|
||||
|
||||
<p>This server provides the following global Nix channels:</p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<a href="[% c.uri_for('channel' 'latest') %]"><tt>latest</tt></a> —
|
||||
contains the latest successful build of every job.
|
||||
</li>
|
||||
<li>
|
||||
<a href="[% c.uri_for('channel' 'all') %]"><tt>all</tt></a> —
|
||||
contains every successful, non-garbage-collected build of every job.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Statistics</h2>
|
||||
|
||||
[% INCLUDE showBuildStats %]
|
||||
|
||||
|
||||
[% END %]
|
Reference in New Issue
Block a user