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 | <TMPL_IF ismaster>
|
---|
14 | <input type="hidden" name="typelist" value="mm">
|
---|
15 | </TMPL_IF>
|
---|
16 |
|
---|
17 | <table class="regular altrows" cellspacing="1" cellpadding="1">
|
---|
18 | <tr class="heading">
|
---|
19 | <td colspan="2">Merge/extend allocation(s)
|
---|
20 | <TMPL_IF ispool>
|
---|
21 | <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>
|
---|
22 | </TMPL_IF></td>
|
---|
23 | </tr>
|
---|
24 | <tr>
|
---|
25 | <td>Current netblock:</td>
|
---|
26 | <td><TMPL_VAR NAME=oldblock> (<TMPL_VAR NAME=oldtype>)</td>
|
---|
27 | </tr>
|
---|
28 | <tr>
|
---|
29 | <td>Netblock to be created based on netmask of /<TMPL_VAR NAME=newmask>:</td>
|
---|
30 | <td><TMPL_VAR NAME=newblock><input type="hidden" name="newmask" value="<TMPL_VAR NAME=newmask>"></td>
|
---|
31 | </tr>
|
---|
32 | <tr><td>New allocation type:</td>
|
---|
33 | <td><TMPL_VAR NAME=newdisptype><input type="hidden" name="newtype" value="<TMPL_VAR NAME=newtype>"></td>
|
---|
34 | </tr>
|
---|
35 | <tr>
|
---|
36 | <td>Existing allocations to merge into new allocation:</td>
|
---|
37 | <td>
|
---|
38 | <TMPL_LOOP NAME=mergealloc>
|
---|
39 | <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>)
|
---|
40 | <input type="hidden" name="mid<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=id>"><br>
|
---|
41 | </TMPL_LOOP>
|
---|
42 | </td>
|
---|
43 | </tr>
|
---|
44 | <tr>
|
---|
45 | <td>Existing freeblocks to merge under new allocation:</td>
|
---|
46 | <td>
|
---|
47 | <TMPL_LOOP NAME=mergefree><TMPL_VAR NAME=cidr><br>
|
---|
48 | <input type="hidden" name="fid<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=id>">
|
---|
49 | </TMPL_LOOP>
|
---|
50 | </td>
|
---|
51 | </tr>
|
---|
52 |
|
---|
53 | <TMPL_IF iscontainer>
|
---|
54 | <tr>
|
---|
55 | <td>Merge scope:</td>
|
---|
56 | <td><TMPL_VAR NAME=scope></td>
|
---|
57 | </tr>
|
---|
58 | </TMPL_IF>
|
---|
59 |
|
---|
60 | <TMPL_IF ispool>
|
---|
61 | <tr>
|
---|
62 | <td colspan="2" class="warning">
|
---|
63 | Warning: Any end-use suballocations within <TMPL_VAR NAME=newblock> will be converted<br>
|
---|
64 | to clusters of "used" IPs on a best-effort basis in this merge.<br>
|
---|
65 | Use the Back button and select a container type if you wish to keep these.
|
---|
66 | </td>
|
---|
67 | </tr>
|
---|
68 | </TMPL_IF>
|
---|
69 |
|
---|
70 | <TMPL_IF isleaf>
|
---|
71 | <tr>
|
---|
72 | <td colspan="2" class="warning">
|
---|
73 | Warning: Any suballocations or pool IPs from the<br>
|
---|
74 | allocations above will be REMOVED in this merge!<br>
|
---|
75 | Use the Back button and select a container type if you wish to keep these.
|
---|
76 | </td>
|
---|
77 | </tr>
|
---|
78 | </TMPL_IF>
|
---|
79 |
|
---|
80 |
|
---|
81 | <tr>
|
---|
82 | <td class="center" colspan="2"><input type="submit" value=" Do merge "></td>
|
---|
83 | </tr>
|
---|
84 | </table>
|
---|
85 | <TMPL_IF ismaster><input type="hidden" name="alloctype" value="mm"></TMPL_IF>
|
---|
86 | </fieldset>
|
---|
87 | </form>
|
---|
88 | </div>
|
---|
89 |
|
---|
90 | </TMPL_IF>
|
---|