From b1efb9d79d999e1cb17c71308d65362043918865 Mon Sep 17 00:00:00 2001 From: rtz12 Date: Sun, 9 Oct 2016 21:56:54 +0200 Subject: Wieder einmal die Einrueckung angepasst diff --git a/views/includes/list_gril.html b/views/includes/list_gril.html index 07f7f61..c095d69 100644 --- a/views/includes/list_gril.html +++ b/views/includes/list_gril.html @@ -17,14 +17,14 @@
keyboard_arrow_up keyboard_arrow_down -
-
+
+
delete -
-
-
+
+
+
keyboard_arrow_up keyboard_arrow_down delete diff --git a/views/pages/dashboard.html b/views/pages/dashboard.html index 045d4ab..589b0fd 100644 --- a/views/pages/dashboard.html +++ b/views/pages/dashboard.html @@ -1,24 +1,24 @@ {{ define "dashboard" }} - - {{ template "materialize" }} - grilist - - - - {{ template "navbar" . }} -
+ + {{ template "materialize" }} + grilist + + + + {{ template "navbar" . }} +
+
+ {{ range $category := .categories }} +

{{ $category.Title }}

- {{ range $category := .categories }} -

{{ $category.Title }}

-
- {{ range $category.Cards }} - {{ template "card" . }} - {{ end }} -
- {{ end }} + {{ range $category.Cards }} + {{ template "card" . }} + {{ end }}
+ {{ end }}
- +
+ {{ end }} diff --git a/views/pages/gril.html b/views/pages/gril.html index a24cb77..69d7fcd 100644 --- a/views/pages/gril.html +++ b/views/pages/gril.html @@ -1,106 +1,101 @@ {{ define "gril" }} {{ $gril := .gril }} - - {{ template "materialize" }} - grilist - - - - - {{ template "navbar" . }} -
-

{{ $gril.RomajiName }}{{ $gril.KanjiName }}

- {{ if $gril.OtherNames }} -

Auch bekannt als: - {{ range $i, $alias := $gril.OtherNames }}{{ if $i }},{{ end }} - {{ $alias }}{{ end }} -

+ + {{ template "materialize" }} + grilist + + + + + {{ template "navbar" . }} +
+

{{ $gril.RomajiName }}{{ $gril.KanjiName }}

+ {{ if $gril.OtherNames }} +

Auch bekannt als: + {{ range $i, $alias := $gril.OtherNames }}{{ if $i }},{{ end }} + {{ $alias }}{{ end }} +

+ {{ end }} +
+ + {{ if .user }} +

Zu Liste hinzufügen {{ end }} -
- - {{ if .user }} -

Zu Liste hinzufügen - {{ end }} - +
+ {{ range $tag := $gril.Tags }} + +
+ {{ $tag }} +
+
+ {{ end }} +
+
+
+ {{ if $gril.Birthday.Valid }} +
+
+
+ {{ $gril.Birthday.Value}} +

Geburtstag

+
+
- {{ range $tag := $gril.Tags }} - -
- {{ $tag }} + {{ else if $gril.Age.Valid }} +
+
+
+ {{ $gril.Age.Value }} +

Jahre alt

+
+
+
+ {{ end }} + {{ if $gril.Lists }} +
{{ end }} -
-
-
- {{ if $gril.Birthday.Valid }} -
-
-
- {{ $gril.Birthday.Value}} -

Geburtstag

-
-
-
- {{ else if $gril.Age.Valid }} -
-
-
- {{ $gril.Age.Value }} -

Jahre alt

-
-
-
- {{ end }} - {{ if $gril.Lists }} -
-
-
-

in

- {{ len $gril.Lists}} -

Liste{{ if ne (len $gril.Lists) 1 }}n{{ end }}

-
-
-
- {{ end }} -
-
-
- {{ $gril.UpdatedAt.Format "Jan 02, 2006" }} -

aktualisiert

-
-
-
+
+
+
+ {{ $gril.UpdatedAt.Format "Jan 02, 2006" }} +

aktualisiert

+
+
+
+
+ {{ if .SimilarGrils }} +

Ähnliche Grils

+
+ {{ range .SimilarGrils }} +
+ {{ template "card_gril" . }}
- - {{ if .SimilarGrils }} -

Ähnliche Grils

-
- {{ range .SimilarGrils }} -
- {{ template "card_gril" . }} -
- {{ end }} -
- {{ end }} + {{ end }} +
+ {{ end }} +
+ {{ if .user }} + + + {{ template "materialize_js" }} + + {{ end }} + {{ end }} -- cgit v0.10.1