source: trunk/templates/reclist.tmpl@ 7

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

/trunk

Checkpoint
Continued development to reach ~ VegaDNS equivalence

File size: 1.8 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<div id=tableholder width=100%>
8
9<TMPL_INCLUDE NAME=soadata.tmpl>
10
11<table border=0 width="100%">
12<tr class="darkrowheader">
13 <td colspan>
14 Listing <TMPL_VAR NAME=nfirst> - <TMPL_VAR NAME=nlast> of <TMPL_VAR NAME=ntot> entries in <TMPL_VAR NAME=domain>
15 </td>
16 <td align=center>
17 <TMPL_INCLUDE NAME="fpnla.tmpl">
18 </td>
19 <td>
20 <form action="dns.cgi">
21 <input type=hidden name=sid value="<TMPL_VAR NAME=sid>">
22 <input name=search>
23 <input type=submit value="Filter">
24 </form>
25 </td>
26</tr>
27<tr class="darkrowheader">
28 <td colspan=2>Records</td>
29 <td align=right><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newrec&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">Add record</a>
30 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=showlog&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">View log</a>
31 </td>
32</tr>
33
34</table>
35
36<table>
37<tr class="darkrowheader">
38<td nowrap>Name</td>
39<td width="5%">Type</td>
40<td>Address</td>
41<td>Distance</td><td>Weight</td><td>Port</td><td>TTL</td><td>Delete</td></tr>
42<TMPL_LOOP NAME=reclist>
43<tr class="row<TMPL_VAR NAME=row>">
44<td width="20%" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=editrec&id=<TMPL_VAR NAME=record_id>&defrec=<TMPL_VAR NAME=defrec>"><TMPL_VAR NAME=host></a></td>
45<td width="5%" nowrap><TMPL_VAR NAME=type></td>
46<td nowrap><TMPL_VAR NAME=val></td>
47<td width="10%" nowrap><TMPL_VAR NAME=distance></td>
48<td width="10%" nowrap><TMPL_VAR NAME=weight></td>
49<td width="5%" nowrap><TMPL_VAR NAME=port></td>
50<td width="5%" nowrap><TMPL_VAR NAME=ttl></td>
51<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>
52</TMPL_LOOP>
53</table>
54
55</td></tr></table>
Note: See TracBrowser for help on using the repository browser.