source: trunk/templates/newrec.tmpl@ 30

Last change on this file since 30 was 2, checked in by Kris Deugau, 15 years ago

/trunk

Import work to date

File size: 1.9 KB
RevLine 
[2]1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center">
6
7<TMPL_IF add_failed><span class="errmsg">Error adding record: <TMPL_VARNAME=errmsg></span></TMPL_IF>
8<form action="dns.cgi">
9<input type="hidden" name="page" value="addrec">
10<input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>">
11<input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>">
12<input type="hidden" name="parentid" value="<TMPL_VAR NAME=parentid>">
13
14 <table border=0 bgcolor="white">
15
16<tr><td>
17
18 <table border=0 width="100%">
19 <tr class="tableheader"><td align="center" colspan=2>Add Record to <TMPL_VAR NAME=domain></td></tr>
20 <tr class="datalinelight">
21 <td>Hostname</td>
22 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>"></td>
23 </tr>
24 <tr class="datalinelight">
25 <td>Type</td>
26 <td><select name="type">
27 <TMPL_LOOP NAME=typelist>
28 <option value="<TMPL_VAR NAME=recval>" <TMPL_IF NAME=tselect>selected</TMPL_IF>><TMPL_VAR NAME=recname></option>
29 </TMPL_LOOP>
30 </select></td>
31 </tr>
32 <tr class="datalinelight">
33 <td>Address</td>
34 <td><input type="text" name="address" value="<TMPL_VAR NAME=address>"></td>
35 </tr>
36 <tr class="datalinelight">
37 <td>Distance (MX and SRV only)</td>
38 <td><input type="text" name="distance" value="<TMPL_VAR NAME=distance>" size=5 maxlength=10></td>
39 </tr>
40 <tr class="datalinelight">
41 <td>Weight (SRV only)</td>
42 <td><input type="text" name="weight" value="<TMPL_VAR NAME=weight>" size=5 maxlength=10></td>
43 </tr>
44 <tr class="datalinelight">
45 <td>Port (SRV only)</td>
46 <td><input type="text" name="port" value="<TMPL_VAR NAME=port>" size=5 maxlength=10></td>
47 </tr>
48 <tr class="datalinelight">
49 <td>TTL</td>
50 <td><input size=7 maxlenth=20 type="text" name="ttl" value="<TMPL_VAR NAME=ttl>">
51 </tr>
52 <tr class="datalinelight">
53 <td colspan=2 align=center><input type="submit" value=" Add record "></td>
54 </tr>
55 </table>
56
57</td></tr>
58</table>
59
60</form>
61
62
63</td></tr></table>
64
Note: See TracBrowser for help on using the repository browser.