source: trunk/templates/dnsq.tmpl@ 30

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

/trunk

checkpoint

  • filled out "normal" DNS lookup, still need to fiddle with manual recursion
  • tweak fine details of login handling so we don't get an

"... uninitialized value in string eq ..." in the log

  • logout mostly working - needs additional crosscheck to kick logged-out sessions back to the login screen
  • add username blurb on menu top and as a session param (use this for above)
  • housekeeping on images/
  • misc finetuning and nitpicking of HTML
File size: 2.2 KB
Line 
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 errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
8
9<form action="dns.cgi" method="POST">
10<input type=hidden name="sid" value="<TMPL_VAR NAME=sid>">
11<input type=hidden name="page" value="dnsq">
12
13<table>
14<tr class="tableheader"><td align="center" colspan=2>DNS Query</td></tr>
15<tr class="datalinelight">
16 <td>Host/Name:</td>
17 <td><input name="qfor" value="<TMPL_VAR NAME=qfor>"></td>
18</tr>
19<tr class="datalinelight">
20 <td>Record type:</td>
21 <td>
22 <select name="type">
23 <TMPL_LOOP NAME=typelist>
24 <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected</TMPL_IF>><TMPL_VAR NAME=recname></option>
25 </TMPL_LOOP>
26 </select>
27 </td>
28</tr>
29<tr class="datalinelight">
30 <td>Bypass resolver cache:</td>
31 <td><input type=checkbox name="trace"<TMPL_IF trace> checked</TMPL_IF>></td>
32</tr>
33<tr class="datalinelight">
34 <td>Resolver (optional):</td>
35 <td><input name="resolver" value="<TMPL_VAR NAME=resolver>"></td>
36</tr>
37<tr class="datalinelight"><td align="center" colspan=2><input type=submit value=" Query DNS "></td></tr>
38</table>
39
40</form>
41
42<TMPL_IF NAME=showresults>
43<table width="350px">
44<tr class="tableheader"><td colspan=3>Query:</td></tr>
45<tr class="datalinelight">
46 <td>
47 <TMPL_VAR NAME=qfor>
48 </td>
49 <td colspan=2>
50 <TMPL_VAR NAME=frtype>
51 </td>
52</tr>
53<tr class="tableheader"><td colspan=3>Response from <TMPL_VAR NAME=usedresolver>:</td></tr>
54<TMPL_LOOP NAME=answer><tr class="datalinelight" valign="top">
55<td><TMPL_VAR NAME=host></td>
56<td><TMPL_VAR NAME=ftype></td>
57<td><TMPL_VAR NAME=rdata></td></tr>
58</TMPL_LOOP>
59<TMPL_IF authority>
60<tr class="tableheader"><td colspan=3>Authority:</td></tr>
61<TMPL_LOOP NAME=authority><tr class="datalinelight">
62<td><TMPL_VAR NAME=host></td>
63<td><TMPL_VAR NAME=ftype></td>
64<td><TMPL_VAR NAME=rdata></td></tr>
65</TMPL_LOOP>
66</TMPL_IF>
67<TMPL_IF additional>
68<tr class="tableheader"><td colspan=3>Additional information:</td></tr>
69<TMPL_LOOP NAME=additional><tr class="datalinelight">
70<td><TMPL_VAR NAME=host></td>
71<td><TMPL_VAR NAME=ftype></td>
72<td><TMPL_VAR NAME=rdata></td></tr>
73</TMPL_LOOP>
74</TMPL_IF>
75</table>
76</TMPL_IF>
77
78</td>
79</tr>
80</table>
81
Note: See TracBrowser for help on using the repository browser.