summaryrefslogtreecommitdiff
path: root/mustash/templates/admin_users.html
diff options
context:
space:
mode:
authorAaron Williamson <aaron@copiesofcopies.org>2013-03-06 09:37:45 -0500
committerAaron Williamson <aaron@copiesofcopies.org>2013-03-06 09:37:45 -0500
commit7b0d82539e2d8a451b8ea9ee54baab0f308a4d8a (patch)
tree677e5e8f5ec032f9403175b1bc78f378bd0d2d5c /mustash/templates/admin_users.html
parent673b5ffc0f4fe267901d2acef5212bc158b7885e (diff)
Added license notices, rebranded.
Diffstat (limited to 'mustash/templates/admin_users.html')
-rw-r--r--mustash/templates/admin_users.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/mustash/templates/admin_users.html b/mustash/templates/admin_users.html
new file mode 100644
index 0000000..d51602b
--- /dev/null
+++ b/mustash/templates/admin_users.html
@@ -0,0 +1,32 @@
+$def with (users, form)
+
+<div class="span8">
+ <h2>Users</h2>
+ <table class="table">
+ <tr>
+ <th>User</th>
+ <th>Password</th>
+ <th></th>
+ </tr>
+ $for user in users:
+ <tr>
+ <td><a href="/user/$user.id/edit/">$user.username</a></td>
+ <td>$user.password</td>
+ <td>
+ <form action="/user/$user.id/delete/" method="POST">
+ <input type="submit" class="btn" value="Delete" />
+ </form>
+ </td>
+ </tr>
+ </table>
+
+</div>
+
+<div class="span4">
+ <h2>Add a user</h2>
+
+ <form action="" method="post">
+ $:form.render_css()
+ </form>
+
+</div>