source: branches/stable/assign.html@ 530

Last change on this file since 530 was 508, checked in by Kris Deugau, 13 years ago

/branches/stable

Prep-for-release cleanup of buglets found making sure the demo
install works

  • Clean up instructions for creating the database. Apparently the PL/pgSQL "language" module required for the last-modified triggers can't be installed by a regular user, and isn't available by default. O_o
  • Fix a missed $IPDB::webpath-in-single-quotes
  • Add a quick hack to allow automagical allocation from private net ranges. See #38.
  • Partially convert some critical bits to use bound parameters in SQL for new allocations. See #34, mostly cleaned up already on /trunk or /branches/htmlform
  • Set $privdata = internally so that an allocation via admin tools doesn't error out
File size: 1.9 KB
Line 
1<div class="indent">
2<div class="heading">Assign IPs</div><br>
3<table class="regular" bgcolor="black" cellspacing="1" cellpadding="1">
4<form method="POST" action="main.cgi" class="regular">
5<tr class="color1">
6<td>Customer location:&nbsp;</td><td>
7<select name="city"><option selected>-</option>
8$$ALLCITIES$$
9</select>
10&nbsp;<a href="javascript:popNotes('$$WEBPATH$$/newcity.html')">Add new location</a>
11</td>
12</tr>
13<tr class="color2">
14<td>Allocation type:</td><td>
15<select name="alloctype">
16$$TYPELIST$$
17</select>
18<input type="button" value=" ? " onclick="helpAllocTypes()" class="regular">
19</td>
20</tr><tr class="color1">
21<td>Subnet CIDR mask length:&nbsp;</td><td valign=top>&nbsp;/&nbsp;<input type="text" name="maskbits" size="3" maxlength="3"></td>
22</tr><tr class="color2">
23<td>Customer ID:&nbsp;</td><td><input type="text" name="custid" size="15" maxlength="15"> (Only required for Customer allocations)</td>
24</tr><tr class="color1">
25<td>Route from/through:&nbsp;</td><td>
26<select name="pop"><option selected value=>-</option>
27$$POPLIST$$
28</select>
29</td>
30</tr>
31<tr class="hack"><td>Wifi tower/Fibre demarc</td><td>
32<select name="node"><option selected>-</option>
33$$NODELIST$$
34</select>
35&nbsp;<a href="javascript:popNotes('$$WEBPATH$$/newnode.html')">Add new location</a>
36</td></tr>
37<tr class="color2">
38<td>Route/allocate from this master:&nbsp;</td><td>$$MASTERLIST$$
39Allow automatic allocation from private IP ranges:<input type=checkbox $$ALLOWPRIV$$ name=allowpriv>
40</td>
41</tr><tr class="color1">
42<td>Circuit ID:&nbsp;</td><td><input name=circid size=40></td>
43</tr><tr class="color2">
44<td>Description/Name:&nbsp;</td><td><input name="desc" size=40></td>
45</tr><tr class="color1">
46<td>Notes:&nbsp;</td><td><textarea name="notes" rows="3" cols="40"></textarea></td>
47</tr>
48$$PRIVDATA$$
49<tr class="$$BUTTONROWCOLOUR$$">
50<td class="center" colspan="2"><input type="submit" value=" Assign "></td>
51<input type="hidden" name="action" value="confirm">
52</tr>
53</table>
54</div>
Note: See TracBrowser for help on using the repository browser.