diff options
Diffstat (limited to 'root/admin/account.tt')
-rw-r--r-- | root/admin/account.tt | 86 |
1 files changed, 44 insertions, 42 deletions
diff --git a/root/admin/account.tt b/root/admin/account.tt index b00b8a4..aae4888 100644 --- a/root/admin/account.tt +++ b/root/admin/account.tt @@ -1,47 +1,49 @@ -<form method='POST'> -<table> -<tr> -<td> -Search by -</td> -<td> -<select name="attribute"> -<option value="uid">Username</option> -<option value="mail">Email</option> -<option value="cn">Full Name</option> -<option value="sn">Surname</option> -</select> -</td> -<!-- td> -<select name="matchtype"> -<option value="substring">contains</option> -<option value="exact">is exactly</option> -<option value="gte">greater than or equal to</option> -<option value="lt">less than</option> -</select> -</td --> -<td><input name='value'></td> -</table> +<form method="post" action=""> + <table> + <tr> + <td>Search by</td> + <td> + <select name="attribute"> + <option value="uid">Username</option> + <option value="mail">Email</option> + <option value="cn">Full Name</option> + <option value="sn">Surname</option> + </select> + </td> + <!-- td> + <select name="matchtype"> + <option value="substring">contains</option> + <option value="exact">is exactly</option> + <option value="gte">greater than or equal to</option> + <option value="lt">less than</option> + </select> + </td --> + <td><input name="value" value="" /></td> + </tr> + </table> </form> + +<hr /> + [% IF entries %] -<table border=0> -<tr> -<th>Username</th> -<th>Email</th> -<th>First Name</th> -<th>Surname</td> -<th>Full Name</td> -</tr> -[% FOREACH entry IN entries %] -<tr> -<td><a href="[% c.uri_for('/admin/account_modify') %]/[% entry.uid %]">[% entry.uid %]</a></td> -<td>[% entry.mail %]</td> -<td>[% entry.givenName %]</td> -<td>[% entry.sn %]</td> -<td>[% entry.cn %]</td> -</tr> -[% END %] -</table> + <table border=0> + <tr> + <th>Username</th> + <th>Email</th> + <th>First Name</th> + <th>Surname</td> + <th>Full Name</td> + </tr> + [% FOREACH entry IN entries %] + <tr> + <td><a href="[% c.uri_for('/admin/account_modify') %]/[% entry.uid %]">[% entry.uid %]</a></td> + <td>[% entry.mail %]</td> + <td>[% entry.givenName %]</td> + <td>[% entry.sn %]</td> + <td>[% entry.cn %]</td> + </tr> + [% END %] + </table> [% END %] |