diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/list.html | 34 | ||||
-rw-r--r-- | views/list_gril.html | 2 |
2 files changed, 19 insertions, 17 deletions
diff --git a/views/list.html b/views/list.html index 45730b8..c85e147 100644 --- a/views/list.html +++ b/views/list.html | |||
@@ -28,23 +28,25 @@ | |||
28 | {{ end }} | 28 | {{ end }} |
29 | </ul> | 29 | </ul> |
30 | </div> | 30 | </div> |
31 | {{ if ($user) and eq $user.ID $list.Owner.ID }} | 31 | {{ if $user}} |
32 | <div class="col s12 l4"> | 32 | {{ if eq $user.ID $list.Owner.ID }} |
33 | <div class="card-panel" style="margin-top: 14px"> | 33 | <div class="col s12 l4"> |
34 | <span style="font-size: 130%">Gril hinzufügen</span><br /> | 34 | <div class="card-panel" style="margin-top: 14px"> |
35 | <form> | 35 | <span style="font-size: 130%">Gril hinzufügen</span><br /> |
36 | <div class="input-field"> | 36 | <form> |
37 | <input id="search" type="search" onKeyDown="instantSearch()" required> | 37 | <div class="input-field"> |
38 | <label for="search"><i class="material-icons">search</i></label> | 38 | <input id="search" type="search" onKeyDown="instantSearch()" required> |
39 | <i class="material-icons">close</i> | 39 | <label for="search"><i class="material-icons">search</i></label> |
40 | </div> | 40 | <i class="material-icons">close</i> |
41 | </form> | 41 | </div> |
42 | </form> | ||
43 | </div> | ||
44 | <div class="col s10 offset-s1"> | ||
45 | <ul class="collection search-results" id="search-results"> | ||
46 | </ul> | ||
47 | </div> | ||
42 | </div> | 48 | </div> |
43 | <div class="col s10 offset-s1"> | 49 | {{ end }} |
44 | <ul class="collection search-results" id="search-results"> | ||
45 | </ul> | ||
46 | </div> | ||
47 | </div> | ||
48 | {{ end }} | 50 | {{ end }} |
49 | </div> | 51 | </div> |
50 | </div> | 52 | </div> |
diff --git a/views/list_gril.html b/views/list_gril.html index 13d4159..f719dae 100644 --- a/views/list_gril.html +++ b/views/list_gril.html | |||
@@ -7,7 +7,7 @@ | |||
7 | </div> | 7 | </div> |
8 | <div class="col {{ if .Value.IsListOwner }}s6 m3{{ else }}s8 m9{{ end }}"> | 8 | <div class="col {{ if .Value.IsListOwner }}s6 m3{{ else }}s8 m9{{ end }}"> |
9 | <span><a href="/gril/{{ .Value.Gril.Gril.Slug }}">{{ .Value.Gril.Gril.RomajiName }}</a><br /> | 9 | <span><a href="/gril/{{ .Value.Gril.Gril.Slug }}">{{ .Value.Gril.Gril.RomajiName }}</a><br /> |
10 | <span class="jap-name">{{ .Value.Gril.Gril.KanjiName }}</span> | 10 | <span class="jap-name truncate">{{ .Value.Gril.Gril.KanjiName }}</span> |
11 | </span> | 11 | </span> |
12 | </div> | 12 | </div> |
13 | {{ if .Value.IsListOwner }} | 13 | {{ if .Value.IsListOwner }} |