diff options
author | jan <jan@ruken.pw> | 2015-12-26 10:41:42 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2015-12-26 10:41:42 (UTC) |
commit | 6fabf512767b458a44b4b2547a7b07e9db71c00a (patch) | |
tree | a40522cc0a735d09fd79cca00c8133f41963b7ef /views/list.html | |
parent | fb0424cea33e1c48f940c485bff1f4d0aac31dc4 (diff) |
default data im renderer, damit wir später krasse sachen machen können. es gibt jetzt eine globale navbar, damit man nicht mehr den zurückknopf drücken muss, um bis zur startseite zu kommen. ich habe einen großen D.
Diffstat (limited to 'views/list.html')
-rw-r--r-- | views/list.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/views/list.html b/views/list.html index 63cfd9c..fb5f7a3 100644 --- a/views/list.html +++ b/views/list.html | |||
@@ -8,12 +8,8 @@ | |||
8 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | 8 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> |
9 | </head> | 9 | </head> |
10 | <body> | 10 | <body> |
11 | {{ template "navbar" . }} | ||
11 | <div class="container"> | 12 | <div class="container"> |
12 | {{ if .loggedIn }} | ||
13 | <div class="row right-align"> | ||
14 | <a class="waves-effect waves-teal btn-flat large" style="top: 24px; font-size: 18px" href="/logout">Ausloggen</a> | ||
15 | </div> | ||
16 | {{ end }} | ||
17 | <h1>{{ $list.Name }}<small>von xyz</small></h1><br /> | 13 | <h1>{{ $list.Name }}<small>von xyz</small></h1><br /> |
18 | <ul> | 14 | <ul> |
19 | {{ range $lg := $list.Grils }} | 15 | {{ range $lg := $list.Grils }} |