diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/dashboard.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/views/dashboard.html b/views/dashboard.html index a9a01d9..f2d410d 100644 --- a/views/dashboard.html +++ b/views/dashboard.html | |||
@@ -11,23 +11,23 @@ | |||
11 | <div class="row"> | 11 | <div class="row"> |
12 | {{ range $category := .categories }} | 12 | {{ range $category := .categories }} |
13 | <h2>{{ $category.Title }}</h2> | 13 | <h2>{{ $category.Title }}</h2> |
14 | <div class="row"> | ||
14 | {{ range $card := $category.Cards }} | 15 | {{ range $card := $category.Cards }} |
15 | <div class="row"> | 16 | <div class="col s12 m6 l4"> |
16 | <div class="col s12 m6 l4"> | 17 | <div class="card white"> |
17 | <div class="card white"> | 18 | <div class="card-content black-text"> |
18 | <div class="card-content black-text"> | 19 | <span class="card-title">{{ $card.Title }}</span> |
19 | <span class="card-title">{{ $card.Title }}</span> | 20 | <p>{{ $card.Description }}</p> |
20 | <p>{{ $card.Description }}</p> | 21 | </div> |
21 | </div> | 22 | <div class="card-action"> |
22 | <div class="card-action"> | 23 | {{ range $action := $card.Actions }} |
23 | {{ range $action := $card.Actions }} | 24 | <a href="{{ $action.Link }}">{{ $action.Name }}</a> |
24 | <a href="{{ $action.Link }}">{{ $action.Name }}</a> | 25 | {{ end }} |
25 | {{ end }} | ||
26 | </div> | ||
27 | </div> | 26 | </div> |
28 | </div> | 27 | </div> |
29 | </div> | 28 | </div> |
30 | {{ end }} | 29 | {{ end }} |
30 | </div> | ||
31 | {{ end }} | 31 | {{ end }} |
32 | </div> | 32 | </div> |
33 | </div> | 33 | </div> |