- adapted ui for hydra, more in line with nixos.org website

This commit is contained in:
Rob Vermaas
2010-01-07 14:25:12 +00:00
parent 791a6eddd6
commit 67f468e0a3
12 changed files with 331 additions and 97 deletions

View File

@ -1,7 +1,6 @@
[% WRAPPER layout.tt title=(edit ? (create ? "New Jobset in Project $project.name" : "Editing Jobset $project.name:$jobset.name") : "Jobset $project.name:$jobset.name") %]
[% PROCESS common.tt %]
[% IF edit %]
<form action="[% IF create %][% c.uri_for('/project' project.name 'create-jobset/submit') %][% ELSE %][% c.uri_for('/jobset' project.name jobset.name 'submit') %][% END %]" method="post">
[% END %]
@ -10,7 +9,9 @@
[% IF create %]
<h1>New Jobset in Project <tt>[% project.name %]</tt></h1>
[% ELSE %]
<h1>Jobset <tt>[% project.name %]:[% jobset.name %]</tt></h1>
<h1>Jobset <tt>[% INCLUDE renderLink
uri = c.uri_for(c.controller('Project').action_for('view'), [project.name])
title = project.name %]:[% jobset.name %]</tt></h1>
[% END %]