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