From 6aa0ddda51568cb7d90fcbd3e878b7dfebcf363b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 18 Nov 2008 12:13:34 +0000 Subject: [PATCH] --- src/HydraFrontend/root/hydra.css | 2 +- src/HydraFrontend/root/project.tt | 48 +++++++++++++++---------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/HydraFrontend/root/hydra.css b/src/HydraFrontend/root/hydra.css index 2c610fab..7c2a641d 100644 --- a/src/HydraFrontend/root/hydra.css +++ b/src/HydraFrontend/root/hydra.css @@ -360,7 +360,7 @@ input.string { font-family: sans-serif; font-size: 100%; background-color: #fffff0; - width: 13em; + width: 20em; } input.shortString { diff --git a/src/HydraFrontend/root/project.tt b/src/HydraFrontend/root/project.tt index e10c0ed1..5db98a3e 100644 --- a/src/HydraFrontend/root/project.tt +++ b/src/HydraFrontend/root/project.tt @@ -25,15 +25,18 @@ [% END %] +[% BLOCK renderInputAlt %] + [% IF edit %][% END -%] + [% INCLUDE maybeEditString param=param value=alt.value %] + [% IF edit %]
[% END %] +[% END %] + + [% BLOCK renderInput %] - [% IF edit %] - - [% IF edit %][X][% END -%] - - [% END %] + [% IF edit %][% END -%] [% INCLUDE maybeEditString param="$baseName-name" value=input.name extraClass="shortString" %] @@ -45,12 +48,11 @@ [% IF input.type == "string" && !edit %] "[% HTML.escape(alt.value) %]" [% ELSE %] - [% INCLUDE maybeEditString param="$baseName-values" value=alt.value %] - [% IF edit %][X]
[% END %] + [% INCLUDE renderInputAlt alt=alt param="$baseName-values" %] [% END %] [% END %] - [% IF edit %][+][% END %] + [% IF edit %][% END %] @@ -61,7 +63,10 @@
-

[% IF jobset %]Jobset [% jobset.name %][% ELSE %]New jobset[% END %]

+

+ [% IF edit %][% END %] + [% IF jobset %]Jobset [% jobset.name %][% ELSE %]New jobset[% END %] +

Information

@@ -87,26 +92,22 @@

Inputs

- [% IF edit %] -

- [% END %] - - [% IF edit %][% END %] + [% FOREACH input IN jobset.jobsetinputs -%] [% INCLUDE renderInput input=input baseName="jobset-$baseName-input-$input.name" %] [% END %] + [% IF edit %] + + + + [% END %]
Input nameTypeValues
Input nameTypeValues
- [% IF edit %] -
-

- [% END %] -
[% END %] @@ -155,7 +156,7 @@ [% IF curProject.jobsets && curProject.jobsets.size > 0 || edit %] [% IF edit %] -

+

[% INCLUDE renderJobset jobset="" baseName="template" %] @@ -165,9 +166,8 @@ [% INCLUDE renderInput input="" extraClass="template" id="input-template" baseName="input-template" %] - - - [X] + + [% INCLUDE renderInputAlt alt=alt %]