1 | <TMPL_IF blockmsg><br><div class="strongwarning blockcenter w70"><TMPL_VAR NAME=blockmsg></div><br></TMPL_IF>
|
---|
2 |
|
---|
3 | <div class="tbltitle">Subnets in <TMPL_VAR NAME=block>
|
---|
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>
|
---|
5 | </div>
|
---|
6 |
|
---|
7 | <TMPL_VAR NAME=addperm>
|
---|
8 |
|
---|
9 | <TMPL_IF contlist>
|
---|
10 | <hr class="w30">
|
---|
11 | <div class="tbltitle">Containers</div>
|
---|
12 | <br>
|
---|
13 | <table class="center altrows" width="98%" cellspacing="0">
|
---|
14 | <tr class="headrow">
|
---|
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>
|
---|
25 | <tr>
|
---|
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>
|
---|
45 | <table width="98%" cellspacing="0" class="center altrows">
|
---|
46 | <tr>
|
---|
47 | <td class="heading">CIDR allocation</td>
|
---|
48 | <td class="heading">Location</td>
|
---|
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 |
|
---|
55 | <TMPL_LOOP NAME=alloclist>
|
---|
56 | <tr>
|
---|
57 | <td>
|
---|
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>
|
---|
60 | </td>
|
---|
61 | <td><TMPL_VAR NAME=city></td>
|
---|
62 | <td><TMPL_VAR NAME=type></td>
|
---|
63 | <td><TMPL_VAR NAME=custid></td>
|
---|
64 | <td><TMPL_VAR NAME=swip><TMPL_IF partswip><small>*</small></TMPL_IF></td>
|
---|
65 | <td><TMPL_VAR NAME=desc></td>
|
---|
66 | </tr>
|
---|
67 | </TMPL_LOOP>
|
---|
68 | </table>
|
---|
69 | <TMPL_ELSE>
|
---|
70 | <hr class="w30">
|
---|
71 | <div class="tbltitle">No usage allocations in <TMPL_VAR NAME=block></div>
|
---|
72 | </TMPL_IF>
|
---|
73 |
|
---|
74 | <TMPL_IF maydel>
|
---|
75 | <div class="tbltitle">
|
---|
76 | <br>
|
---|
77 | <form action="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi" method=POST>
|
---|
78 | <fieldset><legend class="noshow"> </legend>
|
---|
79 | <input type=hidden name=action value="delete">
|
---|
80 | <input type=hidden name=block value="<TMPL_VAR NAME=self_id>">
|
---|
81 | <input type=hidden name=basetype value="b">
|
---|
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 |
|
---|
91 | <div class="tbltitle">Free blocks within <TMPL_VAR NAME=block></div>
|
---|
92 |
|
---|
93 | <TMPL_IF freelist>
|
---|
94 | <table width="98%" cellspacing="0" class="center altrows">
|
---|
95 | <tr>
|
---|
96 | <td class="heading">CIDR block</td>
|
---|
97 | <td class="heading">Range</td>
|
---|
98 | </tr>
|
---|
99 |
|
---|
100 | <TMPL_LOOP name=freelist>
|
---|
101 | <tr>
|
---|
102 | <TMPL_IF newvrf><td colspan=2>vrf: <TMPL_VAR NAME=newvrf></td>
|
---|
103 | <TMPL_ELSE>
|
---|
104 | <td>
|
---|
105 | <TMPL_IF mayadd>
|
---|
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>
|
---|
107 | <TMPL_ELSE>
|
---|
108 | <TMPL_VAR NAME=fblock>
|
---|
109 | </TMPL_IF>
|
---|
110 | <TMPL_IF resv><br>(Reserved to expand <TMPL_VAR NAME=resv>)</TMPL_IF>
|
---|
111 | </td>
|
---|
112 | <td><TMPL_VAR NAME=frange></td>
|
---|
113 | </TMPL_IF>
|
---|
114 | </tr>
|
---|
115 | </TMPL_LOOP>
|
---|
116 | </table>
|
---|
117 | <TMPL_ELSE>
|
---|
118 | <br>
|
---|
119 | <hr class="w30">
|
---|
120 | <div class="tbltitle">No unassigned blocks in <TMPL_VAR NAME=block></div>
|
---|
121 | </TMPL_IF>
|
---|