diff options
author | rtz12 <koenig@fagott.pw> | 2016-01-17 20:31:26 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-01-17 20:31:26 (UTC) |
commit | 6cb2de0a1f583ef8d018e430181a7414fa7faff1 (patch) | |
tree | e2c60cc9ae28ef98bcc410e54b99a613b7267831 /views/pages/dashboard.html | |
parent | b868b32d348e6350225560b71c8712c2e932b063 (diff) |
Ordnung in die Templates gebracht
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 }} | ||