source: trunk/templates/showvrf.tmpl@ 810

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

/trunk

Extend UI to browse into a VRF. See #54.
Also extend breadcrumb segment to show the VRF.

File size: 889 bytes
Line 
1<div class="tbltitle">Master netblocks in <TMPL_VAR NAME=vrf></div>
2
3<br>
4<div class="center">
5<table class="center altrows" width="98%" cellspacing="0">
6<TMPL_IF masterlist>
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<TMPL_ELSE>
24<tr class="heading">
25<td>No netblock data</td>
26</tr>
27</TMPL_IF>
28</table>
29<TMPL_IF addmaster>
30<br>
31<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addmaster">Add new master block</a>
32</TMPL_IF>
33</div>
34
Note: See TracBrowser for help on using the repository browser.