diff options
Diffstat (limited to 'views/includes/card.html')
-rw-r--r-- | views/includes/card.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/views/includes/card.html b/views/includes/card.html index 289c9d3..a96cb49 100644 --- a/views/includes/card.html +++ b/views/includes/card.html | |||
@@ -3,6 +3,11 @@ | |||
3 | <div class="col s12 m6 l4"> | 3 | <div class="col s12 m6 l4"> |
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 }} | ||
7 | <div class="center-align" style="padding-top: 8px"> | ||
8 | <img class="circle responsive-img card-image" src="{{ $card.Image }}" /> | ||
9 | </div> | ||
10 | {{ end }} | ||
6 | <span class="card-title">{{ $card.Title | html }}</span> | 11 | <span class="card-title">{{ $card.Title | html }}</span> |
7 | <p>{{ $card.Description | html }}</p> | 12 | <p>{{ $card.Description | html }}</p> |
8 | </div> | 13 | </div> |
@@ -11,7 +16,7 @@ | |||
11 | {{ if $action.Disabled }} | 16 | {{ if $action.Disabled }} |
12 | <span>{{ $action.Name | html }}</span> | 17 | <span>{{ $action.Name | html }}</span> |
13 | {{ else }} | 18 | {{ else }} |
14 | <a class="purple-text text-lighten-2" href="{{ $action.Link }}">{{ $action.Name | html }}</a> | 19 | <a {{ if $action.Target }} target="{{ $action.Target }}" {{ end }} class="purple-text text-lighten-2" href="{{ $action.Link }}">{{ $action.Name | html }}</a> |
15 | {{ end }} | 20 | {{ end }} |
16 | {{ end }} | 21 | {{ end }} |
17 | </div> | 22 | </div> |