[% WRAPPER layout.tt title="Hydra Overview" %]
[% PROCESS common.tt %]
[% USE HTML %]
[% BLOCK renderSelection %]
[% IF edit %]
[% ELSE %]
[% options.$curValue %]
[% END %]
[% END %]
[% BLOCK maybeEditString;
IF edit -%]
param, name => param, value => value) %] />
[% ELSE;
HTML.escape(value);
END -%]
[% END -%]
[% BLOCK renderInputAlt %]
[% IF edit %]
[% INCLUDE maybeEditString param=param value=alt.value %]
[% ELSE %]
[% INCLUDE maybeEditString param=param value=alt.value %]
[% END %]
[% END %]
[% BLOCK renderInput %]
[% IF edit %][% END -%]
[% INCLUDE maybeEditString param="$baseName-name" value=input.name extraClass="shortString" %]
[% INCLUDE renderSelection curValue=input.type param="$baseName-type" options=inputTypes %]
[% FOREACH alt IN input.jobsetinputalts -%]
[% IF input.type == "string" && !edit %]
"[% HTML.escape(alt.value) %]"
[% ELSE %]
[% INCLUDE renderInputAlt alt=alt param="$baseName-values" %]
[% END %]
[% END %]
[% IF edit %][% END %]
[% END %]
[% BLOCK renderJobset %]
[% IF edit %][% END %]
[% IF jobset %]Jobset [% jobset.name %][% ELSE %]New jobset[% END %]
Information
[% IF edit %]
Identifier:
[% INCLUDE maybeEditString param="jobset-$baseName-name" value=jobset.name %]
[% END %]
Description:
[% INCLUDE maybeEditString param="jobset-$baseName-description" value=jobset.description %]
Nix expression:
[% INCLUDE maybeEditString param="jobset-$baseName-nixexprpath" value=jobset.nixexprpath extraClass="shortString" %] in input
[% INCLUDE maybeEditString param="jobset-$baseName-nixexprinput" value=jobset.nixexprinput extraClass="shortString" %]
[% IF !edit && jobset.errormsg %]
Last evaluation error:
On [% PROCESS renderDateTime timestamp = jobset.errortime %]:
[% HTML.escape(jobset.errormsg) %]
[% END %]
Inputs
Input name
Type
Values
[% FOREACH input IN jobset.jobsetinputs -%]
[% INCLUDE renderInput input=input baseName="jobset-$baseName-input-$input.name" %]
[% END %]
[% IF edit %]
[% END %]
[% END %]
[% IF edit %]
[% IF !create %]
[% END %]
[% END %]
[% END %]