source: trunk/templates/confirm.tmpl@ 766

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

/trunk

Fixes for "Allocation complete" screen:

  • Refine and tune order and source of information for breadcrumbs correctness on guided allocation of a static IP
  • Remove a little stale code lingering from "rdepth"
  • Tweak template parameters and CSS/layout for error reporting
File size: 3.9 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>Reverse DNS:</td>
39<td>
40<TMPL_IF rdns><TMPL_VAR NAME=rdns><TMPL_ELSE>[ Keep default ]</TMPL_IF>
41<input type="button" value=" ? " onclick="helpRDNS()" class="regular">
42<TMPL_IF r_iplist>
43<div class="rdns revdata">
44<ul class="collapsible notalist">
45<li><label for="per-iplist">Per-IP reverse entries (click to show) <img src="<TMPL_VAR NAME=webpath>/images/tree_open.png"></label>
46<input type="checkbox" id="per-iplist" />
47<ul class="notalist">
48<li>
49<table>
50<TMPL_LOOP name="r_iplist">
51<tr class="revdata">
52<td><TMPL_VAR NAME=r_ip></td>
53<td><input class="host" name="host_<TMPL_VAR NAME=r_ip>" value="<TMPL_VAR NAME=iphost>"></td>
54</tr>
55</TMPL_LOOP>
56</table>
57</li>
58</ul>
59</li>
60</ul>
61</div>
62</TMPL_IF>
63</td>
64</tr>
65
66<tr>
67<td>City:</td>
68<td><TMPL_VAR NAME=city></td>
69</tr>
70
71<tr>
72<td>Layer-2/demarc node:</td>
73<td><TMPL_VAR NAME=nodename></td>
74</tr>
75
76<tr>
77<td>VRF instance:</td>
78<td><TMPL_VAR NAME=vrf></td>
79</tr>
80
81<tr>
82<td>VLAN:</td>
83<td><TMPL_VAR NAME=vlan></td>
84</tr>
85
86<tr>
87<td>Allocation type:</td>
88<td><TMPL_VAR NAME=typefull></td>
89</tr>
90
91<tr>
92<td>Customer ID:</td>
93<td><TMPL_VAR NAME=custid></td>
94</tr>
95
96<tr>
97<td valign="top">Circuit ID:</td>
98<td><TMPL_VAR NAME=circid></td>
99</tr>
100
101<tr>
102<td valign="top">Description/name:</td>
103<td><TMPL_VAR NAME=desc></td>
104</tr>
105
106<tr>
107<td valign="top">Notes:</td>
108<td><TMPL_VAR NAME=notes></td>
109</tr>
110
111<TMPL_IF privdata>
112<tr>
113<td>Restricted data:</td>
114<td><TMPL_VAR NAME=privdata></td>
115</tr>
116</TMPL_IF>
117
118<!-- warn -->
119<tr>
120<td class="center" colspan="2">
121<TMPL_UNLESS poollist>
122<input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>">
123<input type="hidden" name="parent" value="<TMPL_VAR NAME=parent>">
124</TMPL_UNLESS>
125<input type="hidden" name="fbid" value="<TMPL_VAR NAME=fbid>">
126<TMPL_IF resvblock><input type="hidden" name="reserve" value="<TMPL_VAR NAME=reserve>"></TMPL_IF>
127<input type="hidden" name="fullcidr" value="<TMPL_VAR NAME=cidr>">
128<input type="hidden" name="rdns" value="<TMPL_VAR NAME=rdns>">
129<input type="hidden" name="city" value="<TMPL_VAR NAME=city>">
130<input type="hidden" name="node" value="<TMPL_VAR NAME=nodeid>">
131<input type="hidden" name="vrf" value="<TMPL_VAR NAME=vrf>">
132<input type="hidden" name="vlan" value="<TMPL_VAR NAME=vlan>">
133<input type="hidden" name="alloctype" value="<TMPL_VAR NAME=alloc_type>">
134<input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>">
135<input type="hidden" name="circid" value="<TMPL_VAR NAME=circid>">
136<input type="hidden" name="desc" value="<TMPL_VAR NAME=desc>">
137<input type="hidden" name="notes" value="<TMPL_VAR NAME=notes>">
138<TMPL_IF privdata>
139<input type="hidden" name="privdata" value="<TMPL_VAR NAME=privdata>">
140</TMPL_IF>
141<TMPL_IF billinguser>
142<input type="hidden" name="billinguser" value="<TMPL_VAR NAME=billinguser>">
143</TMPL_IF>
144<input type="hidden" name="action" value="<TMPL_VAR NAME=action>">
145<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
146</td></tr>
147</table>
148</fieldset>
149</form>
150</div>
151</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.