source: trunk/templates/reclist.tmpl@ 30

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

/trunk

Checkpoint
Merging record add/edit pieces into one template/code block
Added debugging array @debugbits to push strings into rather than printing,

since we haven't spit out headers before the processing (this is so we can
redirect)

Added DNSDB::grpName
Removed obsolete defrecs.tmpl

File size: 1.8 KB
RevLine 
[2]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>
[12]14 <TMPL_INCLUDE NAME="pgcount.tmpl">
[2]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>
[13]29 <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>
[2]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>">
[13]44<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>
[2]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>
[3]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>
[2]52</TMPL_LOOP>
53</table>
54
55</td></tr></table>
Note: See TracBrowser for help on using the repository browser.