aboutsummaryrefslogtreecommitdiff
path: root/views/includes/navbar.html
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2016-10-03 12:34:36 (UTC)
committerrtz12 <koenig@fagott.pw>2016-10-03 12:34:36 (UTC)
commitc1d895a7db943b758bfbf214c3727569976f85e0 (patch)
tree09d50f05049095b92456c78b3df7fb074fbd53e3 /views/includes/navbar.html
parent5997487fc5cc2126fb5afa12b75b67f3985e11d2 (diff)
Formatierung gefixt und go fmt
Ein gewisser jemand sollte endlich mal seinen Editor richtig konfigurieren
Diffstat (limited to 'views/includes/navbar.html')
-rw-r--r--views/includes/navbar.html32
1 files changed, 16 insertions, 16 deletions
diff --git a/views/includes/navbar.html b/views/includes/navbar.html
index a0db664..23514f8 100644
--- a/views/includes/navbar.html
+++ b/views/includes/navbar.html
@@ -1,17 +1,17 @@
1{{ define "navbar" }} 1{{ define "navbar" }}
2 <nav> 2<nav>
3 <div class="nav-wrapper purple lighten-2"> 3 <div class="nav-wrapper purple lighten-2">
4 <a href="/" class="brand-logo center">grilist</a> 4 <a href="/" class="brand-logo center">grilist</a>
5 <ul id="nav-mobile" class="right hide-on-med-and-down"> 5 <ul id="nav-mobile" class="right hide-on-med-and-down">
6 {{ if .user }} 6 {{ if .user }}
7 <li><a href="/new/list">Liste erstellen</a></li> 7 <li><a href="/new/list">Liste erstellen</a></li>
8 <li><a href="/user/{{ .user.ID }}/{{ .user.GetName }}">{{ .user.GetName }}</a></li> 8 <li><a href="/user/{{ .user.ID }}/{{ .user.GetName }}">{{ .user.GetName }}</a></li>
9 <li><a href="/logout">Ausloggen</a></li> 9 <li><a href="/logout">Ausloggen</a></li>
10 {{ else }} 10 {{ else }}
11 <li><a href="/login">Einloggen</a></li> 11 <li><a href="/login">Einloggen</a></li>
12 <li><a href="/register">Registrieren</a></li> 12 <li><a href="/register">Registrieren</a></li>
13 {{ end }} 13 {{ end }}
14 </ul> 14 </ul>
15 </div> 15 </div>
16 </nav> 16</nav>
17{{ end }} \ No newline at end of file 17{{ end }}