hydra/src/root/machines.tt

31 lines
871 B
Text
Raw Normal View History

2013-02-20 14:54:33 +00:00
[% WRAPPER layout.tt title="Build machines" %]
2010-10-18 10:50:35 +00:00
[% PROCESS common.tt %]
<table class="table table-condensed table-striped">
2010-10-18 10:50:35 +00:00
<thead>
<tr>
<th>Enabled</th>
<th>Machine</th>
<th>Max concurrent</th>
<th>Speed factor</th>
<th>Systems</th>
2010-10-18 10:50:35 +00:00
</tr>
</thead>
<tbody>
[% FOREACH m IN machines %]
<tr>
<td><input type="checkbox" name="enabled" [% IF m.value.maxJobs > 0 %]CHECKED[% END %] disabled="true" /></td>
<td>[% m.key %]</a></td>
<td>[% m.value.maxJobs %]</td>
<td>[% m.value.speedFactor %]</td>
<td>
[% comma=0; FOREACH system IN m.value.systemTypes %][% IF comma; %], [% ELSE; comma = 1; END; system; END %]
</td>
2010-10-18 10:50:35 +00:00
</tr>
[% END %]
</tbody>
2013-01-22 13:41:02 +00:00
2010-10-18 10:50:35 +00:00
</table>
[% END %]