source: trunk/templates/merge.tmpl@ 719

Last change on this file since 719 was 719, checked in by Kris Deugau, 9 years ago

/trunk

Scope options on emerge page weren't up to date. 'clearall' needed
to be relabelled, and the label it had needed the correct underlying
option ('clearpeer').
See #8.

File size: 2.4 KB
Line 
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">&nbsp;</legend>
11<input type="hidden" name="action" value="confmerge">
12<input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
13<TMPL_IF ismaster>
14<input type="hidden" name="alloctype" 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>
23</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>Enter new netmask:</td>
31<td>/<input name="newmask" size="5"></td>
32</tr>
33
34<TMPL_UNLESS ismaster>
35<tr>
36<td>Select type for new merged allocation:</td>
37<td>
38<select name="alloctype">
39<TMPL_LOOP name=typelist>
40 <option value="<TMPL_VAR NAME=type>"<TMPL_IF sel> selected</TMPL_IF>><TMPL_VAR NAME=listname></option></TMPL_LOOP>
41</select>
42</td>
43</tr>
44<tr>
45<td colspan="2" class="warning">
46Warning: Selecting "Customer netblock", "End-use netblock", or "Internal netblock"<br>
47as the target type will result in the loss of suballocation entries from the current allocations.<br>
48Selecting an IP pool type will attempt to retain suballocation data by<br>
49flagging consecutive IPs as "used" to match usage allocations.
50</td>
51</tr>
52<tr>
53<td>Merge scope:<br>(new or existing container types only)</td>
54<td>
55<input type="radio" name="mscope" value="keepall">Keep mergable allocations as suballocations of new block<br>
56<input type="radio" name="mscope" value="mergepeer" checked="checked">Make suballocations direct children of new block<br>
57<input type="radio" name="mscope" value="clearpeer">Keep only suballocations of <TMPL_VAR NAME=oldblock><br>
58<input type="radio" name="mscope" value="clearall">Clear all suballocations
59</td>
60</tr>
61
62<TMPL_ELSE>
63<tr>
64<td colspan="2" class="warning">All suballocations will be preserved when merging master blocks</td>
65</tr>
66</TMPL_UNLESS>
67
68<tr>
69<td class="center" colspan="2"><input type="submit" value=" Show merge details "></td>
70</tr>
71</table>
72</fieldset>
73</form>
74</div>
75
76</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.