source: branches/stable/templates/dnsq.tmpl@ 276

Last change on this file since 276 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<TMPL_IF errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
8
9<form action="dns.cgi" method="post">
10<fieldset>
11<input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
12<input type="hidden" name="page" value="dnsq" />
13
14<table>
15<tr class="tableheader"><td align="center" colspan="2">DNS Query</td></tr>
16<tr class="datalinelight">
17 <td>Host/Name:</td>
18 <td><input name="qfor" value="<TMPL_VAR NAME=qfor>" /></td>
19</tr>
20<tr class="datalinelight">
21 <td>Record type:</td>
22 <td>
23 <select name="type">
24 <TMPL_LOOP NAME=typelist>
25 <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected="selected"</TMPL_IF>><TMPL_VAR NAME=recname></option>
26 </TMPL_LOOP>
27 </select>
28 </td>
29</tr>
30<tr class="datalinelight">
31 <td>Non-recursive query:</td>
32 <td><input type="checkbox" name="nrecurse"<TMPL_IF nrecurse> checked="checked"</TMPL_IF> /></td>
33</tr>
34<tr class="datalinelight">
35 <td>Use this server:</td>
36 <td><input name="resolver" value="<TMPL_VAR NAME=resolver>" /></td>
37</tr>
38<tr class="datalinelight"><td align="center" colspan="2"><input type="submit" value=" Query DNS " /></td></tr>
39</table>
40
41</fieldset>
42</form>
43
44<br />
45<TMPL_IF NAME=showresults>
46<table width="350px">
47<tr class="tableheader"><td colspan="3">Query:</td></tr>
48<tr class="datalinelight">
49 <td>
50 <TMPL_VAR NAME=qfor>
51 </td>
52 <td colspan="2">
53 <TMPL_VAR NAME=frtype>
54 </td>
55</tr>
56<tr class="tableheader"><td colspan="3">Response from <TMPL_VAR NAME=usedresolver>:</td></tr>
57<TMPL_LOOP NAME=answer><tr class="datalinelight" valign="top">
58<td><TMPL_VAR NAME=host></td>
59<td><TMPL_VAR NAME=ftype></td>
60<td><TMPL_VAR NAME=rdata></td></tr>
61</TMPL_LOOP>
62<TMPL_IF authority>
63<tr class="tableheader"><td colspan="3">Authority:</td></tr>
64<TMPL_LOOP NAME=authority><tr class="datalinelight">
65<td><TMPL_VAR NAME=host></td>
66<td><TMPL_VAR NAME=ftype></td>
67<td><TMPL_VAR NAME=rdata></td></tr>
68</TMPL_LOOP>
69</TMPL_IF>
70<TMPL_IF additional>
71<tr class="tableheader"><td colspan="3">Additional information:</td></tr>
72<TMPL_LOOP NAME=additional><tr class="datalinelight">
73<td><TMPL_VAR NAME=host></td>
74<td><TMPL_VAR NAME=ftype></td>
75<td><TMPL_VAR NAME=rdata></td></tr>
76</TMPL_LOOP>
77</TMPL_IF>
78</table>
79</TMPL_IF>
80
81</td>
82</tr>
83</table>
84
Note: See TracBrowser for help on using the repository browser.