summaryrefslogtreecommitdiff
path: root/UI/Admin/main.html
blob: a7e07c73d5b37ba80fe529ae63a7ce6c83028ec1 (plain)
  1. <div class="admin">
  2. <!-- first, a list of all active users -->
  3. <center>
  4. <strong><font size="16"> Administration</font></strong>
  5. </center>
  6. <?lsmb IF message?>
  7. <strong><font color="red"><?lsmb message?></font></strong>
  8. <?lsmb END?>
  9. <form name="userlist" method="GET" action="admin.pl">
  10. <table>
  11. <tr>
  12. <td></td>
  13. <td>User ID</td>
  14. <td>Username</td>
  15. <td>Active</td>
  16. <td>Date Added</td>
  17. </tr>
  18. <?lsmb FOREACH user = users.all ?>
  19. <tr>
  20. <td></td>
  21. <td>
  22. <a href="/admin.pl?action=edit_user&amp;user=<?lsmb user.id?>">
  23. <?lsmb user.id?>
  24. </a>
  25. </td>
  26. <td>
  27. <?lsmb user.username?>
  28. </td>
  29. <td>
  30. <?lsmb user.active?>
  31. </td>
  32. <td>
  33. <?lsmb user.creation_date?>
  34. </td>
  35. </tr>
  36. <?lsmb END?>
  37. </table>
  38. <hr/>
  39. <div class="buttons">
  40. <button name="action" value="new_user">New User</button>
  41. <button name="action" value="new_group">New Group</button>
  42. <button name="action" value="delete_user">Delete User</button>
  43. <button name="action" value="delete_group">Delete Group</button>
  44. </div>
  45. </form>
  46. </div>