summaryrefslogtreecommitdiff
path: root/stashbox/templates/admin_users.html
diff options
context:
space:
mode:
authorAaron Williamson <aaron@copiesofcopies.org>2013-03-06 08:53:53 -0500
committerAaron Williamson <aaron@copiesofcopies.org>2013-03-06 08:53:53 -0500
commit698ec51664b875431f23470c4621983f6965f951 (patch)
tree89d36e67d339e2acd472d044e66e295a11b63672 /stashbox/templates/admin_users.html
parent901c0e782d8adb1e445672ce45eb40e660379b0d (diff)
Minimal viable stache.
Diffstat (limited to 'stashbox/templates/admin_users.html')
-rw-r--r--stashbox/templates/admin_users.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/stashbox/templates/admin_users.html b/stashbox/templates/admin_users.html
new file mode 100644
index 0000000..d51602b
--- /dev/null
+++ b/stashbox/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>