source: trunk/templates/grpman.tmpl@ 557

Last change on this file since 557 was 538, checked in by Kris Deugau, 11 years ago

/trunk

Trivial UI tweak for long lists; copy the first/prev/next/last/all
construct to the bottom of the page. Make a few nearby cleanups for
consistency while we're nearby.

File size: 2.2 KB
RevLine 
[19]1<table class="wholepage"><tr>
2<TMPL_INCLUDE NAME="menu.tmpl">
3
[100]4<td align="center" valign="top">
[22]5
[378]6<TMPL_INCLUDE NAME="msgblock.tmpl">
[22]7
[19]8<table width="98%">
[140]9<tr><th colspan="3"><div class="center maintitle"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</div></th></tr>
[41]10<tr>
11<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
12<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
13<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
14</tr>
[40]15<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
[79]16<tr>
[493]17 <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>
18 <td align="right"><TMPL_IF addgrp><a href="<TMPL_VAR NAME=script_self>&amp;page=newgrp">New Group</a></TMPL_IF>
[140]19</td>
[79]20</tr>
[19]21</table>
22
[41]23<table width="98%" border="0" cellspacing="4" cellpadding="3">
[19]24<tr>
[493]25<TMPL_LOOP NAME=colheads> <td class="datahead_<TMPL_IF __first__>l<TMPL_ELSE>s</TMPL_IF>"><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>
[140]31<TMPL_IF delgrp>
[41]32 <td class="datahead_s">Delete</td>
[140]33</TMPL_IF>
[19]34</tr>
[20]35<TMPL_IF name=grouptable>
36<TMPL_LOOP name=grouptable>
[398]37<tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
[493]38 <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]39 <td><TMPL_VAR name=pgroup></td>
40 <td><TMPL_VAR name=nusers></td>
41 <td><TMPL_VAR name=ndomains></td>
[314]42 <td><TMPL_VAR NAME=nrevzones></td>
[140]43<TMPL_IF delgrp>
[493]44 <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]45</TMPL_IF>
[19]46</tr>
47</TMPL_LOOP>
[538]48<tr><td colspan="6" align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td></tr>
[19]49<TMPL_ELSE>
[538]50<tr><td colspan="6" align="center">No groups found</td></tr>
[19]51</TMPL_IF>
52</table>
53
54</td>
[38]55</tr>
[19]56</table>
Note: See TracBrowser for help on using the repository browser.