source: trunk/templates/loclist.tmpl@ 476

Last change on this file since 476 was 427, checked in by Kris Deugau, 12 years ago

/trunk

Add location delete template, tweak link for location delete in
location list. See #10.
Normalize delete templates to be closer to identical.
Add revzone delete template to Makefile file list.

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" valign="top">
6
7<TMPL_INCLUDE NAME="msgblock.tmpl">
8
9<table width="98%" class="csubtable">
10<tr><th colspan="3"><div class="center maintitle">Manage locations/views</div></th></tr>
11<tr>
12<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
13<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
14<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
15</tr>
16<TMPL_IF addloc>
17<tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=location">New Location/View</a></td></tr>
18</TMPL_IF>
19</table>
20
21<table width="98%" border="0" cellspacing="4" cellpadding="3" class="csubtable">
22<tr>
23<TMPL_LOOP NAME=colheads> <td class="datahead_s"><a href="dns.cgi?sid=<TMPL_VAR
24 NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR
25 NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR
26 NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR
27 NAME=sortorder>.png" /></TMPL_IF></td>
28</TMPL_LOOP>
29<TMPL_IF delloc> <td class="datahead_s">Delete</td></TMPL_IF>
30</tr>
31<TMPL_IF name=loctable>
32<TMPL_LOOP name=loctable>
33<tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
34 <td align="left"><TMPL_IF edloc><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=location&amp;locact=edit&amp;loc=<TMPL_VAR NAME=location>"><TMPL_VAR NAME=description></a><TMPL_ELSE><TMPL_VAR NAME=description></TMPL_IF></td>
35 <td><TMPL_VAR name=iplist></td>
36 <td><TMPL_VAR name=group_name></td>
37<TMPL_IF delloc>
38 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=delloc&amp;locid=<TMPL_VAR
39NAME=location>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
40</TMPL_IF>
41</tr>
42</TMPL_LOOP>
43<TMPL_ELSE>
44<tr><td colspan="6">No locations/views defined</td></tr>
45</TMPL_IF>
46</table>
47
48</td>
49</tr>
50</table>
Note: See TracBrowser for help on using the repository browser.