source: branches/stable/templates/confirm.tmpl@ 600

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

/branches/stable

Introduce informational VRF tags on allocations to match uncomitted patch
in production.
Also add a minor main.cgi error-log-cleanup hack around deleting routed
blocks and master blocks instead of bending getBlockData() out of shape
only to have to put it back when the database structure changes get merged.

File size: 2.8 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="heading">Please confirm</div>
9<div class="indent">
10
11<form method="POST" action="main.cgi" class="regular">
12<fieldset><legend class="noshow">&nbsp;</legend>
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>
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>
29<td><TMPL_VAR NAME=alloc_from></td>
30</TMPL_IF>
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>VRF instance:&nbsp;</td>
45<td><TMPL_VAR NAME=vrf><input type="hidden" name="vrf" value="<TMPL_VAR NAME=vrf>"></td>
46</tr>
47
48<tr class="row1">
49<td>Allocation type:</td>
50<td><TMPL_VAR NAME=typefull></td>
51</tr>
52
53<tr class="row0">
54<td>Customer ID:</td>
55<td><TMPL_VAR NAME=custid></td>
56</tr>
57
58<tr class="row1">
59<td valign="top">Circuit ID:</td>
60<td><TMPL_VAR NAME=circid></td>
61</tr>
62
63<tr class="row0">
64<td valign="top">Description/name:</td>
65<td><TMPL_VAR NAME=desc></td>
66</tr>
67
68<tr class="row1">
69<td valign="top">Notes:</td>
70<td><TMPL_VAR NAME=notes></td>
71</tr>
72
73<TMPL_IF privdata>
74<tr class="row0">
75<td>Restricted data:</td>
76<td><TMPL_VAR NAME=privdata></td>
77</tr>
78</TMPL_IF>
79
80<!-- warn -->
81<tr class="<TMPL_IF privdata>row1<TMPL_ELSE>row0</TMPL_IF>">
82<td class="center" colspan="2">
83<TMPL_UNLESS poollist><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></TMPL_UNLESS>
84<input type="hidden" name="fullcidr" value="<TMPL_VAR NAME=cidr>">
85<input type="hidden" name="city" value="<TMPL_VAR NAME=city>">
86<input type="hidden" name="node" value="<TMPL_VAR NAME=nodeid>">
87<input type="hidden" name="alloctype" value="<TMPL_VAR NAME=alloc_type>">
88<input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>">
89<input type="hidden" name="circid" value="<TMPL_VAR NAME=circid>">
90<input type="hidden" name="desc" value="<TMPL_VAR NAME=desc>">
91<input type="hidden" name="notes" value="<TMPL_VAR NAME=notes>">
92<TMPL_IF privdata>
93<input type="hidden" name="privdata" value="<TMPL_VAR NAME=privdata>">
94</TMPL_IF>
95<TMPL_IF billinguser>
96<input type="hidden" name="billinguser" value="<TMPL_VAR NAME=billinguser>">
97</TMPL_IF>
98<input type="hidden" name="action" value="<TMPL_VAR NAME=action>">
99<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
100</td></tr>
101</table>
102</fieldset>
103</form>
104</div>
105</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.