aboutsummaryrefslogtreecommitdiffstats
path: root/templates/users.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/users.html')
-rw-r--r--templates/users.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/users.html b/templates/users.html
index 8490311..4656e88 100644
--- a/templates/users.html
+++ b/templates/users.html
@@ -4,6 +4,7 @@
<th>username</th>
<th>real name</th>
<th>email</th>
+ <th>action</th>
</tr>
{{# users }}
<tr>
@@ -11,6 +12,11 @@
<td>{{ .username }}</td>
<td>{{ .realname() }}</td>
<td>{{ .email() }}</td>
+ <td><a href="/users/{{ .id }}/delete" id="delete_user">Delete</a></td>
</tr>
{{/ users }}
</table>
+
+<div class="actions">
+ <a href="/users/new" id="new_user">Create new user</a>
+</div>