diff options
author | jan <jan@ruken.pw> | 2015-12-29 19:05:45 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2015-12-29 19:05:45 (UTC) |
commit | 5a87c787713edb20b735b8460f5ab49d0041e236 (patch) | |
tree | 1be2c03f4f830db580b6cd9c785990362da4ea57 /views | |
parent | d6d002dda847b9bdeb6f464f7a1fafaab0419a55 (diff) |
thumbnail kann jetzt bei gril.ImagePath bevorzugt werden. das bild des grils sollte jetzt auch nicht mehr gequetscht aussehen.
Diffstat (limited to 'views')
-rw-r--r-- | views/gril.html | 2 | ||||
-rw-r--r-- | views/list.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/gril.html b/views/gril.html index 12b2e8d..2dea399 100644 --- a/views/gril.html +++ b/views/gril.html | |||
@@ -12,7 +12,7 @@ | |||
12 | <div class="container"> | 12 | <div class="container"> |
13 | <h1>{{ $gril.RomajiName }}<small>{{ $gril.KanjiName }}</small></h1> | 13 | <h1>{{ $gril.RomajiName }}<small>{{ $gril.KanjiName }}</small></h1> |
14 | <div class="row center-align"> | 14 | <div class="row center-align"> |
15 | <img src="/{{ $gril.ImagePath }}" /> | 15 | <img src="/{{ $gril.ImagePath false }}" /> |
16 | </div> | 16 | </div> |
17 | {{ range $tag := $gril.Tags }} | 17 | {{ range $tag := $gril.Tags }} |
18 | <div class="chip"> | 18 | <div class="chip"> |
diff --git a/views/list.html b/views/list.html index 1c32bd7..d4cfeae 100644 --- a/views/list.html +++ b/views/list.html | |||
@@ -21,7 +21,7 @@ | |||
21 | {{ $index }} | 21 | {{ $index }} |
22 | </div> | 22 | </div> |
23 | <div class="col s3 m2"> | 23 | <div class="col s3 m2"> |
24 | <img src="/{{ $lg.Gril.ImagePath }}" alt="" class="circle list-img" /> | 24 | <div class="circle gril-img" style="background-image: url(/{{ $lg.Gril.ImagePath true }})"> </div> |
25 | </div> | 25 | </div> |
26 | <div class="col s6 m6"> | 26 | <div class="col s6 m6"> |
27 | <span><a href="/gril/{{ $lg.Gril.ID }}">{{ $lg.Gril.RomajiName }}</a><br /> | 27 | <span><a href="/gril/{{ $lg.Gril.ID }}">{{ $lg.Gril.RomajiName }}</a><br /> |