about summary refs log tree commit diff
path: root/templates/user.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user.html')
-rw-r--r--templates/user.html19
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 }}