source: trunk/templates/loclist.tmpl@ 837

Last change on this file since 837 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
Line 
1<body>
2<div id="main">
3
4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
7<td align="center" valign="top">
8
9<TMPL_INCLUDE NAME="msgblock.tmpl">
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>
19<tr><td colspan="3" align="right"><a href="<TMPL_VAR NAME=script_self>&amp;page=location">New Location/View</a></td></tr>
20</TMPL_IF>
21</table>
22
23<table width="98%" border="0" cellspacing="4" cellpadding="3" class="csubtable altrows">
24<tr>
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
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>
31<TMPL_IF delloc> <td class="datahead_s">Delete</td></TMPL_IF>
32</tr>
33<TMPL_IF name=loctable>
34<TMPL_LOOP name=loctable>
35<tr>
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>
37 <td><TMPL_VAR name=iplist></td>
38 <td><TMPL_VAR name=group_name></td>
39<TMPL_IF delloc>
40 <td align="center"><a href="<TMPL_VAR NAME=script_self>&amp;page=delloc&amp;locid=<TMPL_VAR
41NAME=location>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
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
50<TMPL_IF loctable><div class="center vpad"><TMPL_INCLUDE NAME="fpnla.tmpl"></div></TMPL_IF>
51
52</td>
53</tr>
54</table>
Note: See TracBrowser for help on using the repository browser.