about summary refs log tree commit diff
path: root/templates/user.html
blob: c2e827ab7c2ba22be4ade289fcd0293c3f990efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 }}