blob: b5c512a6351dd88377ff8e987993332fb1761471 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{{ template "base.html" . }}
{{ define "breadcrumb" }}
<a href="{{ .BasePath }}admin/dashboard">Dashboard</a>
{{ end }}
{{ define "content" }}
<ul>
{{ range .Games }}
<li>
<a href="{{ $.BasePath }}/admin/games/{{ .GameID }}">
{{ .DisplayName }} (id={{ .GameID }} type={{ .GameType }} {{ if not .IsPublic }}private{{ end }})
</a>
<ul>
{{ if .IsPublic }}
<li><a href="{{ $.BasePath }}/golf/{{ .GameID }}/play">Play</a></li>
{{ end }}
{{ if .IsPublic }}
<li><a href="{{ $.BasePath }}/golf/{{ .GameID }}/watch">Watch</a></li>
{{ end }}
</ul>
</li>
{{ end }}
</ul>
{{ end }}
|