source: trunk/templates/useradmin.tmpl@ 122

Last change on this file since 122 was 100, checked in by Kris Deugau, 13 years ago

/trunk/templates

Templates

UI tweaks - make sure all main-body content is valign=top

dns.css

tweak comment style so IE ignores a line properly
fix typo, set valign=top on #datatablewrapper
add a couple more classes

grouptree-ie.css

tweak padding to indent group tree properly, comment a few more (apparently)
irrelevant bits

File size: 2.3 KB
Line 
1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td class="main">
6
7<TMPL_IF warnmsg>
8<div class="warning">Warning: <TMPL_VAR NAME=warnmsg></div>
9</TMPL_IF>
10<TMPL_IF del_failed>
11<div class='errmsg'>Error deleting user <TMPL_VAR NAME=delusername>: <TMPL_VAR NAME=errmsg></div>
12</TMPL_IF>
13
14<table width="98%" class="csubtable">
15<tr><th colspan="3"><div class="center maintitle">Manage users</div></th></tr>
16<tr>
17<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
18<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
19<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
20</tr>
21<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
22<tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=user">New User</a></td></tr>
23</table>
24
25<table width="98%" border="0" cellspacing="4" cellpadding="3" class="csubtable">
26<tr>
27<TMPL_LOOP NAME=colheads>
28 <td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP>
29 <td class="datahead_s">Delete</td>
30</tr>
31<TMPL_IF name=usertable>
32<TMPL_LOOP name=usertable>
33<tr class="row<TMPL_VAR name=bg>">
34 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=user&amp;action=edit&amp;user=<TMPL_VAR NAME=userid>"><TMPL_VAR NAME=username></a></td>
35 <td class="data_nowrap"><TMPL_VAR name=userfull></td>
36 <td><TMPL_VAR name=usertype></td>
37 <td><TMPL_VAR name=usergroup></td>
38 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=useradmin<TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR NAME=offset></TMPL_IF>&amp;id=<TMPL_VAR NAME=userid>&amp;action=<TMPL_IF NAME=active>useroff<TMPL_ELSE>useron</TMPL_IF>"><TMPL_IF NAME=active>enabled<TMPL_ELSE>disabled</TMPL_IF></a></td>
39 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=deluser&amp;id=<TMPL_VAR NAME=userid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
40</tr>
41</TMPL_LOOP>
42<TMPL_ELSE>
43<tr><td colspan="6">No users found</td></tr>
44</TMPL_IF>
45</table>
46
47</td>
48</tr>
49</table>
Note: See TracBrowser for help on using the repository browser.