Files
netdisco/Netdisco/views/ajax/search/port.tt
2012-01-15 23:09:43 +00:00

23 lines
604 B
Plaintext

<table class="bordered-table condensed-table zebra-striped">
<thead>
<tr>
<th>Description</th>
<th>Port</th>
<th>Name</th>
<th>Vlan</th>
</tr>
</thead>
</tbody>
[% WHILE (row = results.next) %]
<tr>
<td>[% row.name %]</td>
<td><a href="[% uri_base %]/device?tab=ports&ip=[% row.ip %]&q=[% row.port %]">[% row.ip %] [ [% row.port %] ]</a>
[% ' (' _ row.device.dns.remove(settings.domain_suffix) _ ')' IF row.device.dns %]
</td>
<td>[% row.descr %]</td>
<td>[% row.vlan %]</td>
</tr>
[% END %]
</tbody>
</table>