source: trunk/templates/showvrf.tmpl@ 938

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

/trunk

Add "delete VRF" confirmation and action pages. Refine link from showvrf
template since a VRF is a completely different type of entity than a
netblock. See #54.

File size: 1.2 KB
Line 
1<TMPL_UNLESS sub><div class="tbltitle">Master netblocks in <TMPL_VAR NAME=vrf></div></TMPL_UNLESS>
2
3<br>
4<div class="center">
5<TMPL_IF masterlist>
6<table class="center altrows" width="98%" cellspacing="0">
7<tr class="heading">
8<td>Master netblock</td>
9<td>Aggregation/Containers</td>
10<td>Allocated netblocks</td>
11<td>Free netblocks</td>
12<td>Largest free block</td>
13</tr>
14<TMPL_LOOP NAME=masterlist>
15<tr>
16<td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=id>"><TMPL_VAR NAME=master></a></td>
17<td><TMPL_VAR NAME=routed></td>
18<td><TMPL_VAR NAME=allocated></td>
19<td><TMPL_VAR NAME=free></td>
20<td><TMPL_VAR ESCAPE=HTML NAME=bigfree></td>
21</tr>
22</TMPL_LOOP>
23</table>
24<TMPL_ELSE>
25<hr class="w30">
26<div class="tbltitle">No netblock data
27<TMPL_IF maydel>
28<br>
29<form action="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi" method=POST>
30<fieldset><legend class="noshow">&nbsp;</legend>
31<input type=hidden name=action value="delvrf">
32<input type=hidden name=vrf value="<TMPL_VAR NAME=vrf>">
33<input type=submit value=" Remove this VRF ">
34</fieldset>
35</form>
36</TMPL_IF>
37</div>
38</TMPL_IF>
39<TMPL_IF addmaster>
40<br>
41<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addmaster&amp;vrf=<TMPL_VAR NAME=vrf>">Add new master block</a>
42</TMPL_IF>
43</div>
44
Note: See TracBrowser for help on using the repository browser.