Files
netdisco/Netdisco/views/ajax/vlan.tt
2012-01-08 11:20:16 +00:00

23 lines
568 B
Plaintext

<table class="bordered-table condensed-table zebra-striped">
<thead>
<tr>
[% FOREACH col IN columns %]
<th>[% col.label %]</th>
[% END %]
</tr>
</thead>
</tbody>
[% WHILE (row = results.next) %]
<tr>
[% FOREACH col IN columns %]
[% SET val = row %]
[% FOREACH method IN col.key.split('\.') %]
[% SET val = val.$method %]
[% END %]
<td><a class="nd_linkcell nd_stealthlink" href="[% hyperlink(row) %]">[% val %]</a></td>
[% END %]
</tr>
[% END %]
</tbody>
</table>