source: branches/stable/templates/admin/alloc.tmpl@ 898

Last change on this file since 898 was 605, checked in by Kris Deugau, 11 years ago

/branches/stable

Brown-paper-bag fixup commit:

  • add another type to the set which can use nodes
  • template and code changes to let admin allocations includ VRF info
  • fix subtle bug in getTypeList() that returned the Routing type when it shouldn't
  • compare and display VRF info on searches
  • minor HTML formatting tweaks for clarity

Bump version to 2.8.1

File size: 1.7 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<table class="regular">
8<tr class="row0">
9<td>Allocating:</td>
10<td><TMPL_VAR NAME=cidr><input type="hidden" name="cidr" value="<TMPL_VAR NAME=cidr>"></td>
11</tr>
12<tr class="row1">
13<td>Type:</td>
14<td><TMPL_VAR NAME=disptype><input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>"></td>
15</tr>
16<tr class="row0">
17<td>Allocated from:</td>
18<td><TMPL_VAR NAME=alloc_from><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></td>
19</tr>
20<tr class="row1">
21<td>Customer ID:</td>
22<td><TMPL_VAR NAME=custid><input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>"></td>
23</tr>
24<tr class="row0">
25<td>Customer location:</td>
26<td>
27<select name="city"><option selected>-</option>
28<TMPL_LOOP NAME=citylist><option><TMPL_VAR NAME=city></option>
29</TMPL_LOOP></select>
30&nbsp;<a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newcity.cgi')">Add new location</a>
31</td>
32</tr>
33<tr class="row1">
34<td>Circuit ID:</td><td><input name="circid" size="40"></td>
35</tr>
36<tr class="row0">
37<td>VRF identifier:</td><td><input name=vrf size=40></td>
38</tr>
39<tr class="row1">
40<td>Description/Name:</td><td><input name="desc" size="40"></td>
41</tr>
42<tr class="row0">
43<td>Notes:</td><td><textarea name="notes" rows="3" cols="40"></textarea></td>
44</tr>
45<tr class="warning">
46<td class="center" colspan="2">WARNING: This will IMMEDIATELY assign this block!!</td>
47</tr>
48<tr class="row1">
49<td class="center" colspan="2"><input type="submit" value=" Assign "></td>
50</tr>
51</table>
52<input type="hidden" name="action" value="confirm">
53</fieldset></form>
54</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.