reorder fields in snmpnode view
This commit is contained in:
@@ -29,23 +29,23 @@
|
|||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Type</th>
|
<th scope="row">Status</th>
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">Unpacker</th>
|
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Access</th>
|
<th scope="row">Access</th>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">Type</th>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Index</th>
|
<th scope="row">Index</th>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Status</th>
|
<th scope="row">Filter</th>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -13,26 +13,17 @@
|
|||||||
<td>[% node.snmp_object.leaf | html_entity %]</td>
|
<td>[% node.snmp_object.leaf | html_entity %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Type</th>
|
<th scope="row">Status</th>
|
||||||
<td>[% node.snmp_object.type | html_entity %]</td>
|
<td>[% node.snmp_object.status | html_entity %]</td>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">Unpacker</th>
|
|
||||||
<td>
|
|
||||||
[% IF node.value %]
|
|
||||||
<select name="munger" id="munger">
|
|
||||||
[% UNLESS munge %]<option value="" selected disabled hidden>None applied</option>[% END %]
|
|
||||||
[% FOREACH m IN mungers %]
|
|
||||||
<option [% 'selected' IF m == munge %] value="[% m | uri %]">[% m | html_entity %]</option>
|
|
||||||
[% END %]
|
|
||||||
</select>
|
|
||||||
[% END %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Access</th>
|
<th scope="row">Access</th>
|
||||||
<td>[% node.snmp_object.access | html_entity %]</td>
|
<td>[% node.snmp_object.access | html_entity %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">Type</th>
|
||||||
|
<td>[% node.snmp_object.type | html_entity %]</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Index</th>
|
<th scope="row">Index</th>
|
||||||
<td>
|
<td>
|
||||||
@@ -46,8 +37,17 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Status</th>
|
<th scope="row">Filter</th>
|
||||||
<td>[% node.snmp_object.status | html_entity %]</td>
|
<td>
|
||||||
|
[% IF node.value %]
|
||||||
|
<select name="munger" id="munger">
|
||||||
|
[% UNLESS munge %]<option value="" selected disabled hidden>None applied</option>[% END %]
|
||||||
|
[% FOREACH m IN mungers %]
|
||||||
|
<option [% 'selected' IF m == munge %] value="[% m | uri %]">[% m | html_entity %]</option>
|
||||||
|
[% END %]
|
||||||
|
</select>
|
||||||
|
[% END %]
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Enum Syntax</th>
|
<th scope="row">Enum Syntax</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user