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
RevLine 
[808]1<div class="tbltitle">Master netblocks in <TMPL_VAR NAME=vrf></div>
2
[450]3<br>
[451]4<div class="center">
[687]5<table class="center altrows" width="98%" cellspacing="0">
[626]6<TMPL_IF masterlist>
[451]7<tr class="heading">
[450]8<td>Master netblock</td>
[626]9<td>Aggregation/Containers</td>
[450]10<td>Allocated netblocks</td>
[451]11<td>Free netblocks</td>
12<td>Largest free block</td>
[450]13</tr>
14<TMPL_LOOP NAME=masterlist>
[687]15<tr>
[626]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>
[450]17<td><TMPL_VAR NAME=routed></td>
18<td><TMPL_VAR NAME=allocated></td>
19<td><TMPL_VAR NAME=free></td>
[525]20<td><TMPL_VAR ESCAPE=HTML NAME=bigfree></td>
[450]21</tr>
22</TMPL_LOOP>
[626]23<TMPL_ELSE>
24<tr class="heading">
25<td>No netblock data</td>
26</tr>
27</TMPL_IF>
[450]28</table>
29<TMPL_IF addmaster>
[626]30<br>
[511]31<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addmaster">Add new master block</a>
[450]32</TMPL_IF>
[451]33</div>
[450]34
Note: See TracBrowser for help on using the repository browser.