aboutsummaryrefslogtreecommitdiff
path: root/views/list.html
blob: c944e8778260896c2dc64d17cd3edf6bd541ad10 (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.Slug }}">{{ $lg.Gril.RomajiName }}</a></li>
				{{ end }}
				</ul>
			</div>
        </body>
</html>
{{ end }}