source: trunk/templates/confirm.tmpl@ 687

Last change on this file since 687 was 687, checked in by Kris Deugau, 10 years ago

/trunk

CSS and layout cleanup, sort of. Convert tables with alternating row
colours to pure CSS (mainly to make addition of future fields, and future
*optional* or restricted-access fields, much easier). Play a little loose
with table structure to let headings and in-page "titles" continue to show
the main background colour instead of the "first line of the table" colour.

File size: 3.4 KB
Line 
1<TMPL_IF webpath></TMPL_IF>
2<TMPL_IF err>
3<div class="regular err">
4<p><TMPL_VAR NAME=err></p>
5<input type="button" value="Back" onclick="history.go(-1)">
6</div>
7<TMPL_ELSE>
8<div class="indent">
9
10<form method="POST" action="main.cgi" class="regular">
11<fieldset><legend class="noshow">&nbsp;</legend>
12<table class="regular altrows" cellspacing="1" cellpadding="1">
13<tr class="heading"><td>Please confirm</td></tr>
14
15<tr>
16<td>CIDR block to be allocated:</td>
17<td><TMPL_VAR NAME=cidr></td>
18</tr>
19
20<tr>
21<td>Block allocation is taken from:</td>
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=poolrdepth>"><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>
29<td><TMPL_VAR NAME=alloc_from></td>
30</TMPL_IF>
31</tr>
32
33<tr>
34<td>Reverse DNS:</td>
35<td>
36<TMPL_IF rdns><TMPL_VAR NAME=rdns><TMPL_ELSE>[ Keep default ]</TMPL_IF>
37<input type="button" value=" ? " onclick="helpRDNS()" class="regular">
38<TMPL_IF r_iplist>
39<div class="rdns revdata">
40<ul class="collapsible notalist">
41<li><label for="per-iplist">Per-IP reverse entries (click to show) <img src="<TMPL_VAR NAME=webpath>/images/tree_open.png"></label>
42<input type="checkbox" id="per-iplist" />
43<ul class="notalist">
44<li>
45<table>
46<TMPL_LOOP name="r_iplist">
47<tr class="revdata">
48<td><TMPL_VAR NAME=r_ip></td>
49<td><input class="host" name="host_<TMPL_VAR NAME=r_ip>" value="<TMPL_VAR NAME=iphost>"></td>
50</tr>
51</TMPL_LOOP>
52</table>
53</li>
54</ul>
55</li>
56</ul>
57</div>
58</TMPL_IF>
59
60</td>
61</tr>
62
63<tr>
64<td>City:</td>
65<td><TMPL_VAR NAME=city></td>
66</tr>
67
68<tr>
69<td>Layer-2/demarc node:</td>
70<td><TMPL_VAR NAME=nodename></td>
71</tr>
72
73<tr>
74<td>Allocation type:</td>
75<td><TMPL_VAR NAME=typefull></td>
76</tr>
77
78<tr>
79<td>Customer ID:</td>
80<td><TMPL_VAR NAME=custid></td>
81</tr>
82
83<tr>
84<td valign="top">Circuit ID:</td>
85<td><TMPL_VAR NAME=circid></td>
86</tr>
87
88<tr>
89<td valign="top">Description/name:</td>
90<td><TMPL_VAR NAME=desc></td>
91</tr>
92
93<tr>
94<td valign="top">Notes:</td>
95<td><TMPL_VAR NAME=notes></td>
96</tr>
97
98<TMPL_IF privdata>
99<tr>
100<td>Restricted data:</td>
101<td><TMPL_VAR NAME=privdata></td>
102</tr>
103</TMPL_IF>
104
105<!-- warn -->
106<tr>
107<td class="center" colspan="2">
108<TMPL_UNLESS poollist><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></TMPL_UNLESS>
109<input type="hidden" name="parent" value="<TMPL_VAR NAME=parent>">
110<input type="hidden" name="fbid" value="<TMPL_VAR NAME=fbid>">
111<input type="hidden" name="fullcidr" value="<TMPL_VAR NAME=cidr>">
112<input type="hidden" name="rdns" value="<TMPL_VAR NAME=rdns>">
113<input type="hidden" name="city" value="<TMPL_VAR NAME=city>">
114<input type="hidden" name="node" value="<TMPL_VAR NAME=nodeid>">
115<input type="hidden" name="alloctype" value="<TMPL_VAR NAME=alloc_type>">
116<input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>">
117<input type="hidden" name="circid" value="<TMPL_VAR NAME=circid>">
118<input type="hidden" name="desc" value="<TMPL_VAR NAME=desc>">
119<input type="hidden" name="notes" value="<TMPL_VAR NAME=notes>">
120<TMPL_IF privdata>
121<input type="hidden" name="privdata" value="<TMPL_VAR NAME=privdata>">
122</TMPL_IF>
123<TMPL_IF billinguser>
124<input type="hidden" name="billinguser" value="<TMPL_VAR NAME=billinguser>">
125</TMPL_IF>
126<input type="hidden" name="action" value="<TMPL_VAR NAME=action>">
127<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
128</td></tr>
129</table>
130</fieldset>
131</form>
132</div>
133</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.