aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates/users.html
blob: 36fae0df5b7d5dde503b99afb28b032332bb284a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{ template "base.html" . }}

{{ define "breadcrumb" }}
<a href="{{ .BasePath }}/admin/dashboard">Dashboard</a>
{{ end }}

{{ define "content" }}
<ul>
  {{ range .Users }}
    <li>
      <a href="{{ $.BasePath }}/admin/users/{{ .UserID }}">
        {{ .DisplayName }} (id={{ .UserID }} username={{ .Username }}){{ if .IsAdmin }} <em>admin</em>{{ end }}
      </a>
      <form method="post" action="{{ $.BasePath }}/admin/users/{{ .UserID }}/fetch-icon">
        <button type="submit">Fetch Icon</button>
      </form>
    </li>
  {{ end }}
</ul>
{{ end }}