source: trunk/templates/grpman.tmpl@ 573

Last change on this file since 573 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
Line 
1<table class="wholepage"><tr>
2<TMPL_INCLUDE NAME="menu.tmpl">
3
4<td align="center" valign="top">
5
6<TMPL_INCLUDE NAME="msgblock.tmpl">
7
8<table width="98%">
9<tr><th colspan="3"><div class="center maintitle"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</div></th></tr>
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>
15<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
16<tr>
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>
19</td>
20</tr>
21</table>
22
23<table width="98%" border="0" cellspacing="4" cellpadding="3">
24<tr>
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
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 delgrp>
32 <td class="datahead_s">Delete</td>
33</TMPL_IF>
34</tr>
35<TMPL_IF name=grouptable>
36<TMPL_LOOP name=grouptable>
37<tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
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>
39 <td><TMPL_VAR name=pgroup></td>
40 <td><TMPL_VAR name=nusers></td>
41 <td><TMPL_VAR name=ndomains></td>
42 <td><TMPL_VAR NAME=nrevzones></td>
43<TMPL_IF delgrp>
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>
45</TMPL_IF>
46</tr>
47</TMPL_LOOP>
48<tr><td colspan="6" align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td></tr>
49<TMPL_ELSE>
50<tr><td colspan="6" align="center">No groups found</td></tr>
51</TMPL_IF>
52</table>
53
54</td>
55</tr>
56</table>
Note: See TracBrowser for help on using the repository browser.