diff options
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> |