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/user.html |
initial commit
Diffstat (limited to 'templates/user.html')
-rw-r--r-- | templates/user.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/user.html b/templates/user.html new file mode 100644 index 0000000..c2e827a --- /dev/null +++ b/templates/user.html @@ -0,0 +1,19 @@ +{{ define "user" }} + +{{ template "head" . }} +<body> + {{ template "nav" . }} + + <span id="user"></span> + <h1><a href="#user">{{ .targetUser.Name }}'s Bots</a></h1> + + This is just a list of all bots belonging to the given user + + <ul> + {{ range $bot := .bots }} + <li>- <a href="/bot/{{ $bot.ID }}">{{ $bot.Name }}</a></li> + {{ end }} + </ul> +</div> +{{ template "footer" . }} +{{ end }} |