source: trunk/templates/loclist.tmpl@ 782

Last change on this file since 782 was 731, checked in by Kris Deugau, 8 years ago

/trunk

Refine pages with alternating row colours to use CSS instead of
HTML::Template's even/odd loop specials, and move the
bottom-of-page first/previous/next/last/all blob out of the data table
into its own div for consistent layout.

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