diff options
author | Emile <git@emile.space> | 2024-08-16 19:50:26 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-08-16 19:50:26 +0200 |
commit | 1a57267a17c2fc17fb6e104846fabc3e363c326c (patch) | |
tree | 1e574e3a80622086dc3c81ff9cba65ef7049b1a9 /templates/users.html |
initial commit
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 }} |