1 | <div class="indent">
|
---|
2 | <div class="tblsubtitle">Assign IP<TMPL_UNLESS fbip>s</TMPL_UNLESS></div>
|
---|
3 | <br>
|
---|
4 |
|
---|
5 | <form method="post" action="main.cgi" class="regular">
|
---|
6 | <fieldset><legend class="noshow"> </legend>
|
---|
7 |
|
---|
8 | <table class="regular" cellspacing="1" cellpadding="1">
|
---|
9 |
|
---|
10 | <TMPL_IF allocfrom>
|
---|
11 | <tr class="row0">
|
---|
12 | <TMPL_IF fbip>
|
---|
13 | <td>IP pool:</td>
|
---|
14 | <TMPL_ELSE>
|
---|
15 | <td>Free block selected:</td>
|
---|
16 | </TMPL_IF>
|
---|
17 | <td><TMPL_VAR NAME=allocfrom><input type="hidden" name="allocfrom" value="<TMPL_VAR NAME=allocfrom>">
|
---|
18 | <input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>">
|
---|
19 | </td>
|
---|
20 | </tr>
|
---|
21 | <tr class="row1">
|
---|
22 | <TMPL_IF fbip>
|
---|
23 | <td>IP:</td>
|
---|
24 | <td>
|
---|
25 | <TMPL_VAR NAME=block><input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
|
---|
26 | <input type="hidden" name="fbassign" value="y">
|
---|
27 | </td>
|
---|
28 | <TMPL_ELSE>
|
---|
29 | <td>Allocation:</td>
|
---|
30 | <td>
|
---|
31 | <input name="block" value="<TMPL_VAR NAME=block>">
|
---|
32 | <input type="hidden" name="fbassign" value="y">
|
---|
33 | </td>
|
---|
34 | </TMPL_IF>
|
---|
35 | </tr>
|
---|
36 | </TMPL_IF>
|
---|
37 |
|
---|
38 | <tr class="row0">
|
---|
39 | <td>Customer location:</td>
|
---|
40 | <td>
|
---|
41 | <select name="city">
|
---|
42 | <option selected="selected">-</option>
|
---|
43 | <TMPL_LOOP NAME=citylist>
|
---|
44 | <option><TMPL_VAR NAME=city></option></TMPL_LOOP>
|
---|
45 | </select>
|
---|
46 | <a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newcity.cgi')">Add new location</a>
|
---|
47 | </td>
|
---|
48 | </tr>
|
---|
49 |
|
---|
50 | <tr class="row1">
|
---|
51 | <td>Allocation type:</td>
|
---|
52 | <td>
|
---|
53 | <TMPL_IF fbip>
|
---|
54 | <TMPL_VAR NAME=fbdisptype><input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>">
|
---|
55 | <TMPL_ELSE>
|
---|
56 | <select name="alloctype">
|
---|
57 | <TMPL_LOOP name=typelist>
|
---|
58 | <option value="<TMPL_VAR NAME=type>"<TMPL_IF sel> selected</TMPL_IF>><TMPL_VAR NAME=listname></option></TMPL_LOOP>
|
---|
59 | </select>
|
---|
60 | <input type="button" value=" ? " onclick="helpAllocTypes()" class="regular">
|
---|
61 | </TMPL_IF>
|
---|
62 | </td>
|
---|
63 | </tr>
|
---|
64 |
|
---|
65 | <TMPL_UNLESS allocfrom>
|
---|
66 | <tr class="row0">
|
---|
67 | <td>Subnet CIDR mask length:</td>
|
---|
68 | <td valign="top"> / <input type="text" name="maskbits" size="3" maxlength="3"></td>
|
---|
69 | </tr>
|
---|
70 | </TMPL_UNLESS>
|
---|
71 |
|
---|
72 | <tr class="<TMPL_VAR NAME=rowa>">
|
---|
73 | <td>Reverse DNS pattern:</td>
|
---|
74 | <td><input type="text" name="rdns" value="<TMPL_VAR NAME=rdns>" size="40"><input type="button" value=" ? " onclick="helpRDNS()" class="regular"></td>
|
---|
75 | </tr>
|
---|
76 |
|
---|
77 | <tr class="<TMPL_VAR NAME=rowb>">
|
---|
78 | <td>Customer ID:</td>
|
---|
79 | <td><input type="text" name="custid" size="15" maxlength="15"> (Only required for Customer allocations)</td>
|
---|
80 | </tr>
|
---|
81 |
|
---|
82 | <tr class="<TMPL_VAR NAME=rowa>">
|
---|
83 | <td>Wifi tower/Fibre demarc</td>
|
---|
84 | <td>
|
---|
85 | <select name="node">
|
---|
86 | <option selected>-</option>
|
---|
87 | <TMPL_LOOP NAME=nodelist>
|
---|
88 | <option value="<TMPL_VAR NAME=node_id>"><TMPL_VAR NAME=node_name></option></TMPL_LOOP>
|
---|
89 | </select>
|
---|
90 | <a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new demarc/tower</a>
|
---|
91 | </td>
|
---|
92 | </tr>
|
---|
93 |
|
---|
94 | <TMPL_UNLESS allocfrom>
|
---|
95 | <tr class="<TMPL_VAR NAME=rowb>">
|
---|
96 | <td>Route from/through:</td>
|
---|
97 | <td>
|
---|
98 | <select name="pop">
|
---|
99 | <option selected value="">-</option>
|
---|
100 | <TMPL_LOOP NAME=pops>
|
---|
101 | <option><TMPL_VAR NAME=pop></option></TMPL_LOOP>
|
---|
102 | </select>
|
---|
103 | </td>
|
---|
104 | </tr>
|
---|
105 |
|
---|
106 | <tr class="<TMPL_VAR NAME=rowa>">
|
---|
107 | <td>Route/allocate from this master: </td>
|
---|
108 | <td>
|
---|
109 | <select name="allocfrom">
|
---|
110 | <option selected="selected">-</option>
|
---|
111 | <TMPL_LOOP NAME=masterlist>
|
---|
112 | <option><TMPL_VAR NAME=master></option></TMPL_LOOP>
|
---|
113 | </select>
|
---|
114 | Allow automatic allocation from private IP ranges:<input type="checkbox" name="allowpriv"></td>
|
---|
115 | </tr>
|
---|
116 | </TMPL_UNLESS>
|
---|
117 |
|
---|
118 | <tr class="<TMPL_VAR NAME=rowb>">
|
---|
119 | <td>Circuit ID:</td>
|
---|
120 | <td><input name="circid" size="40"></td>
|
---|
121 | </tr>
|
---|
122 |
|
---|
123 | <tr class="<TMPL_VAR NAME=rowa>">
|
---|
124 | <td>Description/Name:</td>
|
---|
125 | <td><input name="desc" size="40"></td>
|
---|
126 | </tr>
|
---|
127 |
|
---|
128 | <tr class="<TMPL_VAR NAME=rowb>">
|
---|
129 | <td>Notes: </td>
|
---|
130 | <td><textarea name="notes" rows="3" cols="40"></textarea></td>
|
---|
131 | </tr>
|
---|
132 |
|
---|
133 | <TMPL_IF privdata>
|
---|
134 | <tr class="<TMPL_VAR NAME=rowa>">
|
---|
135 | <td>Restricted data:</td>
|
---|
136 | <td><textarea rows="3" cols="64" name="privdata" class="regular"></textarea></td>
|
---|
137 | </tr>
|
---|
138 | </TMPL_IF>
|
---|
139 |
|
---|
140 | <tr class="<TMPL_IF privdata><TMPL_VAR NAME=rowb><TMPL_ELSE><TMPL_VAR NAME=rowa></TMPL_IF>">
|
---|
141 | <td class="center" colspan="2"><input type="submit" value=" Assign "></td>
|
---|
142 | </tr>
|
---|
143 |
|
---|
144 | </table>
|
---|
145 |
|
---|
146 | <input type="hidden" name="action" value="confirm">
|
---|
147 | </fieldset>
|
---|
148 | </form>
|
---|
149 |
|
---|
150 | </div>
|
---|