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 | <br>
|
---|
5 |
|
---|
6 | <TMPL_IF sublist>
|
---|
7 | <table width="98%" cellspacing="0" class="center">
|
---|
8 |
|
---|
9 | <tr>
|
---|
10 | <td class="heading">Netblock</td>
|
---|
11 | <td class="heading">City</td>
|
---|
12 | <td class="heading">Type</td>
|
---|
13 | <td class="heading">CustID</td>
|
---|
14 | <td class="heading">Free stats</td>
|
---|
15 | <td class="heading">Description/Name</td>
|
---|
16 | </tr>
|
---|
17 |
|
---|
18 | <TMPL_LOOP NAME=sublist>
|
---|
19 | <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
|
---|
20 | <td>
|
---|
21 | <TMPL_IF subblock>Sub </TMPL_IF>
|
---|
22 | <TMPL_IF hassubs>
|
---|
23 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&parent=<TMPL_VAR NAME=id>"><TMPL_VAR NAME=block></a>
|
---|
24 | <TMPL_ELSE>
|
---|
25 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&id=<TMPL_VAR NAME=id>&basetype=b"><TMPL_VAR NAME=block></a>
|
---|
26 | <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>
|
---|
27 | </TMPL_IF>
|
---|
28 | </td>
|
---|
29 | <td><TMPL_VAR NAME=city></td>
|
---|
30 | <td><TMPL_VAR NAME=type></td>
|
---|
31 | <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/search.cgi?stype=q&input=<TMPL_VAR NAME=custid>"><TMPL_VAR NAME=custid></a></td>
|
---|
32 | <td><TMPL_IF hassubs><TMPL_VAR NAME=subfree> free<TMPL_IF subfree>, largest <TMPL_VAR ESCAPE=HTML NAME=lfree></TMPL_IF></TMPL_IF>
|
---|
33 | </td>
|
---|
34 | <td><TMPL_VAR NAME=desc></td>
|
---|
35 | </tr>
|
---|
36 | </TMPL_LOOP>
|
---|
37 | </table>
|
---|
38 | <TMPL_ELSE>
|
---|
39 | <hr class="w30">
|
---|
40 | <div class="tbltitle">No allocations in <TMPL_VAR NAME=block>
|
---|
41 | <TMPL_IF maydel>
|
---|
42 | <br>
|
---|
43 | <form action="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi" method=POST>
|
---|
44 | <fieldset><legend class="noshow"> </legend>
|
---|
45 | <input type=hidden name=action value="delete">
|
---|
46 | <input type=hidden name=block value="<TMPL_VAR NAME=self_id>">
|
---|
47 | <input type=hidden name=basetype value="b">
|
---|
48 | <input type=submit value=" Remove this block ">
|
---|
49 | </fieldset>
|
---|
50 | </form>
|
---|
51 | </TMPL_IF>
|
---|
52 | </div>
|
---|
53 | </TMPL_IF>
|
---|
54 |
|
---|
55 | <br>
|
---|
56 | <hr class="w60">
|
---|
57 |
|
---|
58 | <div class="tbltitle">Free blocks within <TMPL_VAR NAME=block></div>
|
---|
59 |
|
---|
60 | <TMPL_IF freelist>
|
---|
61 | <table width="98%" cellspacing="0" class="center">
|
---|
62 | <tr>
|
---|
63 | <td class="heading">CIDR block</td>
|
---|
64 | <td class="heading">Range</td>
|
---|
65 | </tr>
|
---|
66 |
|
---|
67 | <TMPL_LOOP name=freelist>
|
---|
68 | <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
|
---|
69 | <TMPL_IF newvrf><td colspan=2>vrf: <TMPL_VAR NAME=newvrf></td>
|
---|
70 | <TMPL_ELSE>
|
---|
71 | <td>
|
---|
72 | <TMPL_IF mayadd>
|
---|
73 | <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>
|
---|
74 | <TMPL_ELSE>
|
---|
75 | <TMPL_VAR NAME=fblock>
|
---|
76 | </TMPL_IF>
|
---|
77 | <TMPL_IF resv><br>(Reserved to expand <TMPL_VAR NAME=resv>)</TMPL_IF>
|
---|
78 | </td>
|
---|
79 | <td><TMPL_VAR NAME=frange></td>
|
---|
80 | </TMPL_IF>
|
---|
81 | </tr>
|
---|
82 | </TMPL_LOOP>
|
---|
83 | </table>
|
---|
84 | <TMPL_ELSE>
|
---|
85 | <br>
|
---|
86 | <hr class="w30">
|
---|
87 | <div class="tbltitle">No unassigned blocks in <TMPL_VAR NAME=block></div>
|
---|
88 | </TMPL_IF>
|
---|