new bs2 label naming

This commit is contained in:
Oliver Gorwits
2012-03-03 20:46:52 +00:00
parent 484b851449
commit 6efdfc8300
8 changed files with 55 additions and 45 deletions

View File

@@ -37,7 +37,7 @@
<td>MAC &rarr; IP</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>
@@ -68,7 +68,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>