source: branches/htmlform/templates/delete.tmpl@ 512

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

/branches/htmlform

Catch nuisance issue with templates that didn't previously include
the web path; now with it being set we need to put a placeholder
in so we don't spit HTML::Template errors.
See #3.

File size: 1.5 KB
Line 
1<TMPL_IF webpath></TMPL_IF>
2<div class="heading">Please confirm removal of:</div>
3<br>
4
5<table class="indent" cellspacing="1" cellpadding="1">
6
7<tr class="row0">
8<td>IP block:</td>
9<td><TMPL_VAR NAME=block></td>
10</tr>
11
12<tr class="row1">
13<td>City:</td>
14<td><TMPL_VAR NAME=city></td>
15</tr>
16
17<tr class="row0">
18<td>Type:</td>
19<td><TMPL_VAR NAME=disptype></td>
20</tr>
21
22<tr class="row1">
23<td>Customer ID:</td>
24<td><TMPL_VAR NAME=custid></td>
25</tr>
26
27<tr class="row0">
28<td>Circuit ID:</td>
29<td><TMPL_VAR NAME=circid></td>
30</tr>
31
32<tr class="row1">
33<td valign="top">Description/Name:</td>
34<td><TMPL_VAR NAME=desc></td>
35</tr>
36
37<tr class="row0">
38<td valign="top">Notes:</td>
39<td><TMPL_VAR NAME=notes></td>
40</tr>
41
42<TMPL_IF privdata>
43<tr class="row1">
44<td>Restricted data:</td>
45<td><TMPL_VAR NAME=privdata></td>
46</tr>
47</TMPL_IF>
48
49<tr class="warning">
50<td colspan="2">
51Warning: clicking confirm will remove this record entirely.
52<TMPL_IF delpool><br>Any IPs allocated from this pool will also be removed!</TMPL_IF>
53</td>
54</tr>
55
56<tr class="row<TMPL_IF privdata>0<TMPL_ELSE>1</TMPL_IF>">
57<td class="center" colspan="2">
58<form action="main.cgi" method="POST" class="regular">
59<fieldset><legend></legend>
60<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
61<input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
62<input type="hidden" name="city" value="<TMPL_VAR NAME=city>">
63<input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>">
64<input type="hidden" name="action" value="finaldelete">
65</fieldset>
66</form>
67</td>
68</tr>
69
70</table>
Note: See TracBrowser for help on using the repository browser.