source: trunk/templates/confirm.tmpl@ 638

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

/trunk

Commit 7/mumble for work done intermittently over the past ~year.
See #5, comment 25:

  • Netblock assignment
    • Update several supporting data-grabber subs in IPDB.pm
    • Update assignment sub
    • Update data-entry, confirmation, and acceptance/error page templates and related main.cgi sections
File size: 3.1 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=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 class="row0">
34<td>Reverse DNS pattern:</td>
35<td><TMPL_IF rdns><TMPL_VAR NAME=rdns><TMPL_ELSE>[ Keep default ]</TMPL_IF>
36<input type="button" value=" ? " onclick="helpRDNS()" class="regular">
37</td>
38</tr>
39
40<tr class="row1">
41<td>City:</td>
42<td><TMPL_VAR NAME=city></td>
43</tr>
44
45<tr class="row0">
46<td>Layer-2/demarc node:</td>
47<td><TMPL_VAR NAME=nodename></td>
48</tr>
49
50<tr class="row1">
51<td>Allocation type:</td>
52<td><TMPL_VAR NAME=typefull></td>
53</tr>
54
55<tr class="row0">
56<td>Customer ID:</td>
57<td><TMPL_VAR NAME=custid></td>
58</tr>
59
60<tr class="row1">
61<td valign="top">Circuit ID:</td>
62<td><TMPL_VAR NAME=circid></td>
63</tr>
64
65<tr class="row0">
66<td valign="top">Description/name:</td>
67<td><TMPL_VAR NAME=desc></td>
68</tr>
69
70<tr class="row1">
71<td valign="top">Notes:</td>
72<td><TMPL_VAR NAME=notes></td>
73</tr>
74
75<TMPL_IF privdata>
76<tr class="row0">
77<td>Restricted data:</td>
78<td><TMPL_VAR NAME=privdata></td>
79</tr>
80</TMPL_IF>
81
82<!-- warn -->
83<tr class="<TMPL_IF privdata>row1<TMPL_ELSE>row0</TMPL_IF>">
84<td class="center" colspan="2">
85<TMPL_UNLESS poollist><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></TMPL_UNLESS>
86<input type="hidden" name="parent" value="<TMPL_VAR NAME=parent>">
87<input type="hidden" name="fbid" value="<TMPL_VAR NAME=fbid>">
88<input type="hidden" name="fullcidr" value="<TMPL_VAR NAME=cidr>">
89<input type="hidden" name="rdns" value="<TMPL_VAR NAME=rdns>">
90<input type="hidden" name="city" value="<TMPL_VAR NAME=city>">
91<input type="hidden" name="node" value="<TMPL_VAR NAME=nodeid>">
92<input type="hidden" name="alloctype" value="<TMPL_VAR NAME=alloc_type>">
93<input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>">
94<input type="hidden" name="circid" value="<TMPL_VAR NAME=circid>">
95<input type="hidden" name="desc" value="<TMPL_VAR NAME=desc>">
96<input type="hidden" name="notes" value="<TMPL_VAR NAME=notes>">
97<TMPL_IF privdata>
98<input type="hidden" name="privdata" value="<TMPL_VAR NAME=privdata>">
99</TMPL_IF>
100<TMPL_IF billinguser>
101<input type="hidden" name="billinguser" value="<TMPL_VAR NAME=billinguser>">
102</TMPL_IF>
103<input type="hidden" name="action" value="<TMPL_VAR NAME=action>">
104<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
105</td></tr>
106</table>
107</fieldset>
108</form>
109</div>
110</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.