1 | <TMPL_IF err>
|
---|
2 | <div class="regular err">
|
---|
3 | <p><TMPL_VAR NAME=err></p>
|
---|
4 | <input type="button" value="Back" onclick="history.go(-1)">
|
---|
5 | </div>
|
---|
6 | <TMPL_ELSE>
|
---|
7 |
|
---|
8 | <div class="indent">
|
---|
9 | <form method="POST" action="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi">
|
---|
10 | <fieldset><legend class="noshow"> </legend>
|
---|
11 | <input type="hidden" name="action" value="domerge">
|
---|
12 | <input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
|
---|
13 | <input type="hidden" name="scope" value="<TMPL_VAR NAME=scope>">
|
---|
14 | <TMPL_IF ismaster>
|
---|
15 | <input type="hidden" name="typelist" value="mm">
|
---|
16 | </TMPL_IF>
|
---|
17 |
|
---|
18 | <table class="regular altrows" cellspacing="1" cellpadding="1">
|
---|
19 | <tr class="heading">
|
---|
20 | <td colspan="2">Merge/extend allocation(s)
|
---|
21 | <TMPL_IF ispool>
|
---|
22 | <div style="float:right;"><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&pool=<TMPL_VAR NAME=block>">List IPs</a></div>
|
---|
23 | </TMPL_IF></td>
|
---|
24 | </tr>
|
---|
25 | <tr>
|
---|
26 | <td>Current netblock:</td>
|
---|
27 | <td><TMPL_VAR NAME=oldblock> (<TMPL_VAR NAME=oldtype>)</td>
|
---|
28 | </tr>
|
---|
29 | <tr>
|
---|
30 | <td>Netblock to be created based on netmask of /<TMPL_VAR NAME=newmask>:</td>
|
---|
31 | <td><TMPL_VAR NAME=newblock><input type="hidden" name="newmask" value="<TMPL_VAR NAME=newmask>"></td>
|
---|
32 | </tr>
|
---|
33 | <tr><td>New allocation type:</td>
|
---|
34 | <td><TMPL_VAR NAME=newdisptype><input type="hidden" name="newtype" value="<TMPL_VAR NAME=newtype>"></td>
|
---|
35 | </tr>
|
---|
36 | <tr>
|
---|
37 | <td>Existing allocations to merge into new allocation:</td>
|
---|
38 | <td>
|
---|
39 | <TMPL_LOOP NAME=mergealloc>
|
---|
40 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&id=<TMPL_VAR NAME=id>&basetype=b"><TMPL_VAR NAME=cidr></a> (<TMPL_VAR NAME=dispname>)
|
---|
41 | <input type="hidden" name="mid<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=id>"><br>
|
---|
42 | </TMPL_LOOP>
|
---|
43 | </td>
|
---|
44 | </tr>
|
---|
45 |
|
---|
46 | <TMPL_UNLESS ismaster>
|
---|
47 | <TMPL_UNLESS isleaf>
|
---|
48 | <tr>
|
---|
49 | <td>Merge scope:</td>
|
---|
50 | <td><TMPL_VAR NAME=vis_scope></td>
|
---|
51 | </tr>
|
---|
52 | </TMPL_UNLESS>
|
---|
53 | </TMPL_UNLESS>
|
---|
54 |
|
---|
55 | <TMPL_IF ispool>
|
---|
56 | <tr>
|
---|
57 | <td colspan="2" class="warning">
|
---|
58 | Warning: Any end-use suballocations within <TMPL_VAR NAME=newblock> will be converted<br>
|
---|
59 | to clusters of "used" IPs on a best-effort basis as per the merge scope above.<br>
|
---|
60 | Use the Back button and select a container type if you wish to keep these as netblocks.
|
---|
61 | </td>
|
---|
62 | </tr>
|
---|
63 | </TMPL_IF>
|
---|
64 |
|
---|
65 | <TMPL_IF isleaf>
|
---|
66 | <tr>
|
---|
67 | <td colspan="2" class="warning">
|
---|
68 | Warning: Any suballocations or pool IPs from the<br>
|
---|
69 | allocations above will be REMOVED in this merge!<br>
|
---|
70 | Use the Back button and select a container type if you wish to keep these.
|
---|
71 | </td>
|
---|
72 | </tr>
|
---|
73 | </TMPL_IF>
|
---|
74 |
|
---|
75 |
|
---|
76 | <tr>
|
---|
77 | <td class="center" colspan="2"><input type="submit" value=" Do merge "></td>
|
---|
78 | </tr>
|
---|
79 | </table>
|
---|
80 | <TMPL_IF ismaster>
|
---|
81 | <input type="hidden" name="alloctype" value="mm">
|
---|
82 | </TMPL_IF>
|
---|
83 | </fieldset>
|
---|
84 | </form>
|
---|
85 | </div>
|
---|
86 |
|
---|
87 | </TMPL_IF>
|
---|