source: trunk/templates/confirm.tmpl@ 753

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

/trunk

Start adding support for advisory "reserved block" assignments - when
creating a new assignment, flag an equal-sized block ahead or behind
to expand the assignment in the future. See #24.

  • free block assignment
  • guided assignment (still needs tweaking to dodge existing reserved blocks)
  • note flagged blocks in free block list
File size: 3.9 KB
RevLine 
[512]1<TMPL_IF webpath></TMPL_IF>
[463]2<TMPL_IF err>
[503]3<div class="regular err">
[463]4<p><TMPL_VAR NAME=err></p>
5<input type="button" value="Back" onclick="history.go(-1)">
6</div>
7<TMPL_ELSE>
[461]8<div class="indent">
[692]9<TMPL_IF warning>
10<div class="center warning">
11<TMPL_VAR NAME=warning>
12</div>
13</TMPL_IF>
[463]14<form method="POST" action="main.cgi" class="regular">
[513]15<fieldset><legend class="noshow">&nbsp;</legend>
[687]16<table class="regular altrows" cellspacing="1" cellpadding="1">
17<tr class="heading"><td>Please confirm</td></tr>
[461]18
[687]19<tr>
[461]20<td>CIDR block to be allocated:</td>
[692]21<td><TMPL_VAR NAME=cidr> <TMPL_IF resvblock>(<TMPL_VAR NAME=resvblock> reserved for expansion)</TMPL_IF></td>
[461]22</tr>
23
[687]24<tr>
[461]25<td>Block allocation is taken from:</td>
[463]26<TMPL_IF staticip>
27<td>
28<select name="alloc_from">
[575]29<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>
[463]30</TMPL_LOOP></select>
31</td>
32<TMPL_ELSE>
[461]33<td><TMPL_VAR NAME=alloc_from></td>
[463]34</TMPL_IF>
[461]35</tr>
36
[687]37<tr>
[674]38<td>Reverse DNS:</td>
39<td>
40<TMPL_IF rdns><TMPL_VAR NAME=rdns><TMPL_ELSE>[ Keep default ]</TMPL_IF>
[585]41<input type="button" value=" ? " onclick="helpRDNS()" class="regular">
[674]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">
[687]51<tr class="revdata">
[674]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
[585]64</td>
65</tr>
66
[687]67<tr>
[461]68<td>City:</td>
69<td><TMPL_VAR NAME=city></td>
70</tr>
71
[687]72<tr>
[633]73<td>Layer-2/demarc node:</td>
[461]74<td><TMPL_VAR NAME=nodename></td>
75</tr>
76
[687]77<tr>
[691]78<td>VRF instance:</td>
79<td><TMPL_VAR NAME=vrf></td>
80</tr>
81
82<tr>
83<td>VLAN:</td>
84<td><TMPL_VAR NAME=vlan></td>
85</tr>
86
87<tr>
[461]88<td>Allocation type:</td>
89<td><TMPL_VAR NAME=typefull></td>
90</tr>
91
[687]92<tr>
[461]93<td>Customer ID:</td>
94<td><TMPL_VAR NAME=custid></td>
95</tr>
96
[687]97<tr>
[461]98<td valign="top">Circuit ID:</td>
99<td><TMPL_VAR NAME=circid></td>
100</tr>
101
[687]102<tr>
[461]103<td valign="top">Description/name:</td>
104<td><TMPL_VAR NAME=desc></td>
105</tr>
106
[687]107<tr>
[461]108<td valign="top">Notes:</td>
109<td><TMPL_VAR NAME=notes></td>
110</tr>
111
112<TMPL_IF privdata>
[687]113<tr>
[461]114<td>Restricted data:</td>
115<td><TMPL_VAR NAME=privdata></td>
116</tr>
117</TMPL_IF>
118
119<!-- warn -->
[687]120<tr>
[461]121<td class="center" colspan="2">
[463]122<TMPL_UNLESS poollist><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></TMPL_UNLESS>
[633]123<input type="hidden" name="parent" value="<TMPL_VAR NAME=parent>">
124<input type="hidden" name="fbid" value="<TMPL_VAR NAME=fbid>">
[692]125<TMPL_IF resvblock><input type="hidden" name="reserve" value="<TMPL_VAR NAME=reserve>"></TMPL_IF>
[461]126<input type="hidden" name="fullcidr" value="<TMPL_VAR NAME=cidr>">
[585]127<input type="hidden" name="rdns" value="<TMPL_VAR NAME=rdns>">
[461]128<input type="hidden" name="city" value="<TMPL_VAR NAME=city>">
129<input type="hidden" name="node" value="<TMPL_VAR NAME=nodeid>">
[691]130<input type="hidden" name="vrf" value="<TMPL_VAR NAME=vrf>">
131<input type="hidden" name="vlan" value="<TMPL_VAR NAME=vlan>">
[461]132<input type="hidden" name="alloctype" value="<TMPL_VAR NAME=alloc_type>">
133<input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>">
134<input type="hidden" name="circid" value="<TMPL_VAR NAME=circid>">
135<input type="hidden" name="desc" value="<TMPL_VAR NAME=desc>">
136<input type="hidden" name="notes" value="<TMPL_VAR NAME=notes>">
137<TMPL_IF privdata>
138<input type="hidden" name="privdata" value="<TMPL_VAR NAME=privdata>">
139</TMPL_IF>
140<TMPL_IF billinguser>
141<input type="hidden" name="billinguser" value="<TMPL_VAR NAME=billinguser>">
142</TMPL_IF>
143<input type="hidden" name="action" value="<TMPL_VAR NAME=action>">
144<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
[463]145</td></tr>
146</table>
[461]147</fieldset>
148</form>
149</div>
[463]150</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.