source: trunk/templates/index.tmpl@ 830

Last change on this file since 830 was 806, checked in by Kris Deugau, 9 years ago

/trunk

Promote VRFs to top-level entities. See #54.

1 of mumble; convert index page to list VRFs instead of master blocks.

File size: 569 bytes
RevLine 
[450]1<br>
[451]2<div class="center">
[687]3<table class="center altrows" width="98%" cellspacing="0">
[806]4<TMPL_IF vrflist>
[451]5<tr class="heading">
[806]6<td>VRF</td>
7<td>Comment</td>
[450]8</tr>
[806]9<TMPL_LOOP NAME=vrflist>
[687]10<tr>
[806]11<td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showvrf&amp;vrf=<TMPL_VAR NAME=vrf>"><TMPL_VAR NAME=vrf></a></td>
12<td><TMPL_VAR comment></td>
[450]13</tr>
14</TMPL_LOOP>
[626]15<TMPL_ELSE>
16<tr class="heading">
[806]17<td>No VRFs defined</td>
[626]18</tr>
19</TMPL_IF>
[450]20</table>
[806]21<TMPL_IF addvrf>
[626]22<br>
[806]23<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addvrf">Add new VRF</a>
[450]24</TMPL_IF>
[451]25</div>
Note: See TracBrowser for help on using the repository browser.