source: branches/htmlform/templates/confirm.tmpl@ 506

Last change on this file since 506 was 503, checked in by Kris Deugau, 13 years ago

/branches/htmlform

Checkpoint, clearing out references to printError()
All ACL checks that generate error pages should now be converted
to use the new aclerror template. See #15.
Fix a minor bug in CustIDCK.pm - calls to custid_check are being
treated as an object call for some reason.

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