aboutsummaryrefslogtreecommitdiff
path: root/views/list.html
blob: fb5f7a30dfa08f58532ce30213d61efea57523c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{ define "list" }}
{{ $list := .list }}
<html>
        <head>
				{{ template "materialize" }}
                <title>grilist</title>
				<link rel="stylesheet" href="/assets/css/gril.css" />
                <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
        </head>
        <body>
			{{ template "navbar" . }}
			<div class="container">
				<h1>{{ $list.Name }}<small>von xyz</small></h1><br />
				<ul>
				{{ range $lg := $list.Grils }}
					<li><a href="/gril/{{ $lg.Gril.ID }}">{{ $lg.Gril.RomajiName }}</a></li>
				{{ end }}
				</ul>
			</div>
        </body>
</html>
{{ end }}