diff options
author | aurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-10 23:02:09 +0000 |
---|---|---|
committer | aurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-10 23:02:09 +0000 |
commit | 74afbb457aac6a1f6e2d4a2357768f710977a640 (patch) | |
tree | cc06c426397d05c5f1dc12eb40b0883f7d3b0854 /UI/Admin/main.html | |
parent | 928290e80924da702b9041a30dd776ad34d24ba9 (diff) |
Creation of next-gen admin.pl, admin.pm, and admin.sql systems.
Admin.pm defines the new controller
admin.pl is the direct view-backing software.
POD is not completed, will be provided shortly.
Full UI templates provided for the Reconciliation, Vendor, Customer, and Employee as well.
UI/ is being delineated by subdirectories for Admin, Vendor, Customer and Employee, to date.
Minor whitespace cleanup.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1557 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/Admin/main.html')
-rw-r--r-- | UI/Admin/main.html | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/UI/Admin/main.html b/UI/Admin/main.html new file mode 100644 index 00000000..56f4b2f8 --- /dev/null +++ b/UI/Admin/main.html @@ -0,0 +1,55 @@ +<?lsmb block main?> +<div class="admin"> + + <!-- first, a list of all active users --> + + <center> + <strong><font size="16"> Administration</font></strong> + </center> + + <?lsmb if message?> + <strong><font color="red"><?lsmb message?></font></strong> + <?lsmb end?> + <form name="userlist" method="POST" action="admin.pl"> + <table> + <tr> + <td></td> + <td>User ID</td> + <td>Username</td> + <td>Active</td> + <td>Date Added</td> + </tr> + + <?lsmb FOREACH user = users.all ?> + + <tr> + <td></td> + <td> + <a href="/admin.pl?action=edit_user&user=<?lsmb user.id?>"> + <?lsmb user.id?> + </a> + </td> + <td> + <?lsmb user.username?> + </td> + <td> + <?lsmb user.active?> + </td> + <td> + <?lsmb user.creation_date?> + </td> + + </tr> + <?lsmb end?> + </table> + + <hr/> + <div class="buttons"> + <button name="method" value="new_user">New User</button> + <button name="method" value="new_group">New Group</button> + <button name="method" value="delete_user">Delete User</button> + <button name="method" value="delete_group">Delete Group</button> + </div> + </form> +</div> +<?end?>
\ No newline at end of file |