Last change
on this file since 835 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
|
Rev | Line | |
---|
[818] | 1 | <TMPL_UNLESS sub><div class="tbltitle">Master netblocks in <TMPL_VAR NAME=vrf></div></TMPL_UNLESS>
|
---|
[808] | 2 |
|
---|
[450] | 3 | <br>
|
---|
[451] | 4 | <div class="center">
|
---|
[818] | 5 | <TMPL_IF masterlist>
|
---|
[687] | 6 | <table class="center altrows" width="98%" cellspacing="0">
|
---|
[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&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>
|
---|
[818] | 23 | </table>
|
---|
[626] | 24 | <TMPL_ELSE>
|
---|
[818] | 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"> </legend>
|
---|
[820] | 31 | <input type=hidden name=action value="delvrf">
|
---|
[818] | 32 | <input type=hidden name=vrf value="<TMPL_VAR NAME=vrf>">
|
---|
| 33 | <input type=submit value=" Remove this VRF ">
|
---|
| 34 | </fieldset>
|
---|
| 35 | </form>
|
---|
[626] | 36 | </TMPL_IF>
|
---|
[818] | 37 | </div>
|
---|
| 38 | </TMPL_IF>
|
---|
[450] | 39 | <TMPL_IF addmaster>
|
---|
[626] | 40 | <br>
|
---|
[818] | 41 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addmaster&vrf=<TMPL_VAR NAME=vrf>">Add new master block</a>
|
---|
[450] | 42 | </TMPL_IF>
|
---|
[451] | 43 | </div>
|
---|
[450] | 44 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.