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

Last change on this file since 489 was 474, checked in by Kris Deugau, 14 years ago

/branches/htmlform

Fix buglet in showmaster.tmpl that prevented block from being
passed on for deletion
Fix formatting buglet in showrouted.tmpl
Convert confirm-delete to template.
See #3.

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