diff options
author | rtz12 <koenig@fagott.pw> | 2016-11-15 17:29:02 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-11-15 17:29:02 (UTC) |
commit | 0ad174d7329e02b3f644614de0758789bb3677d4 (patch) | |
tree | e49a659c0b89bdec07cde778850b7fe002ac27ea /views/includes | |
parent | e02ad854383265db216ed92b10c4f12408999d6a (diff) |
Verrückter Anilist Import
Bestes Feature 2k16.
Hashtag Make Grilist Great Again.
Diffstat (limited to 'views/includes')
-rw-r--r-- | views/includes/card.html | 7 | ||||
-rw-r--r-- | views/includes/materialize_js.html | 2 |
2 files changed, 7 insertions, 2 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> |
diff --git a/views/includes/materialize_js.html b/views/includes/materialize_js.html index be6dda6..e74202a 100644 --- a/views/includes/materialize_js.html +++ b/views/includes/materialize_js.html | |||
@@ -1,4 +1,4 @@ | |||
1 | {{ define "materialize_js" }} | 1 | {{ define "materialize_js" }} |
2 | <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> | 2 | <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> |
3 | <script src="/assets/js/materialize.min.js"></script> | 3 | <script src="/assets/js/materialize.min.js"></script> |
4 | {{ end }} \ No newline at end of file | 4 | {{ end }} |