source: trunk/templates/useradmin.tmpl@ 101

Last change on this file since 101 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
RevLine 
[24]1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
[100]5<td class="main">
[24]6
[67]7<TMPL_IF warnmsg>
8<div class="warning">Warning: <TMPL_VAR NAME=warnmsg></div>
9</TMPL_IF>
[100]10<TMPL_IF del_failed>
11<div class='errmsg'>Error deleting user <TMPL_VAR NAME=delusername>: <TMPL_VAR NAME=errmsg></div>
12</TMPL_IF>
[24]13
[100]14<table width="98%" class="csubtable">
15<tr><th colspan="3"><div class="center maintitle">Manage users</div></th></tr>
[41]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>
[40]21<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
[67]22<tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=user">New User</a></td></tr>
[24]23</table>
24
[100]25<table width="98%" border="0" cellspacing="4" cellpadding="3" class="csubtable">
[24]26<tr>
[44]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>
[41]29 <td class="datahead_s">Delete</td>
[24]30</tr>
31<TMPL_IF name=usertable>
32<TMPL_LOOP name=usertable>
33<tr class="row<TMPL_VAR name=bg>">
[67]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>
[59]35 <td class="data_nowrap"><TMPL_VAR name=userfull></td>
[38]36 <td><TMPL_VAR name=usertype></td>
37 <td><TMPL_VAR name=usergroup></td>
[51]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>
[38]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>
[24]40</tr>
41</TMPL_LOOP>
42<TMPL_ELSE>
[41]43<tr><td colspan="6">No users found</td></tr>
[24]44</TMPL_IF>
45</table>
46
47</td>
[38]48</tr>
[24]49</table>
Note: See TracBrowser for help on using the repository browser.