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