source: trunk/templates/index.tmpl@ 839

Last change on this file since 839 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
Line 
1<br>
2<div class="center">
3<table class="center altrows" width="98%" cellspacing="0">
4<TMPL_IF vrflist>
5<tr class="heading">
6<td>VRF</td>
7<td>Comment</td>
8</tr>
9<TMPL_LOOP NAME=vrflist>
10<tr>
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>
13</tr>
14</TMPL_LOOP>
15<TMPL_ELSE>
16<tr class="heading">
17<td>No VRFs defined</td>
18</tr>
19</TMPL_IF>
20</table>
21<TMPL_IF addvrf>
22<br>
23<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addvrf">Add new VRF</a>
24</TMPL_IF>
25</div>
Note: See TracBrowser for help on using the repository browser.