source: trunk/templates/grpman.tmpl@ 849

Last change on this file since 849 was 731, checked in by Kris Deugau, 9 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: 2.2 KB
RevLine 
[589]1<body>
2<div id="main">
3
[19]4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
[100]7<td align="center" valign="top">
[22]8
[378]9<TMPL_INCLUDE NAME="msgblock.tmpl">
[22]10
[19]11<table width="98%">
[140]12<tr><th colspan="3"><div class="center maintitle"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</div></th></tr>
[41]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>
[40]18<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
[79]19<tr>
[493]20 <td colspan="2"><TMPL_IF edgrp><a href="<TMPL_VAR NAME=script_self>&amp;page=edgroup&amp;gid=<TMPL_VAR NAME=gid>">Edit Current Group</a></TMPL_IF></td>
21 <td align="right"><TMPL_IF addgrp><a href="<TMPL_VAR NAME=script_self>&amp;page=newgrp">New Group</a></TMPL_IF>
[140]22</td>
[79]23</tr>
[19]24</table>
25
[731]26<table width="98%" border="0" cellspacing="4" cellpadding="3" class="altrows">
[19]27<tr>
[493]28<TMPL_LOOP NAME=colheads> <td class="datahead_<TMPL_IF __first__>l<TMPL_ELSE>s</TMPL_IF>"><a href="<TMPL_VAR
29 NAME=script_self>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR
[379]30 NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR
31 NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR
32 NAME=sortorder>.png" /></TMPL_IF></td>
33</TMPL_LOOP>
[140]34<TMPL_IF delgrp>
[41]35 <td class="datahead_s">Delete</td>
[140]36</TMPL_IF>
[19]37</tr>
[20]38<TMPL_IF name=grouptable>
39<TMPL_LOOP name=grouptable>
[731]40<tr>
[493]41 <td align="left"><TMPL_IF edgrp><a href="<TMPL_VAR NAME=script_self>&amp;page=edgroup&amp;gid=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a><TMPL_ELSE><TMPL_VAR NAME=groupname></TMPL_IF></td>
[38]42 <td><TMPL_VAR name=pgroup></td>
43 <td><TMPL_VAR name=nusers></td>
44 <td><TMPL_VAR name=ndomains></td>
[314]45 <td><TMPL_VAR NAME=nrevzones></td>
[140]46<TMPL_IF delgrp>
[493]47 <td align="center"><a href="<TMPL_VAR NAME=script_self>&amp;page=delgrp&amp;id=<TMPL_VAR NAME=groupid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
[140]48</TMPL_IF>
[19]49</tr>
50</TMPL_LOOP>
51<TMPL_ELSE>
[538]52<tr><td colspan="6" align="center">No groups found</td></tr>
[19]53</TMPL_IF>
54</table>
55
[731]56<TMPL_IF grouptable><div class="center vpad"><TMPL_INCLUDE NAME="fpnla.tmpl"></div></TMPL_IF>
57
[19]58</td>
[38]59</tr>
[19]60</table>
Note: See TracBrowser for help on using the repository browser.