source: trunk/templates/record.tmpl@ 30

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

/trunk

checkpoint
dns.cgi:

  • misc group-handling tweaks/fixme-fixes
  • misc code and SQL formatting normalizations
  • add group management list-the-groups page
  • extend common-template-parameters section

DNSDB.pm:

  • fix start point for returned records in record list
  • fix several return-on-error conditions for record add/update

templates/

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