source: trunk/templates/grpman.tmpl@ 22

Last change on this file since 22 was 22, checked in by Kris Deugau, 15 years ago

/trunk

checkpoint - basic group management should be complete

  • fiddled HTML so that group-delete and domain-delete errors don't sit on top of the menu column
File size: 2.5 KB
Line 
1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center">
6
7 <TMPL_IF del_failed>
8 <div class='errmsg'>Error deleting group <TMPL_VAR NAME=groupname>: <TMPL_VAR NAME=errmsg></div>
9 </TMPL_IF>
10
11<table width="98%">
12<tr><td colspan=3 align=center><span class="pgtitle">Manage groups</span></td></tr>
13<tr><td><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
14<td>
15<TMPL_INCLUDE NAME="fpnla.tmpl">
16</td><td align=right>insert search box here</td></tr>
17
18<tr><td colspan=3 align=center>insert letter search here</td></tr>
19
20<tr><td colspan=3 align=right><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=newgrp">New Group</a></td></tr>
21</table>
22
23<table border=0 cellspacing="5" cellpadding="3">
24<tr>
25<TMPL_IF NAME=foobarbaz>
26<!-- This block to be un-TMPL_IF'ed once we care about sort order - by default, we sort by domain, ascending -->
27 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Domain<TMPL_IF NAME=sortdomain>&nbsp;<img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td>
28 <td class="underline" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Status<TMPL_IF NAME=sortstatus>&nbsp;<img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td>
29 <td class="underline" align="center" nowrap><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist&offset=<TMPL_VAR NAME=offset>">Group<TMPL_IF NAME=sortgroup>&nbsp;<img border=0 alt='<TMPL_VAR NAME=sortorder>' src="images/<TMPL_VAR NAME=sortorder>.png"></TMPL_IF></a></td>
30<TMPL_ELSE>
31 <td class="underline" nowrap>Group</td>
32 <td class="underline" nowrap width="5%">Parent Group</td>
33 <td class="underline" nowrap width="5%">Users</td>
34 <td class="underline" align="center" nowrap width="5%">Domains</td>
35</TMPL_IF>
36 <td class="underline" width="1%">Delete</td>
37</tr>
38<TMPL_IF name=grouptable>
39<TMPL_LOOP name=grouptable>
40<tr class="row<TMPL_VAR name=bg>">
41 <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman&id=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a></td>
42 <td width="5%" nowrap><TMPL_VAR name=pgroup></td>
43 <td width="5%" nowrap><TMPL_VAR name=nusers></td>
44 <td width="5%" nowrap><TMPL_VAR name=ndomains></td>
45 <td width="1%" nowrap align=center><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delgrp&id=<TMPL_VAR NAME=groupid>"><img src="images/trash2.png" border=0></a></td>
46</tr>
47</TMPL_LOOP>
48<TMPL_ELSE>
49<tr><td colspan=5>No groups found</td></tr>
50</TMPL_IF>
51</table>
52
53</td>
54</table>
Note: See TracBrowser for help on using the repository browser.