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

Last change on this file since 915 was 915, checked in by Kris Deugau, 6 years ago

/trunk

Start adding a generalized in-your-face infonotice space to attach warnings
to a netblock. See #17 and #23, sort of.

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