css audit
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
<table class="table table-bordered table-condensed table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="center_cell">Entered</th>
|
||||
<th class="center_cell">Action</th>
|
||||
<th class="center_cell">Status</th>
|
||||
<th class="center_cell">Device</th>
|
||||
<th class="center_cell">Port</th>
|
||||
<th class="center_cell">Param</th>
|
||||
<th class="center_cell">User</th>
|
||||
<th class="center_cell">Started</th>
|
||||
<th class="center_cell">Finished</th>
|
||||
<th class="center_cell">Action</th>
|
||||
<th class="nd_center-cell">Entered</th>
|
||||
<th class="nd_center-cell">Action</th>
|
||||
<th class="nd_center-cell">Status</th>
|
||||
<th class="nd_center-cell">Device</th>
|
||||
<th class="nd_center-cell">Port</th>
|
||||
<th class="nd_center-cell">Param</th>
|
||||
<th class="nd_center-cell">User</th>
|
||||
<th class="nd_center-cell">Started</th>
|
||||
<th class="nd_center-cell">Finished</th>
|
||||
<th class="nd_center-cell">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</tbody>
|
||||
@@ -20,26 +20,26 @@
|
||||
[% ' class="error"' IF row.status == 'error' %]
|
||||
[% ' class="info"' IF row.status.search('^queued-') %]
|
||||
>
|
||||
<td class="center_cell">[% row.entered_stamp | html_entity %]</td>
|
||||
<td class="center_cell">
|
||||
<td class="nd_center-cell">[% row.entered_stamp | html_entity %]</td>
|
||||
<td class="nd_center-cell">
|
||||
[% FOREACH word IN row.action.split('_') %]
|
||||
[% word.ucfirst | html_entity %]
|
||||
[% END %]
|
||||
</td>
|
||||
[% IF row.status.search('^queued-') %]
|
||||
<td class="center_cell">Running on "[% row.status.remove('^queued-') | html_entity %]"</td>
|
||||
<td class="nd_center-cell">Running on "[% row.status.remove('^queued-') | html_entity %]"</td>
|
||||
[% ELSE %]
|
||||
<td class="center_cell">[% row.status.ucfirst | html_entity %]</td>
|
||||
<td class="nd_center-cell">[% row.status.ucfirst | html_entity %]</td>
|
||||
[% END %]
|
||||
<td class="center_cell"><a class="nd_linkcell"
|
||||
<td class="nd_center-cell"><a class="nd_linkcell"
|
||||
href="[% device_ports %]&q=[% row.device | uri %]">[% row.device | html_entity %]</a></td>
|
||||
<td class="center_cell">[% row.port | html_entity %]</td>
|
||||
<td class="center_cell">[% row.subaction | html_entity %]</td>
|
||||
<td class="center_cell">[% row.username | html_entity %]</td>
|
||||
<td class="center_cell">[% row.started_stamp | html_entity %]</td>
|
||||
<td class="center_cell">[% row.finished_stamp | html_entity %]</td>
|
||||
<td class="center_cell">
|
||||
<form name="del" class="nd_inline_form">
|
||||
<td class="nd_center-cell">[% row.port | html_entity %]</td>
|
||||
<td class="nd_center-cell">[% row.subaction | html_entity %]</td>
|
||||
<td class="nd_center-cell">[% row.username | html_entity %]</td>
|
||||
<td class="nd_center-cell">[% row.started_stamp | html_entity %]</td>
|
||||
<td class="nd_center-cell">[% row.finished_stamp | html_entity %]</td>
|
||||
<td class="nd_center-cell">
|
||||
<form name="del" class="nd_inline-form">
|
||||
<input name="job" type="hidden" value="[% row.job | html_entity %]">
|
||||
<button class="btn" name="del" type="submit"><i class="icon-trash text-error"></i></button>
|
||||
</form>
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<table class="table-bordered table-condensed table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="center_cell">Device Name</th>
|
||||
<th class="center_cell">Device IP</th>
|
||||
<th class="center_cell">Number of Ports</th>
|
||||
<th class="center_cell">Action</th>
|
||||
<th class="nd_center-cell">Device Name</th>
|
||||
<th class="nd_center-cell">Device IP</th>
|
||||
<th class="nd_center-cell">Number of Ports</th>
|
||||
<th class="nd_center-cell">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</tbody>
|
||||
<tr>
|
||||
<form name="add">
|
||||
<td class="center_cell"><input name="dns" type="text"></td>
|
||||
<td class="center_cell"><input name="ip" type="text"></td>
|
||||
<td class="center_cell"><input name="ports" type="number"></td>
|
||||
<td class="center_cell">
|
||||
<td class="nd_center-cell"><input name="dns" type="text"></td>
|
||||
<td class="nd_center-cell"><input name="ip" type="text"></td>
|
||||
<td class="nd_center-cell"><input name="ports" type="number"></td>
|
||||
<td class="nd_center-cell">
|
||||
<button class="btn btn-small" name="add" type="submit"><i class="icon-plus-sign"></i> Add</button>
|
||||
</td>
|
||||
</form>
|
||||
@@ -21,16 +21,16 @@
|
||||
[% WHILE (row = results.next) %]
|
||||
<tr>
|
||||
<form name="update">
|
||||
<td class="center_cell"><a class="nd_linkcell"
|
||||
<td class="nd_center-cell"><a class="nd_linkcell"
|
||||
href="[% device_ports %]&q=[% row.dns | uri %]">[% row.dns | html_entity %]</a></td>
|
||||
<td class="center_cell">[% row.ip | html_entity %]</td>
|
||||
<td class="center_cell"><input name="ports" type="number" value="[% row.port_count | html_entity %]"></td>
|
||||
<td class="center_cell">
|
||||
<td class="nd_center-cell">[% row.ip | html_entity %]</td>
|
||||
<td class="nd_center-cell"><input name="ports" type="number" value="[% row.port_count | html_entity %]"></td>
|
||||
<td class="nd_center-cell">
|
||||
<input name="dns" type="hidden" value="[% row.dns | html_entity %]">
|
||||
<input name="ip" type="hidden" value="[% row.ip | html_entity %]">
|
||||
<button class="btn" name="update" type="submit"><i class="icon-save text-warning"></i></button>
|
||||
</form>
|
||||
<form name="del" class="nd_inline_form">
|
||||
<form name="del" class="nd_inline-form">
|
||||
<input name="dns" type="hidden" value="[% row.dns | html_entity %]">
|
||||
<input name="ip" type="hidden" value="[% row.ip | html_entity %]">
|
||||
<input name="ports" type="hidden" value="[% row.port_count | html_entity %]">
|
||||
|
||||
@@ -1,41 +1,41 @@
|
||||
<table class="table-bordered table-condensed table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="center_cell">Left Device</th>
|
||||
<th class="center_cell">Left Port</th>
|
||||
<th class="center_cell">Right Device</th>
|
||||
<th class="center_cell">Right Port</th>
|
||||
<th class="center_cell">Action</th>
|
||||
<th class="nd_center-cell">Left Device</th>
|
||||
<th class="nd_center-cell">Left Port</th>
|
||||
<th class="nd_center-cell">Right Device</th>
|
||||
<th class="nd_center-cell">Right Port</th>
|
||||
<th class="nd_center-cell">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</tbody>
|
||||
<tr>
|
||||
<form name="add">
|
||||
<td class="center_cell">
|
||||
<td class="nd_center-cell">
|
||||
<div class="input-append">
|
||||
<input class="nd_topo_dev nd_topo_dev1" name="dev1" type="text">
|
||||
<span class="add-on nd_topo_dev_caret"><i class="icon-caret-down icon-large"></i></span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="center_cell">
|
||||
<td class="nd_center-cell">
|
||||
<div class="input-append">
|
||||
<input class="nd_topo_port nd_topo_dev1" name="port1" type="text">
|
||||
<span class="add-on nd_topo_port_caret"><i class="icon-caret-down icon-large"></i></span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="center_cell">
|
||||
<td class="nd_center-cell">
|
||||
<div class="input-append">
|
||||
<input class="nd_topo_dev nd_topo_dev2" name="dev2" type="text">
|
||||
<span class="add-on nd_topo_dev_caret"><i class="icon-caret-down icon-large"></i></span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="center_cell">
|
||||
<td class="nd_center-cell">
|
||||
<div class="input-append">
|
||||
<input class="nd_topo_port nd_topo_dev2" name="port2" type="text">
|
||||
<span class="add-on nd_topo_port_caret"><i class="icon-caret-down icon-large"></i></span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="center_cell">
|
||||
<td class="nd_center-cell">
|
||||
<button class="btn btn-small" name="add" type="submit"><i class="icon-plus-sign"></i> Add</button>
|
||||
</td>
|
||||
</form>
|
||||
@@ -43,13 +43,13 @@
|
||||
[% WHILE (row = results.next) %]
|
||||
<tr>
|
||||
<form name="del">
|
||||
<td class="center_cell"><a class="nd_linkcell"
|
||||
<td class="nd_center-cell"><a class="nd_linkcell"
|
||||
href="[% device_ports %]&q=[% row.dev1 | uri %]">[% row.dev1 | html_entity %]</a></td>
|
||||
<td class="center_cell">[% row.port1 | html_entity %]</td>
|
||||
<td class="center_cell"><a class="nd_linkcell"
|
||||
<td class="nd_center-cell">[% row.port1 | html_entity %]</td>
|
||||
<td class="nd_center-cell"><a class="nd_linkcell"
|
||||
href="[% device_ports %]&q=[% row.dev2 | uri %]">[% row.dev2 | html_entity %]</a></td>
|
||||
<td class="center_cell">[% row.port2 | html_entity %]</td>
|
||||
<td class="center_cell">
|
||||
<td class="nd_center-cell">[% row.port2 | html_entity %]</td>
|
||||
<td class="nd_center-cell">
|
||||
<input name="dev1" type="hidden" value="[% row.dev1 | html_entity %]">
|
||||
<input name="port1" type="hidden" value="[% row.port1 | html_entity %]">
|
||||
<input name="dev2" type="hidden" value="[% row.dev2 | html_entity %]">
|
||||
|
||||
Reference in New Issue
Block a user