diff options
author | rtz12 <koenig@fagott.pw> | 2017-04-12 17:08:18 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2017-04-12 17:08:18 (UTC) |
commit | 1ca3718b9f0aa43ef06677c899184526b7359120 (patch) | |
tree | 7ff841ed428ae0407f77d4a9b49dd344b9b006a6 /views | |
parent | 1d8f9871455ac4e7a124b82a24a31ed18ed961aa (diff) | |
parent | 6243b499153e43a2226a6c490afbe230e04b4677 (diff) |
Merge branch 'master' of projekte.fagott.pw:grilist
Diffstat (limited to 'views')
-rw-r--r-- | views/includes/card.html | 6 | ||||
-rw-r--r-- | views/pages/dashboard.html | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/views/includes/card.html b/views/includes/card.html index a96cb49..41ad2ce 100644 --- a/views/includes/card.html +++ b/views/includes/card.html | |||
@@ -1,6 +1,6 @@ | |||
1 | {{ define "card" }} | 1 | {{ define "card" }} |
2 | {{ $card := . }} | 2 | {{ $card := . }} |
3 | <div class="col s12 m6 l4"> | 3 | <div class="flex-card"> |
4 | <div class="card white"> | 4 | <div class="card white"> |
5 | <div class="card-content black-text"> | 5 | <div class="card-content black-text"> |
6 | {{ if $card.Image }} | 6 | {{ if $card.Image }} |
@@ -8,10 +8,10 @@ | |||
8 | <img class="circle responsive-img card-image" src="{{ $card.Image }}" /> | 8 | <img class="circle responsive-img card-image" src="{{ $card.Image }}" /> |
9 | </div> | 9 | </div> |
10 | {{ end }} | 10 | {{ end }} |
11 | <span class="card-title">{{ $card.Title | html }}</span> | 11 | <span class="card-title valign-wrapper">{{ $card.Title | html }}{{ if $card.SubTitle }}{{ $card.SubTitle | html }}{{ end }}</span> |
12 | <p>{{ $card.Description | html }}</p> | 12 | <p>{{ $card.Description | html }}</p> |
13 | </div> | 13 | </div> |
14 | <div class="card-action"> | 14 | <div class="card-action pull-down"> |
15 | {{ range $action := $card.Actions }} | 15 | {{ range $action := $card.Actions }} |
16 | {{ if $action.Disabled }} | 16 | {{ if $action.Disabled }} |
17 | <span>{{ $action.Name | html }}</span> | 17 | <span>{{ $action.Name | html }}</span> |
diff --git a/views/pages/dashboard.html b/views/pages/dashboard.html index 589b0fd..2eacaba 100644 --- a/views/pages/dashboard.html +++ b/views/pages/dashboard.html | |||
@@ -11,7 +11,7 @@ | |||
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 | <div class="flex"> |
15 | {{ range $category.Cards }} | 15 | {{ range $category.Cards }} |
16 | {{ template "card" . }} | 16 | {{ template "card" . }} |
17 | {{ end }} | 17 | {{ end }} |