diff options
Diffstat (limited to 'templates/users.html')
-rw-r--r-- | templates/users.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/users.html b/templates/users.html new file mode 100644 index 0000000..8002d2f --- /dev/null +++ b/templates/users.html @@ -0,0 +1,17 @@ +{{ define "users" }} + +{{ template "head" . }} +<body> + {{ template "nav" . }} + + <span id="users"></span> + <h1><a href="#users">All users</a></h1> + + <ul> + {{ range $user := .users }} + <li>- <a href="/user/{{ $user.ID }}">{{ $user.Name }}</a></li> + {{ end }} + </ul> +</div> +{{ template "footer" . }} +{{ end }} |