aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-11-27 20:19:39 (UTC)
committerjan <jan@ruken.pw>2016-11-27 20:19:39 (UTC)
commit80e7d249146c661edf80519315d5c26dd70a4d14 (patch)
treec6c86a2c7186752d32539519cbf737cb30cf87a6 /views
parentf4a485fe8227b98c417f1ecb52251fb2a9638911 (diff)
Diffstat (limited to 'views')
-rw-r--r--views/includes/card.html4
-rw-r--r--views/pages/dashboard.html2
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 }}