source: branches/htmlform/templates/admin/edcust.tmpl@ 483

Last change on this file since 483 was 483, checked in by Kris Deugau, 14 years ago

/branches/htmlform

Start converting admin.cgi to templates (to make removal of references to CommonWeb.pm
subs simpler; see #3, #15, #26)
Completed:

  • Main page
  • ACL error page
  • rWHOIS customer data editing - list, edit new/update, confirm update
File size: 2.4 KB
Line 
1<form action="admin.cgi" method="POST">
2<fieldset><legend></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><td colspan="4" align="center"><input type="submit" value="Update"></td></tr>
26</table>
27</fieldset></form>
28
29<div style="margin-left:5px">
30<h3>Explanation for "Special" field:</h3>
31This is a temporary place to define the WHOIS "net name" for a block.
32It may be removed later, more likely migrated elsewhere.
33<p>It's formatted like this, one line for each custom net name:
34<pre>NetName[CIDR block]: NET-NAME</pre>
35Example:
36<pre>NetName192.168.236.0/24: MEGAWIDGET-1</pre>
37Note:
38<ul style="margin-top: 0px;">
39<li>Spacing is important - there should only be ONE space, in between the colon and the net name.
40<li>The CIDR block name nust include all four octets - no short forms are accepted.
41<li>Net names must be all uppercase, and consist only of A-Z, 0-9, and - (same as for SWIPed net names).
42</ul>
43</div>
Note: See TracBrowser for help on using the repository browser.