aboutsummaryrefslogtreecommitdiff
path: root/views/pages/dashboard.html
blob: 589b0fdbfa5fb5dd9423ae7ae3260c3e672a2081 (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
{{ define "dashboard" }}
<html>
	<head>
		{{ template "materialize" }}
		<title>grilist</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
	</head>
	<body>
		{{ template "navbar" . }}
		<div class="container">
			<div class="row">
			{{ range $category := .categories }}
				<h2>{{ $category.Title }}</h2>
				<div class="row">
				{{ range $category.Cards }}
					{{ template "card" . }}
				{{ end }}
				</div>
			{{ end }}
			</div>
		</div>
	</body>
</html>
{{ end }}