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/gril.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/gril.html')
-rw-r--r-- | views/gril.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/views/gril.html b/views/gril.html index d62fc75..d623abf 100644 --- a/views/gril.html +++ b/views/gril.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>{{ $gril.RomajiName }}<small>{{ $gril.KanjiName }}</small></h1> | 13 | <h1>{{ $gril.RomajiName }}<small>{{ $gril.KanjiName }}</small></h1> |
18 | </div> | 14 | </div> |
19 | </body> | 15 | </body> |