diff options
author | aurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-07-03 23:33:08 +0000 |
---|---|---|
committer | aurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-07-03 23:33:08 +0000 |
commit | 8f01bd1dd589d368b5d4d077979d3d4715a3a434 (patch) | |
tree | 90444ddab4c152ccb1472d0d67e8bfaf9b16593b /UI/Admin | |
parent | f31f0fd95aa2eb2e61f09900a2a011984da5a274 (diff) |
Updates and clarifications to the new Admin interface. Testing to commence on Mon, Jul 7th.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2183 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/Admin')
-rw-r--r-- | UI/Admin/edit_group.html | 28 | ||||
-rw-r--r-- | UI/Admin/edit_user.html | 14 |
2 files changed, 38 insertions, 4 deletions
diff --git a/UI/Admin/edit_group.html b/UI/Admin/edit_group.html index 94a795c1..53dd4449 100644 --- a/UI/Admin/edit_group.html +++ b/UI/Admin/edit_group.html @@ -2,16 +2,36 @@ <?lsmb IF user.username ?> - <center><b>Edit User</b></center> + <center><b>Edit Group</b></center> <?lsmb ELSE ?> - <center><b>Create User</b></center> + <center><b>Create Group</b></center> <?lsmb ENDIF ?> <form name="submit_user" action="/admin.pl?"> - - + <table> + <tr> + <td>Name:</td> + <td><input type="textarea" name="name" value="<?lsmb user.username?>"/></td> + </tr> + <tr> + <td>Description:</td> + <td><textarea cols="25" rows="4"><? lsmb user.description ?></textarea></td> + </tr> + </table> + <hr/> + <table> + <tr> + <?lsmb FOREACH group IN groups ?> + <?lsmb IF loop.count % 8 == 0?> + </tr> + <tr> + <?lsmb END?> + <td><input type="checkbox" name="<?lsmb loop.index?>" value="1"/><?lsmb group.rolname?></td> + <?lsmb END?> + </tr> + </table> </form>
\ No newline at end of file diff --git a/UI/Admin/edit_user.html b/UI/Admin/edit_user.html index a7c25529..4602f8fa 100644 --- a/UI/Admin/edit_user.html +++ b/UI/Admin/edit_user.html @@ -146,6 +146,20 @@ </table> <table> + + <!-- Groups section --> + <tr> + <?lsmb FOREACH group IN groups ?> + <?lsmb IF loop.count % 8 == 0?> + </tr> + <tr> + <?lsmb END?> + <td><input type="checkbox" name="<?lsmb loop.index?>" value="1"/><?lsmb group.rolname?></td> + <?lsmb END?> + </tr> + </table> + + <table> <tr> <td><button value="new_user">Submit</button></td> <td><button name="method" value="cancel">Cancel</td> |