aboutsummaryrefslogtreecommitdiff
path: root/views/card.html
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2016-01-17 20:31:26 (UTC)
committerrtz12 <koenig@fagott.pw>2016-01-17 20:31:26 (UTC)
commit6cb2de0a1f583ef8d018e430181a7414fa7faff1 (patch)
treee2c60cc9ae28ef98bcc410e54b99a613b7267831 /views/card.html
parentb868b32d348e6350225560b71c8712c2e932b063 (diff)
Ordnung in die Templates gebracht
Diffstat (limited to 'views/card.html')
-rw-r--r--views/card.html20
1 files changed, 0 insertions, 20 deletions
diff --git a/views/card.html b/views/card.html
deleted file mode 100644
index be28272..0000000
--- a/views/card.html
+++ /dev/null
@@ -1,20 +0,0 @@
1{{ define "card" }}
2{{ $card := . }}
3<div class="col s12 m6 l4">
4 <div class="card white">
5 <div class="card-content black-text">
6 <span class="card-title">{{ $card.Title | html }}</span>
7 <p>{{ $card.Description | html }}</p>
8 </div>
9 <div class="card-action">
10 {{ range $action := $card.Actions }}
11 {{ if $action.Disabled }}
12 <span>{{ $action.Name | html }}</span>
13 {{ else }}
14 <a href="{{ $action.Link }}">{{ $action.Name | html }}</a>
15 {{ end }}
16 {{ end }}
17 </div>
18 </div>
19</div>
20{{ end }}