diff options
Diffstat (limited to 'views/pages/dashboard.html')
-rw-r--r-- | views/pages/dashboard.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/views/pages/dashboard.html b/views/pages/dashboard.html new file mode 100644 index 0000000..045d4ab --- /dev/null +++ b/views/pages/dashboard.html | |||
@@ -0,0 +1,24 @@ | |||
1 | {{ define "dashboard" }} | ||
2 | <html> | ||
3 | <head> | ||
4 | {{ template "materialize" }} | ||
5 | <title>grilist</title> | ||
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | ||
7 | </head> | ||
8 | <body> | ||
9 | {{ template "navbar" . }} | ||
10 | <div class="container"> | ||
11 | <div class="row"> | ||
12 | {{ range $category := .categories }} | ||
13 | <h2>{{ $category.Title }}</h2> | ||
14 | <div class="row"> | ||
15 | {{ range $category.Cards }} | ||
16 | {{ template "card" . }} | ||
17 | {{ end }} | ||
18 | </div> | ||
19 | {{ end }} | ||
20 | </div> | ||
21 | </div> | ||
22 | </body> | ||
23 | </html> | ||
24 | {{ end }} | ||