diff options
author | jan <jan@ruken.pw> | 2015-12-29 18:56:33 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2015-12-29 18:56:33 (UTC) |
commit | d6d002dda847b9bdeb6f464f7a1fafaab0419a55 (patch) | |
tree | d0b64c779c1aab618e82d419c1071944d0b18b3d /views | |
parent | 0189b471cab18ec565bfa5605015d6f994cdde00 (diff) |
die grils werden jetzt in einer besseren liste dargestellt. es gibt bereits knöpfe zum umsortieren, muss aber alles noch implementiert werden.
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 b012522..12b2e8d 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="{{ .imagePath }}" /> | 15 | <img src="/{{ $gril.ImagePath }}" /> |
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 8fc7694..1c32bd7 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.Image }}" alt="" class="circle list-img" /> | 24 | <img src="/{{ $lg.Gril.ImagePath }}" alt="" class="circle list-img" /> |
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 /> |