1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
2 | <table class="wholepage"><tr>
|
---|
3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
4 |
|
---|
5 | <td align="center">
|
---|
6 | domain details
|
---|
7 | <!-- FIXME: long data in records causes record list table to overflow one or another container -->
|
---|
8 |
|
---|
9 | <!-- not sure WTF I thought I needed this for: div id=tableholder width=100% -->
|
---|
10 |
|
---|
11 | <TMPL_INCLUDE NAME=soadata.tmpl>
|
---|
12 |
|
---|
13 | <table border="0" width="100%">
|
---|
14 | <tr class="darkrowheader">
|
---|
15 | <td>
|
---|
16 | <TMPL_INCLUDE NAME="pgcount.tmpl">
|
---|
17 | </td>
|
---|
18 | <td align="center">
|
---|
19 | <TMPL_INCLUDE NAME="fpnla.tmpl">
|
---|
20 | </td>
|
---|
21 | <td>
|
---|
22 | <form action="dns.cgi">
|
---|
23 | <fieldset>
|
---|
24 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
|
---|
25 | <input name="search" />
|
---|
26 | <input type="submit" value="Filter" />
|
---|
27 | </fieldset>
|
---|
28 | </form>
|
---|
29 | </td>
|
---|
30 | </tr>
|
---|
31 | <tr class="darkrowheader">
|
---|
32 | <td colspan="2">Records</td>
|
---|
33 | <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=new">Add record</a>
|
---|
34 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=showlog&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">View log</a>
|
---|
35 | </td>
|
---|
36 | </tr>
|
---|
37 |
|
---|
38 | </table>
|
---|
39 |
|
---|
40 | <TMPL_IF reclist>
|
---|
41 | <table>
|
---|
42 | <tr class="darkrowheader">
|
---|
43 | <td>Name</td>
|
---|
44 | <td>Type</td>
|
---|
45 | <td>Address</td>
|
---|
46 | <td>Distance</td><td>Weight</td><td>Port</td><td>TTL</td><td>Delete</td></tr>
|
---|
47 | <TMPL_LOOP NAME=reclist>
|
---|
48 | <tr class="row<TMPL_VAR NAME=row>">
|
---|
49 | <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=host></a></td>
|
---|
50 | <td><TMPL_VAR NAME=type></td>
|
---|
51 | <td><TMPL_VAR NAME=val></td>
|
---|
52 | <td><TMPL_VAR NAME=distance></td>
|
---|
53 | <td><TMPL_VAR NAME=weight></td>
|
---|
54 | <td><TMPL_VAR NAME=port></td>
|
---|
55 | <td><TMPL_VAR NAME=ttl></td>
|
---|
56 | <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&id=<TMPL_VAR NAME=record_id>&defrec=<TMPL_VAR NAME=defrec>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
|
---|
57 | </tr>
|
---|
58 | </TMPL_LOOP>
|
---|
59 | </table>
|
---|
60 | <TMPL_ELSE>
|
---|
61 | <tr><td colspan="5">No records found</td></tr>
|
---|
62 | </TMPL_IF>
|
---|
63 |
|
---|
64 | </td></tr></table>
|
---|