source: trunk/templates/record.tmpl@ 131

Last change on this file since 131 was 100, checked in by Kris Deugau, 13 years ago

/trunk/templates

Templates

UI tweaks - make sure all main-body content is valign=top

dns.css

tweak comment style so IE ignores a line properly
fix typo, set valign=top on #datatablewrapper
add a couple more classes

grouptree-ie.css

tweak padding to indent group tree properly, comment a few more (apparently)
irrelevant bits

File size: 2.3 KB
Line 
1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center" valign="top">
6
7<form action="dns.cgi" method="post">
8<fieldset>
9
10<input type="hidden" name="page" value="record" />
11<input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" />
12<input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
13<input type="hidden" name="parentid" value="<TMPL_VAR NAME=parentid>" />
14<input type="hidden" name="id" value="<TMPL_VAR NAME=id>" />
15<input type="hidden" name="recact" value="<TMPL_VAR NAME=recact>" />
16
17<table class="container" width="450">
18<tr><td>
19
20 <table border="0" cellspacing="2" cellpadding="2" width="100%">
21<TMPL_IF failed> <tr><td class="errhead" colspan="2">Error <TMPL_VAR NAME=wastrying> record: <TMPL_VARNAME=errmsg></td></tr></TMPL_IF>
22 <tr class="tableheader"><td align="center" colspan="2"><TMPL_VAR NAME=todo>: <TMPL_VAR NAME=dohere></td></tr>
23 <tr class="datalinelight">
24 <td>Hostname</td>
25 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" /></td>
26 </tr>
27 <tr class="datalinelight">
28 <td>Type</td>
29 <td><select name="type">
30<TMPL_LOOP NAME=typelist>
31 <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected="selected"</TMPL_IF>><TMPL_VAR NAME=recname></option>
32</TMPL_LOOP>
33 </select></td>
34 </tr>
35 <tr class="datalinelight">
36 <td>Address</td>
37 <td><input type="text" name="address" value="<TMPL_VAR ESCAPE=HTML NAME=address>" /></td>
38 </tr>
39 <tr class="datalinelight">
40 <td>Distance (MX and SRV only)</td>
41 <td><input type="text" name="distance" value="<TMPL_VAR NAME=distance>" size="5" maxlength="10" /></td>
42 </tr>
43 <tr class="datalinelight">
44 <td>Weight (SRV only)</td>
45 <td><input type="text" name="weight" value="<TMPL_VAR NAME=weight>" size="5" maxlength="10" /></td>
46 </tr>
47 <tr class="datalinelight">
48 <td>Port (SRV only)</td>
49 <td><input type="text" name="port" value="<TMPL_VAR NAME=port>" size="5" maxlength="10" /></td>
50 </tr>
51 <tr class="datalinelight">
52 <td>TTL</td>
53 <td><input size="7" maxlength="20" type="text" name="ttl" value="<TMPL_VAR NAME=ttl>" /></td>
54 </tr>
55 <tr class="datalinelight">
56 <td colspan="2" align="center"><input type="submit" value=" <TMPL_VAR NAME=todo> " /></td>
57 </tr>
58 </table>
59
60</td></tr>
61</table>
62
63</fieldset>
64</form>
65
66</td>
67</tr>
68</table>
Note: See TracBrowser for help on using the repository browser.