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

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

/branches/htmlform

Finally dug up a least-nasty way to effectively get rid of the
useless <legend> tag (required in a <fieldset>, in turn required
in a <form>, if you want to be valid HTML 4.01 Strict).
See #3.

File size: 2.7 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">
25<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>
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">
34<td>City:</td>
35<td><TMPL_VAR NAME=city></td>
36</tr>
37
38<tr class="row1">
39<td>Demarc switch/wifi tower:</td>
40<td><TMPL_VAR NAME=nodename></td>
41</tr>
42
43<tr class="row0">
44<td>Allocation type:</td>
45<td><TMPL_VAR NAME=typefull></td>
46</tr>
47
48<tr class="row1">
49<td>Customer ID:</td>
50<td><TMPL_VAR NAME=custid></td>
51</tr>
52
53<tr class="row0">
54<td valign="top">Circuit ID:</td>
55<td><TMPL_VAR NAME=circid></td>
56</tr>
57
58<tr class="row1">
59<td valign="top">Description/name:</td>
60<td><TMPL_VAR NAME=desc></td>
61</tr>
62
63<tr class="row0">
64<td valign="top">Notes:</td>
65<td><TMPL_VAR NAME=notes></td>
66</tr>
67
68<TMPL_IF privdata>
69<tr class="row1">
70<td>Restricted data:</td>
71<td><TMPL_VAR NAME=privdata></td>
72</tr>
73</TMPL_IF>
74
75<!-- warn -->
76<tr class="<TMPL_IF privdata>row0<TMPL_ELSE>row1</TMPL_IF>">
77<td class="center" colspan="2">
[463]78<TMPL_UNLESS poollist><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></TMPL_UNLESS>
[461]79<input type="hidden" name="fullcidr" value="<TMPL_VAR NAME=cidr>">
80<input type="hidden" name="city" value="<TMPL_VAR NAME=city>">
81<input type="hidden" name="node" value="<TMPL_VAR NAME=nodeid>">
82<input type="hidden" name="alloctype" value="<TMPL_VAR NAME=alloc_type>">
83<input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>">
84<input type="hidden" name="circid" value="<TMPL_VAR NAME=circid>">
85<input type="hidden" name="desc" value="<TMPL_VAR NAME=desc>">
86<input type="hidden" name="notes" value="<TMPL_VAR NAME=notes>">
87<TMPL_IF privdata>
88<input type="hidden" name="privdata" value="<TMPL_VAR NAME=privdata>">
89</TMPL_IF>
90<TMPL_IF billinguser>
91<input type="hidden" name="billinguser" value="<TMPL_VAR NAME=billinguser>">
92</TMPL_IF>
93<input type="hidden" name="action" value="<TMPL_VAR NAME=action>">
94<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
[463]95</td></tr>
96</table>
[461]97</fieldset>
98</form>
99</div>
[463]100</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.