diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-07-31 16:49:42 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-07-31 16:49:42 +0200 |
commit | 7f5e8887e9b1a90d1ed3dd31f053dadec4c75d94 (patch) | |
tree | 0a6464a7434a6c43ffb285d300cf9a999fc6d226 /templates | |
parent | 6a5f1bd90e46c2bea7be73b512d5202954900cad (diff) | |
download | rocket-blog-7f5e8887e9b1a90d1ed3dd31f053dadec4c75d94.tar.gz rocket-blog-7f5e8887e9b1a90d1ed3dd31f053dadec4c75d94.tar.bz2 rocket-blog-7f5e8887e9b1a90d1ed3dd31f053dadec4c75d94.zip |
Add view to list all users
Diffstat (limited to 'templates')
-rw-r--r-- | templates/users.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/users.html b/templates/users.html new file mode 100644 index 0000000..9eeb533 --- /dev/null +++ b/templates/users.html @@ -0,0 +1,16 @@ +<table> + <hr> + <td>id</td> + <td>username</td> + <td>real name</td> + <td>email</td> + </hr> + <tr> + {{# users }} + <td>{{ .id }}</td> + <td>{{ .username }}</td> + <td>{{ .realname() }}</td> + <td>{{ .email() }}</td> + {{/ users }} + </tr> +</table> |