source: trunk/templates/confirm.tmpl@ 888

Last change on this file since 888 was 878, checked in by Kris Deugau, 9 years ago

/trunk

Using "Reverse DNS" has caused a bit of confusion; change the primary
label on the allocation detail pages to "DNS name/pattern". Keep "reverse"
elsewhere since that's the link point into the DNS records.

File size: 5.3 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<TMPL_IF warning>
10<div class="center warning">
11<TMPL_VAR NAME=warning>
12</div>
13</TMPL_IF>
14<form method="POST" action="main.cgi" class="regular">
15<fieldset><legend class="noshow">&nbsp;</legend>
16<table class="regular altrows" cellspacing="1" cellpadding="1">
17<tr class="heading"><td>Please confirm</td></tr>
18
19<tr>
20<td>CIDR block to be allocated:</td>
21<td><TMPL_VAR NAME=cidr> <TMPL_IF resvblock>(<TMPL_VAR NAME=resvblock> reserved for expansion)</TMPL_IF></td>
22</tr>
23
24<tr>
25<td>Block allocation is taken from:</td>
26<TMPL_IF staticip>
27<td>
28<select name="parent">
29<TMPL_LOOP name=poollist> <option value="<TMPL_VAR NAME=poolid>"><TMPL_VAR NAME=poolblock> [<TMPL_VAR NAME=poolfree>] free IP(s) in <TMPL_VAR NAME=poolcit></option>
30</TMPL_LOOP></select>
31</td>
32<TMPL_ELSE>
33<td><TMPL_VAR NAME=alloc_from></td>
34</TMPL_IF>
35</tr>
36
37<tr>
38<td>DNS name/pattern:</td>
39<td>
40<TMPL_IF rdns><TMPL_VAR NAME=rdns><TMPL_ELSE>[ Keep default ]</TMPL_IF>
41<TMPL_IF dnslocal>&nbsp; &nbsp;[local]</TMPL_IF>
42<input type="button" value=" ? " onclick="helpRDNS()" class="regular">
43<TMPL_IF r_iplist>
44<div class="rdns revdata">
45<ul class="collapsible nocheckbox notalist">
46<li><label for="per-iplist">Per-IP reverse entries (click to show) <img src="<TMPL_VAR NAME=webpath>/images/tree_open.png"></label>
47<input type="checkbox" id="per-iplist" />
48<ul class="notalist">
49<li>
50<table>
51<TMPL_LOOP name="r_iplist">
52<tr class="revdata">
53<td><TMPL_VAR NAME=r_ip></td>
54<td><input class="host" name="host_<TMPL_VAR NAME=r_ip>" value="<TMPL_VAR NAME=iphost>"></td>
55</tr>
56</TMPL_LOOP>
57</table>
58</li>
59</ul>
60</li>
61</ul>
62</div>
63</TMPL_IF>
64</td>
65</tr>
66
67<tr>
68<td>City:</td>
69<td><TMPL_VAR NAME=city></td>
70</tr>
71
72<tr>
73<td>Layer-2/demarc node:</td>
74<td><TMPL_VAR NAME=nodename></td>
75</tr>
76
77<tr>
78<td>VLAN:</td>
79<td><TMPL_VAR NAME=vlan></td>
80</tr>
81
82<tr>
83<td>Allocation type:</td>
84<td><TMPL_VAR NAME=typefull></td>
85</tr>
86
87<tr>
88<td>Customer ID:</td>
89<td><TMPL_VAR NAME=custid></td>
90</tr>
91
92<tr>
93<td valign="top">Circuit ID:</td>
94<td><TMPL_VAR NAME=circid></td>
95</tr>
96
97<tr>
98<td valign="top">Description/name:</td>
99<td><TMPL_VAR NAME=desc></td>
100</tr>
101
102<tr>
103<td valign="top">Notes:</td>
104<td><TMPL_VAR NAME=notes></td>
105</tr>
106
107<TMPL_IF nocling>
108<tr>
109<td>Restricted data:</td>
110<td><TMPL_VAR NAME=privdata></td>
111</tr>
112
113<tr>
114<td>Configuration backup:</td>
115<td>
116<TMPL_IF backupfields>
117Device will be backed up as below
118<table><tr><td>Brand:</td><td><TMPL_VAR NAME=bkbrand></td></tr>
119<tr><td>Model:</td><td><TMPL_VAR NAME=bkmodel></td></tr>
120<tr><td>Access method:</td><td><TMPL_VAR NAME=bktype></td></tr>
121<tr><td>Connect from:</td><td><TMPL_VAR NAME=bksrc></td></tr>
122<tr><td>Username:</td><td><TMPL_VAR NAME=bkuser></td></tr>
123<tr><td>VTY password:</td><td><TMPL_VAR NAME=bkvpass></td></tr>
124<tr><td>Enable password:</td><td><TMPL_VAR NAME=bkepass></td></tr>
125<tr><td>Port:</td><td><TMPL_VAR NAME=bkport></td></tr>
126<tr><td>IP:</td><td><TMPL_VAR NAME=bkip></td></tr>
127</table>
128<TMPL_ELSE>
129Device/assignment not flagged for backup
130</TMPL_IF>
131</td>
132</tr>
133</TMPL_IF>
134
135<!-- warn -->
136<tr>
137<td class="center" colspan="2">
138<TMPL_UNLESS poollist>
139<input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>">
140<input type="hidden" name="parent" value="<TMPL_VAR NAME=parent>">
141</TMPL_UNLESS>
142<input type="hidden" name="fbid" value="<TMPL_VAR NAME=fbid>">
143<TMPL_IF resvblock><input type="hidden" name="reserve" value="<TMPL_VAR NAME=reserve>"></TMPL_IF>
144<input type="hidden" name="fullcidr" value="<TMPL_VAR NAME=cidr>">
145<input type="hidden" name="rdns" value="<TMPL_VAR NAME=rdns>">
146<input type="hidden" name="city" value="<TMPL_VAR NAME=city>">
147<input type="hidden" name="node" value="<TMPL_VAR NAME=nodeid>">
148<input type="hidden" name="vrf" value="<TMPL_VAR NAME=vrf>">
149<input type="hidden" name="vlan" value="<TMPL_VAR NAME=vlan>">
150<input type="hidden" name="alloctype" value="<TMPL_VAR NAME=alloc_type>">
151<input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>">
152<input type="hidden" name="circid" value="<TMPL_VAR NAME=circid>">
153<input type="hidden" name="desc" value="<TMPL_VAR NAME=desc>">
154<input type="hidden" name="notes" value="<TMPL_VAR NAME=notes>">
155<TMPL_IF nocling>
156<input type="hidden" name="privdata" value="<TMPL_VAR NAME=privdata>">
157<TMPL_IF backupfields>
158<input type="hidden" name="backupfields" value="<TMPL_VAR NAME=backupfields>">
159<input type="hidden" name="bkbrand" value="<TMPL_VAR NAME=bkbrand>">
160<input type="hidden" name="bkmodel" value="<TMPL_VAR NAME=bkmodel>">
161<input type="hidden" name="bktype" value="<TMPL_VAR NAME=bktype>">
162<input type="hidden" name="bksrc" value="<TMPL_VAR NAME=bksrc>">
163<input type="hidden" name="bkuser" value="<TMPL_VAR NAME=bkuser>">
164<input type="hidden" name="bkvpass" value="<TMPL_VAR NAME=bkvpass>">
165<input type="hidden" name="bkepass" value="<TMPL_VAR NAME=bkepass>">
166<input type="hidden" name="bkport" value="<TMPL_VAR NAME=bkport>">
167<input type="hidden" name="bkip" value="<TMPL_VAR NAME=bkip>">
168</TMPL_IF>
169</TMPL_IF>
170<TMPL_IF billinguser>
171<input type="hidden" name="billinguser" value="<TMPL_VAR NAME=billinguser>">
172</TMPL_IF>
173<input type="hidden" name="action" value="<TMPL_VAR NAME=action>">
174<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
175</td></tr>
176</table>
177</fieldset>
178</form>
179</div>
180</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.