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/includes | |
parent | 1d8f9871455ac4e7a124b82a24a31ed18ed961aa (diff) | |
parent | 6243b499153e43a2226a6c490afbe230e04b4677 (diff) |
Merge branch 'master' of projekte.fagott.pw:grilist
Diffstat (limited to 'views/includes')
-rw-r--r-- | views/includes/card.html | 6 |
1 files changed, 3 insertions, 3 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> |