source: trunk/templates/admin/alloc.tmpl@ 718

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

/trunk

Commit really old work in admin.cgi adding rDNS

  • allocate block
File size: 2.0 KB
Line 
1<TMPL_IF errmsg>
2<TMPL_VAR NAME=errmsg>
3<TMPL_ELSE>
4<TMPL_IF warnmsg><div class="warnmsg"><TMPL_VAR NAME=warnmsg></div></TMPL_IF>
5<form method="POST" action="admin.cgi">
6<fieldset><legend class="noshow">&nbsp;</legend>
7<input type="hidden" name="parent" value="<TMPL_VAR NAME=parid>">
8<input type="hidden" name="fbid" value="<TMPL_VAR NAME=fbid>">
9<table class="regular">
10<tr class="row0">
11<td>Allocating:</td>
12<td><TMPL_VAR NAME=cidr><input type="hidden" name="cidr" value="<TMPL_VAR NAME=cidr>"></td>
13</tr>
14<tr class="row1">
15<td>Type:</td>
16<td><TMPL_VAR NAME=disptype><input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>"></td>
17</tr>
18<tr class="row0">
19<td>Allocated from:</td>
20<td><TMPL_VAR NAME=alloc_from><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></td>
21</tr>
22<tr class="row1">
23<td>Reverse DNS pattern:</td>
24<td><input type="text" name="rdns" value="<TMPL_VAR NAME=rdns>" size="40"><input type="button" value=" ? " onclick="helpRDNS()" class="regular"></td>
25</tr>
26<tr class="row0">
27<td>Customer ID:</td>
28<td><TMPL_VAR NAME=custid><input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>"></td>
29</tr>
30<tr class="row1">
31<td>Customer location:</td>
32<td>
33<select name="city"><option selected>-</option>
34<TMPL_LOOP NAME=citylist><option><TMPL_VAR NAME=city></option>
35</TMPL_LOOP></select>
36&nbsp;<a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newcity.cgi')">Add new location</a>
37</td>
38</tr>
39<tr class="row0">
40<td>Circuit ID:</td><td><input name="circid" size="40"></td>
41</tr>
42<tr class="row1">
43<td>Description/Name:</td><td><input name="desc" size="40"></td>
44</tr>
45<tr class="row0">
46<td>Notes:</td><td><textarea name="notes" rows="3" cols="40"></textarea></td>
47</tr>
48<tr class="warning">
49<td class="center" colspan="2">WARNING: This will IMMEDIATELY assign this block!!</td>
50</tr>
51<tr class="row0">
52<td class="center" colspan="2"><input type="submit" value=" Assign "></td>
53</tr>
54</table>
55<input type="hidden" name="action" value="confirm">
56</fieldset></form>
57</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.