[568] | 1 | <div class="tbltitle">Subnets in <TMPL_VAR NAME=block></div>
|
---|
| 2 | <TMPL_VAR NAME=addperm>
|
---|
[467] | 3 |
|
---|
[682] | 4 | <TMPL_IF contlist>
|
---|
| 5 | <br>
|
---|
| 6 | <hr class="w30">
|
---|
| 7 | <div class="tbltitle">Containers</div>
|
---|
| 8 | <br>
|
---|
| 9 | <table class="center" width="98%" cellspacing="0">
|
---|
| 10 | <tr>
|
---|
| 11 | <td class="heading">Container block</td>
|
---|
| 12 | <td class="heading">Location</td>
|
---|
| 13 | <td class="heading">Type</td>
|
---|
| 14 | <td class="heading">Description/Name</td>
|
---|
| 15 | <td class="heading">Allocations</td>
|
---|
| 16 | <td class="heading">Free blocks</td>
|
---|
| 17 | <td class="heading">Largest free block</td>
|
---|
| 18 | </tr>
|
---|
| 19 |
|
---|
| 20 | <TMPL_LOOP NAME=contlist>
|
---|
| 21 | <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
|
---|
| 22 | <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&parent=<TMPL_VAR NAME=id>"><TMPL_VAR NAME=block></a></td>
|
---|
| 23 | <td><TMPL_VAR NAME=city></td>
|
---|
| 24 | <td><TMPL_VAR NAME=type></td>
|
---|
| 25 | <td><TMPL_VAR NAME=desc></td>
|
---|
| 26 | <td><TMPL_VAR NAME=suballocs></td>
|
---|
| 27 | <td><TMPL_VAR NAME=subfree></td>
|
---|
| 28 | <td><TMPL_VAR ESCAPE=HTML NAME=lfree></td>
|
---|
| 29 | </TMPL_LOOP>
|
---|
| 30 | </table>
|
---|
| 31 | <TMPL_ELSE>
|
---|
| 32 | <hr class="w30">
|
---|
| 33 | <div class="tbltitle">No container blocks in <TMPL_VAR NAME=block></div>
|
---|
| 34 | </TMPL_IF>
|
---|
| 35 |
|
---|
| 36 | <TMPL_IF alloclist>
|
---|
| 37 | <br>
|
---|
| 38 | <hr class="w30">
|
---|
| 39 | <div class="tbltitle">Usage allocations</div>
|
---|
| 40 | <br>
|
---|
[467] | 41 | <table width="98%" cellspacing="0" class="center">
|
---|
| 42 | <tr>
|
---|
[682] | 43 | <td class="heading">CIDR allocation</td>
|
---|
| 44 | <td class="heading">Location</td>
|
---|
[467] | 45 | <td class="heading">Type</td>
|
---|
| 46 | <td class="heading">CustID</td>
|
---|
| 47 | <td class="heading">SWIPed?</td>
|
---|
| 48 | <td class="heading">Description/Name</td>
|
---|
| 49 | </tr>
|
---|
| 50 |
|
---|
[682] | 51 | <TMPL_LOOP NAME=alloclist>
|
---|
[527] | 52 | <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
|
---|
[467] | 53 | <td>
|
---|
[627] | 54 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&id=<TMPL_VAR NAME=id>&basetype=b"><TMPL_VAR NAME=block></a>
|
---|
| 55 | <TMPL_IF listpool> <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&pool=<TMPL_VAR NAME=id>">List IPs</a></TMPL_IF>
|
---|
[467] | 56 | </td>
|
---|
| 57 | <td><TMPL_VAR NAME=city></td>
|
---|
| 58 | <td><TMPL_VAR NAME=type></td>
|
---|
[682] | 59 | <td><TMPL_VAR NAME=custid></td>
|
---|
[527] | 60 | <td><TMPL_VAR NAME=swip><TMPL_IF partswip><small>*</small></TMPL_IF></td>
|
---|
[467] | 61 | <td><TMPL_VAR NAME=desc></td>
|
---|
| 62 | </tr>
|
---|
| 63 | </TMPL_LOOP>
|
---|
| 64 | </table>
|
---|
| 65 | <TMPL_ELSE>
|
---|
| 66 | <hr class="w30">
|
---|
[682] | 67 | <div class="tbltitle">No usage allocations in <TMPL_VAR NAME=block></div>
|
---|
| 68 | </TMPL_IF>
|
---|
| 69 |
|
---|
[568] | 70 | <TMPL_IF maydel>
|
---|
[682] | 71 | <div class="tbltitle">
|
---|
[467] | 72 | <br>
|
---|
[511] | 73 | <form action="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi" method=POST>
|
---|
[513] | 74 | <fieldset><legend class="noshow"> </legend>
|
---|
[467] | 75 | <input type=hidden name=action value="delete">
|
---|
[627] | 76 | <input type=hidden name=block value="<TMPL_VAR NAME=del_id>">
|
---|
| 77 | <input type=hidden name=basetype value="b">
|
---|
[467] | 78 | <input type=submit value=" Remove this block ">
|
---|
| 79 | </fieldset>
|
---|
| 80 | </form>
|
---|
| 81 | </div>
|
---|
| 82 | </TMPL_IF>
|
---|
| 83 |
|
---|
| 84 | <br>
|
---|
| 85 | <hr class="w60">
|
---|
| 86 |
|
---|
[568] | 87 | <div class="tbltitle">Free blocks within <TMPL_VAR NAME=block></div>
|
---|
[467] | 88 |
|
---|
[568] | 89 | <TMPL_IF freelist>
|
---|
[467] | 90 | <table width="98%" cellspacing="0" class="center">
|
---|
| 91 | <tr>
|
---|
| 92 | <td class="heading">CIDR block</td>
|
---|
| 93 | <td class="heading">Range</td>
|
---|
| 94 | </tr>
|
---|
| 95 |
|
---|
[568] | 96 | <TMPL_LOOP name=freelist>
|
---|
[527] | 97 | <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
|
---|
[568] | 98 | <TMPL_IF newvrf><td colspan=2>vrf: <TMPL_VAR NAME=newvrf></td>
|
---|
| 99 | <TMPL_ELSE>
|
---|
| 100 | <td>
|
---|
| 101 | <TMPL_IF mayadd>
|
---|
[627] | 102 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&block=<TMPL_VAR NAME=fblock>&fbid=<TMPL_VAR NAME=fbid>&parent=<TMPL_VAR NAME=fbparent>"><TMPL_VAR NAME=fblock></a>
|
---|
[568] | 103 | <TMPL_ELSE>
|
---|
| 104 | <TMPL_VAR NAME=fblock>
|
---|
| 105 | </TMPL_IF>
|
---|
| 106 | </td>
|
---|
[467] | 107 | <td><TMPL_VAR NAME=frange></td>
|
---|
[568] | 108 | </TMPL_IF>
|
---|
[467] | 109 | </tr>
|
---|
| 110 | </TMPL_LOOP>
|
---|
| 111 | </table>
|
---|
| 112 | <TMPL_ELSE>
|
---|
| 113 | <br>
|
---|
| 114 | <hr class="w30">
|
---|
[568] | 115 | <div class="tbltitle">No unassigned blocks in <TMPL_VAR NAME=block></div>
|
---|
[467] | 116 | </TMPL_IF>
|
---|