implement addresses pane for device

This commit is contained in:
Oliver Gorwits
2012-01-13 20:59:51 +00:00
parent f1d3bb9fd9
commit 60d8e6de76
4 changed files with 42 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
<table class="bordered-table condensed-table zebra-striped">
<thead>
<tr>
<th>Address</th>
<th>DNS</th>
<th class="center_cell">Interface</th>
<th>Description</th>
<th>Prefix</th>
</tr>
</thead>
</tbody>
[% WHILE (row = results.next) %]
<tr>
<td>[% row.alias %]</a>
<td>[% row.dns.remove(settings.domain_suffix) %]</a>
<td class="center_cell"><a class="nd_linkcell"
href="/device?tab=ports&ip=[% row.ip %]&q=[% row.port %]">[% row.port %]</a></td>
<td>[% row.device_port.name %]</td>
<td><a class="nd_linkcell"
href="/search?tab=node&q=[% row.subnet %]">[% row.subnet %]</a></td>
</tr>
[% END %]
</tbody>
</table>