implement first device tab - details
This commit is contained in:
30
Netdisco/views/ajax/search/vlan.tt
Normal file
30
Netdisco/views/ajax/search/vlan.tt
Normal file
@@ -0,0 +1,30 @@
|
||||
<table class="bordered-table condensed-table zebra-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Vlan</th>
|
||||
<th>Device</th>
|
||||
<th>Description</th>
|
||||
<th>Model</th>
|
||||
<th>OS</th>
|
||||
<th>Vendor</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</tbody>
|
||||
[% WHILE (row = results.next) %]
|
||||
<tr>
|
||||
<td><a class="nd_linkcell nd_stealthlink"
|
||||
href="/device?ip=[% row.ip %]&vlan=[% row.vlan.vlan %]">[% row.vlan.vlan %]</a></td>
|
||||
<td><a class="nd_linkcell"
|
||||
href="/device?ip=[% row.ip %]&vlan=[% row.vlan.vlan %]">[% row.dns %]</a></td>
|
||||
<td><a class="nd_linkcell nd_stealthlink"
|
||||
href="/device?ip=[% row.ip %]&vlan=[% row.vlan.vlan %]">[% row.vlan.description %]</a></td>
|
||||
<td><a class="nd_linkcell nd_stealthlink"
|
||||
href="/device?ip=[% row.ip %]&vlan=[% row.vlan.vlan %]">[% row.model %]</a></td>
|
||||
<td><a class="nd_linkcell nd_stealthlink"
|
||||
href="/device?ip=[% row.ip %]&vlan=[% row.vlan.vlan %]">[% row.os %]</a></td>
|
||||
<td><a class="nd_linkcell nd_stealthlink"
|
||||
href="/device?ip=[% row.ip %]&vlan=[% row.vlan.vlan %]">[% row.vendor %]</a></td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user