fix table headings and improve Action display in Job Queue

This commit is contained in:
Oliver Gorwits
2013-05-09 23:37:43 +01:00
parent 70f5da8bb6
commit a18a3c72a3

View File

@@ -2,8 +2,8 @@
<thead> <thead>
<tr> <tr>
<th class="center_cell">Entered</th> <th class="center_cell">Entered</th>
<th class="center_cell">Status</th>
<th class="center_cell">Action</th> <th class="center_cell">Action</th>
<th class="center_cell">Status</th>
<th class="center_cell">Device</th> <th class="center_cell">Device</th>
<th class="center_cell">Port</th> <th class="center_cell">Port</th>
<th class="center_cell">Param</th> <th class="center_cell">Param</th>
@@ -21,7 +21,11 @@
[% ' class="info"' IF row.status.search('^queued-') %] [% ' class="info"' IF row.status.search('^queued-') %]
> >
<td class="center_cell">[% row.entered_stamp | html_entity %]</td> <td class="center_cell">[% row.entered_stamp | html_entity %]</td>
<td class="center_cell">[% row.action.ucfirst | html_entity %]</td> <td class="center_cell">
[% FOREACH word IN row.action.split('_') %]
[% word.ucfirst | html_entity %]&nbsp;
[% END %]
</td>
[% IF row.status.search('^queued-') %] [% IF row.status.search('^queued-') %]
<td class="center_cell">Running on &quot;[% row.status.remove('^queued-') | html_entity %]&quot;</td> <td class="center_cell">Running on &quot;[% row.status.remove('^queued-') | html_entity %]&quot;</td>
[% ELSE %] [% ELSE %]