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