diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/includes/card.html | 4 | ||||
-rw-r--r-- | views/pages/dashboard.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/views/includes/card.html b/views/includes/card.html index a96cb49..457eef9 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,7 +8,7 @@ | |||
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"> |
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 }} |