source: trunk/templates/delete.tmpl@ 597

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

/trunk

RPC integration for allocation-delete should be complete. See #1.
Requires dnsadmin:/trunk@r459 or newer.

  • Pass a couple more bits into deleteBlock()
  • Use the new values when making the RPC call
  • Rearrange the delete-confirm page a little to allow the new "delete forward DNS too?" checkbox to actually contribute
  • Tweak new-allocation RPC call a little; don't bother if no rDNS was passed in.
File size: 1.8 KB
Line 
1<TMPL_IF webpath></TMPL_IF>
2<div class="heading">Please confirm removal of:</div>
3<br>
4
5<form action="main.cgi" method="POST" class="regular">
6<fieldset><legend class="noshow">&nbsp;</legend>
7<table class="indent" cellspacing="1" cellpadding="1">
8
9<tr class="row0">
10<td>IP block:</td>
11<td><TMPL_VAR NAME=block></td>
12</tr>
13
14<tr class="row1">
15<td>Reverse DNS pattern:</td>
16<td><TMPL_VAR NAME=rdns></td>
17</tr>
18
19<tr class="row0">
20<td>Remove associated forward DNS entry?</td>
21<td><input type="checkbox" name="delforward"<TMPL_IF autodel> checked</TMPL_IF>></td>
22</tr>
23
24<tr class="row1">
25<td>City:</td>
26<td><TMPL_VAR NAME=city></td>
27</tr>
28
29<tr class="row0">
30<td>Type:</td>
31<td><TMPL_VAR NAME=disptype></td>
32</tr>
33
34<tr class="row1">
35<td>Customer ID:</td>
36<td><TMPL_VAR NAME=custid></td>
37</tr>
38
39<tr class="row0">
40<td>Circuit ID:</td>
41<td><TMPL_VAR ESCAPE=HTML NAME=circid></td>
42</tr>
43
44<tr class="row1">
45<td valign="top">Description/Name:</td>
46<td><TMPL_VAR ESCAPE=HTML NAME=desc></td>
47</tr>
48
49<tr class="row0">
50<td valign="top">Notes:</td>
51<td><TMPL_VAR NAME=notes></td>
52</tr>
53
54<TMPL_IF privdata>
55<tr class="row1">
56<td valign="top">Restricted data:</td>
57<td><TMPL_VAR NAME=privdata></td>
58</tr>
59</TMPL_IF>
60
61<tr class="warning">
62<td colspan="2">
63Warning: clicking confirm will remove this record entirely.
64<TMPL_IF delpool><br>Any IPs allocated from this pool will also be removed!</TMPL_IF>
65</td>
66</tr>
67
68<tr class="row<TMPL_IF privdata>0<TMPL_ELSE>1</TMPL_IF>">
69<td class="center" colspan="2">
70<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
71<input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
72<input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>">
73<input type="hidden" name="action" value="finaldelete">
74</td>
75</tr>
76
77</table>
78</fieldset>
79</form>
Note: See TracBrowser for help on using the repository browser.