source: trunk/templates/admin/edcust.tmpl@ 797

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

/trunk

Add a "delete" button for the admin tools SWIP customer editor. This
hack has finally hung around long enough to need one...

File size: 2.5 KB
Line 
1<form action="admin.cgi" method="POST">
2<fieldset><legend class="noshow">&nbsp;</legend>
3<input type="hidden" name="action" value="updcust">
4<table border="1">
5<tr>
6<td>CustID:</td><td><TMPL_VAR NAME=custid><input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>"></td>
7<td>Name:</td><td><input name="name" value="<TMPL_VAR NAME=name>"></td></tr>
8<tr><td>Street:</td><td><input name="street" value="<TMPL_VAR NAME=street>"></td>
9<!-- <td>Street2:</td><td><input name=street2 value="<TMPL_VAR NAME=street2>"></td> -->
10<td>City:</td><td><input name="city" value="<TMPL_VAR NAME=city>"></td></tr>
11<tr><td>Province/State: (2/3-letter code)</td><td><input name="province" value="<TMPL_VAR NAME=prov>" maxlength="3" size="3"></td>
12<td>Country: (2-letter code)</td><td><input name="country" value="<TMPL_VAR NAME=country>" maxlength="2" size="2"></td></tr>
13<tr><td>Postal/ZIP Code:</td><td><input name="pocode" value="<TMPL_VAR NAME=pocode>"></td>
14<td>Phone:</td><td><input name="phone" value="<TMPL_VAR NAME=phone>"></td></tr>
15<!-- <td>Default rDNS:</td><td><input name="def_rdns" value="<TMPL_VAR NAME=def_rdns>"></td></tr>
16<td>Description:</td><td><input name="description" value="<TMPL_VAR NAME=desc>"></td> -->
17<tr><td>Contacts/ARIN Handles:</td><td>
18 Tech: <input name="tech_handle" value="<TMPL_VAR NAME=tech>"><br>
19 Abuse: <input name="abuse_handle" value="<TMPL_VAR NAME=abuse>"><br>
20 Admin: <input name="admin_handle" value="<TMPL_VAR NAME=admin>"><br>
21Note: Only tech is required at the moment.
22</td>
23<td>"Special":</td><td><textarea name="special" rows="4" cols="50"><TMPL_VAR NAME=special></textarea></td>
24</tr>
25<tr>
26<td colspan="2" align="center"><input type="submit" name="abutton" value="Update"></td>
27<td colspan="2" align="center"><input type="submit" name="abutton" value="Delete (immediate)"></td>
28</tr>
29</table>
30</fieldset></form>
31
32<div style="margin-left:5px">
33<h3>Explanation for "Special" field:</h3>
34This is a temporary place to define the WHOIS "net name" for a block.
35It may be removed later, more likely migrated elsewhere.
36<p>It's formatted like this, one line for each custom net name:
37<pre>NetName[CIDR block]: NET-NAME</pre>
38Example:
39<pre>NetName192.168.236.0/24: MEGAWIDGET-1</pre>
40Note:
41<ul style="margin-top: 0px;">
42<li>Spacing is important - there should only be ONE space, in between the colon and the net name.
43<li>The CIDR block name nust include all four octets - no short forms are accepted.
44<li>Net names must be all uppercase, and consist only of A-Z, 0-9, and - (same as for SWIPed net names).
45</ul>
46</div>
Note: See TracBrowser for help on using the repository browser.