diff options
Diffstat (limited to 'views/card.html')
-rw-r--r-- | views/card.html | 20 |
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 }} | ||