summaryrefslogtreecommitdiff
path: root/UI/Admin/main.html
blob: 96c90db702c6b7e3c233b8e1c7de8d2bd58ddd67 (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>Username</td>
  14. <td>Active</td>
  15. <td>Date Added</td>
  16. </tr>
  17. <?lsmb FOREACH user = users ?>
  18. <tr>
  19. <td></td>
  20. <td>
  21. <a href="admin.pl?action=edit_user&amp;user_id=<?lsmb user.id?>">
  22. <?lsmb user.username?>
  23. </a>
  24. </td>
  25. <td>
  26. <?lsmb user.active?>
  27. </td>
  28. <td>
  29. <?lsmb user.creation_date?>
  30. </td>
  31. </tr>
  32. <?lsmb END?>
  33. </table>
  34. <hr/>
  35. <div class="buttons">
  36. <button name="action" value="new_user">New User</button>
  37. <button name="action" value="new_group">New Group</button>
  38. <button name="action" value="delete_user">Delete User</button>
  39. <button name="action" value="delete_group">Delete Group</button>
  40. </div>
  41. </form>
  42. </div>