diff options
author | Buchan Milne <buchan@mageia.org> | 2010-11-03 09:37:24 +0000 |
---|---|---|
committer | Buchan Milne <buchan@mageia.org> | 2010-11-03 09:37:24 +0000 |
commit | 41074cf0bc2da78eaffef8eca757a76d5e08fc34 (patch) | |
tree | 45b5be0346bcff5205e2afef46f316c3bf1f6984 /root/admin/account_promote.tt | |
parent | a2976ea837ac446e02681402db35976fa3e4f380 (diff) | |
download | identity-41074cf0bc2da78eaffef8eca757a76d5e08fc34.tar identity-41074cf0bc2da78eaffef8eca757a76d5e08fc34.tar.gz identity-41074cf0bc2da78eaffef8eca757a76d5e08fc34.tar.bz2 identity-41074cf0bc2da78eaffef8eca757a76d5e08fc34.tar.xz identity-41074cf0bc2da78eaffef8eca757a76d5e08fc34.zip |
Add some account admin features
Diffstat (limited to 'root/admin/account_promote.tt')
-rw-r--r-- | root/admin/account_promote.tt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/root/admin/account_promote.tt b/root/admin/account_promote.tt new file mode 100644 index 0000000..fd6400e --- /dev/null +++ b/root/admin/account_promote.tt @@ -0,0 +1,34 @@ +<form method=post> +<table border=0> +<tr> +<th>Select</th> +<th>Username</th> +<th>Email</th> +<th>First Name</th> +<th>Surname</td> +<th>Full Name</td> +</tr> +[% FOREACH entry IN entries %] +<tr> +<td><input type='checkbox' name='username' value="[% entry.uid %]"> +<td>[% entry.uid %]</td> +<td>[% entry.mail %]</td> +<td>[% entry.givenName %]</td> +<td>[% entry.sn %]</td> +<td>[% entry.cn %]</td> +</tr> +[% END %] +</table> + +<table border=0> +<tr> +<td>Primary group</td> +<td><select name='gid'> +[% FOREACH group IN groups %] +<option value=[% group.gidNumber %]>[% group.cn %]</option> +[% END %] +</td> +<td> +<input type='submit' value='Promote'> +</table> +</form> |