aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates/users.html
blob: 3dc03c03a236466169db6d87dad004d51e6fd46e (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="/iosdc-japan/2024/code-battle/admin/dashboard">Dashboard</a>
{{ end }}

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