fix table headings and improve Action display in Job Queue
This commit is contained in:
@@ -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 %]
|
||||||
|
[% END %]
|
||||||
|
</td>
|
||||||
[% IF row.status.search('^queued-') %]
|
[% IF row.status.search('^queued-') %]
|
||||||
<td class="center_cell">Running on "[% row.status.remove('^queued-') | html_entity %]"</td>
|
<td class="center_cell">Running on "[% row.status.remove('^queued-') | html_entity %]"</td>
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
|
|||||||
Reference in New Issue
Block a user