new bs2 label naming
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<td>IP → MAC</td>
|
||||
<td><a href="[% uri_for('/search') %]?[% vars.query_defaults.node %]&q=[% row.ip | uri %]">[% row.ip %]</a>
|
||||
[% ' (' _ row.dns.remove(settings.domain_suffix) _ ')' IF row.dns %]
|
||||
[% ' <span class="label warning">a</span>' IF NOT row.active %]
|
||||
[% ' <span class="label label-warning">A</span>' IF NOT row.active %]
|
||||
</td>
|
||||
[% IF params.stamps %]
|
||||
<td>[% row.time_first_stamp %]</td>
|
||||
@@ -40,7 +40,7 @@
|
||||
<td>Switch Port</td>
|
||||
<td><a href="[% uri_for('/device') %]?tab=ports&q=[% node.switch | url %]&f=[% node.port | url %]">[% node.switch %] [ [% node.port %] ]</a>
|
||||
[% ' (' _ node.device.dns.remove(settings.domain_suffix) _ ')' IF node.device.dns %]
|
||||
[% ' <span class="label warning">a</span>' IF NOT node.active %]
|
||||
[% ' <span class="label label-warning">A</span>' IF NOT node.active %]
|
||||
</td>
|
||||
[% IF params.stamps %]
|
||||
<td>[% node.time_first_stamp %]</td>
|
||||
@@ -57,7 +57,7 @@
|
||||
<td>MAC → IP</td>
|
||||
<td><a href="[% uri_for('/search') %]?[% vars.query_defaults.node %]&q=[% nodeip.ip | uri %]">[% nodeip.ip %]</a>
|
||||
[% ' (' _ nodeip.dns.remove(settings.domain_suffix) _ ')' IF nodeip.dns %]
|
||||
[% ' <span class="label warning">a</span>' IF NOT nodeip.active %]
|
||||
[% ' <span class="label label-warning">A</span>' IF NOT nodeip.active %]
|
||||
</td>
|
||||
[% IF params.stamps %]
|
||||
<td>[% nodeip.time_first_stamp %]</td>
|
||||
|
||||
Reference in New Issue
Block a user