source: trunk/templates/confirm.tmpl@ 599

Last change on this file since 599 was 585, checked in by Kris Deugau, 12 years ago

/trunk

Reverse DNS RPCing should now be complete for all add operations.
See #1.

Some fine-tuning may still be needed, eg for static IPs, convert
template placeholders before doing the RPC call; this could also
be done entirely on the DNS side at export instead.

File size: 3.1 KB
RevLine 
[512]1<TMPL_IF webpath></TMPL_IF>
[463]2<TMPL_IF err>
[503]3<div class="regular err">
[463]4<p><TMPL_VAR NAME=err></p>
5<input type="button" value="Back" onclick="history.go(-1)">
6</div>
7<TMPL_ELSE>
[461]8<div class="heading">Please confirm</div>
9<div class="indent">
[463]10
11<form method="POST" action="main.cgi" class="regular">
[513]12<fieldset><legend class="noshow">&nbsp;</legend>
[461]13<table class="regular" cellspacing="1" cellpadding="1">
14
15<tr class="row0">
16<td>CIDR block to be allocated:</td>
17<td><TMPL_VAR NAME=cidr></td>
18</tr>
19
20<tr class="row1">
21<td>Block allocation is taken from:</td>
[463]22<TMPL_IF staticip>
23<td>
24<select name="alloc_from">
[575]25<TMPL_LOOP name=poollist> <option value="<TMPL_VAR NAME=poolblock>,<TMPL_VAR NAME=poolrdepth>"><TMPL_VAR NAME=poolblock> [<TMPL_VAR NAME=poolfree>] free IP(s) in <TMPL_VAR NAME=poolcit></option>
[463]26</TMPL_LOOP></select>
27</td>
28<TMPL_ELSE>
[461]29<td><TMPL_VAR NAME=alloc_from></td>
[463]30</TMPL_IF>
[461]31</tr>
32
33<tr class="row0">
[585]34<td>Reverse DNS pattern:</td>
35<td><TMPL_IF rdns><TMPL_VAR NAME=rdns><TMPL_ELSE>[ Keep default ]</TMPL_IF>
36<input type="button" value=" ? " onclick="helpRDNS()" class="regular">
37</td>
38</tr>
39
40<tr class="row1">
[461]41<td>City:</td>
42<td><TMPL_VAR NAME=city></td>
43</tr>
44
[585]45<tr class="row0">
[461]46<td>Demarc switch/wifi tower:</td>
47<td><TMPL_VAR NAME=nodename></td>
48</tr>
49
[585]50<tr class="row1">
[461]51<td>Allocation type:</td>
52<td><TMPL_VAR NAME=typefull></td>
53</tr>
54
[585]55<tr class="row0">
[461]56<td>Customer ID:</td>
57<td><TMPL_VAR NAME=custid></td>
58</tr>
59
[585]60<tr class="row1">
[461]61<td valign="top">Circuit ID:</td>
62<td><TMPL_VAR NAME=circid></td>
63</tr>
64
[585]65<tr class="row0">
[461]66<td valign="top">Description/name:</td>
67<td><TMPL_VAR NAME=desc></td>
68</tr>
69
[585]70<tr class="row1">
[461]71<td valign="top">Notes:</td>
72<td><TMPL_VAR NAME=notes></td>
73</tr>
74
75<TMPL_IF privdata>
[585]76<tr class="row0">
[461]77<td>Restricted data:</td>
78<td><TMPL_VAR NAME=privdata></td>
79</tr>
80</TMPL_IF>
81
82<!-- warn -->
[585]83<tr class="<TMPL_IF privdata>row1<TMPL_ELSE>row0</TMPL_IF>">
[461]84<td class="center" colspan="2">
[463]85<TMPL_UNLESS poollist><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></TMPL_UNLESS>
[575]86<input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>">
[461]87<input type="hidden" name="fullcidr" value="<TMPL_VAR NAME=cidr>">
[585]88<input type="hidden" name="rdns" value="<TMPL_VAR NAME=rdns>">
[461]89<input type="hidden" name="city" value="<TMPL_VAR NAME=city>">
90<input type="hidden" name="node" value="<TMPL_VAR NAME=nodeid>">
91<input type="hidden" name="alloctype" value="<TMPL_VAR NAME=alloc_type>">
92<input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>">
93<input type="hidden" name="circid" value="<TMPL_VAR NAME=circid>">
94<input type="hidden" name="desc" value="<TMPL_VAR NAME=desc>">
95<input type="hidden" name="notes" value="<TMPL_VAR NAME=notes>">
96<TMPL_IF privdata>
97<input type="hidden" name="privdata" value="<TMPL_VAR NAME=privdata>">
98</TMPL_IF>
99<TMPL_IF billinguser>
100<input type="hidden" name="billinguser" value="<TMPL_VAR NAME=billinguser>">
101</TMPL_IF>
102<input type="hidden" name="action" value="<TMPL_VAR NAME=action>">
103<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
[463]104</td></tr>
105</table>
[461]106</fieldset>
107</form>
108</div>
[463]109</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.