31 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| <table class="table-bordered table-condensed table-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="[% uri_for('/device') %]?tab=ports&q=[% row.ip %]&f=[% row.vlan.vlan %]">[% row.vlan.vlan %]</a></td>
 | |
|       <td><a class="nd_linkcell"
 | |
|         href="[% uri_for('/device') %]?tab=ports&q=[% row.ip %]&f=[% row.vlan.vlan %]">[% row.dns %]</a></td>
 | |
|       <td><a class="nd_linkcell nd_stealthlink"
 | |
|         href="[% uri_for('/device') %]?tab=ports&q=[% row.ip %]&f=[% row.vlan.vlan %]">[% row.vlan.description %]</a></td>
 | |
|       <td><a class="nd_linkcell nd_stealthlink"
 | |
|         href="[% uri_for('/device') %]?tab=ports&q=[% row.ip %]&f=[% row.vlan.vlan %]">[% row.model %]</a></td>
 | |
|       <td><a class="nd_linkcell nd_stealthlink"
 | |
|         href="[% uri_for('/device') %]?tab=ports&q=[% row.ip %]&f=[% row.vlan.vlan %]">[% row.os %]</a></td>
 | |
|       <td><a class="nd_linkcell nd_stealthlink"
 | |
|         href="[% uri_for('/device') %]?tab=ports&q=[% row.ip %]&f=[% row.vlan.vlan %]">[% row.vendor %]</a></td>
 | |
|     </tr>
 | |
|     [% END %]
 | |
|   </tbody>
 | |
| </table>
 |