source: trunk/templates/reclist.tmpl@ 36

Last change on this file since 36 was 36, checked in by Kris Deugau, 14 years ago

/trunk

FIXME: need to reformat record list page so that a long entry in the record

list itself doesn't overflow the nominal container for the content

File size: 1.9 KB
Line 
1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center">
6domain details
7<!-- FIXME: long data in records causes record list table to overflow one or another container -->
8<div id=tableholder width=100%>
9
10<TMPL_INCLUDE NAME=soadata.tmpl>
11
12<table border=0 width="100%">
13<tr class="darkrowheader">
14 <td colspan>
15 <TMPL_INCLUDE NAME="pgcount.tmpl">
16 </td>
17 <td align=center>
18 <TMPL_INCLUDE NAME="fpnla.tmpl">
19 </td>
20 <td>
21 <form action="dns.cgi">
22 <input type=hidden name=sid value="<TMPL_VAR NAME=sid>">
23 <input name=search>
24 <input type=submit value="Filter">
25 </form>
26 </td>
27</tr>
28<tr class="darkrowheader">
29 <td colspan=2>Records</td>
30 <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>
31 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=showlog&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">View log</a>
32 </td>
33</tr>
34
35</table>
36
37<table>
38<tr class="darkrowheader">
39<td nowrap>Name</td>
40<td width="5%">Type</td>
41<td>Address</td>
42<td>Distance</td><td>Weight</td><td>Port</td><td>TTL</td><td>Delete</td></tr>
43<TMPL_LOOP NAME=reclist>
44<tr class="row<TMPL_VAR NAME=row>">
45<td width="20%" nowrap><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>
46<td width="5%" nowrap><TMPL_VAR NAME=type></td>
47<td nowrap><TMPL_VAR NAME=val></td>
48<td width="10%" nowrap><TMPL_VAR NAME=distance></td>
49<td width="10%" nowrap><TMPL_VAR NAME=weight></td>
50<td width="5%" nowrap><TMPL_VAR NAME=port></td>
51<td width="5%" nowrap><TMPL_VAR NAME=ttl></td>
52<td width="5%" align="center" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&id=<TMPL_VAR NAME=record_id>&defrec=<TMPL_VAR NAME=defrec>"><img border=0 src="images/trash2.png"></a></td>
53</TMPL_LOOP>
54</table>
55
56</td></tr></table>
Note: See TracBrowser for help on using the repository browser.