aboutsummaryrefslogtreecommitdiff
path: root/views/includes
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2016-10-09 01:33:34 (UTC)
committerrtz12 <koenig@fagott.pw>2016-10-09 01:33:34 (UTC)
commit924f63a7ffbd661d64c1d04547076ea4a31d1739 (patch)
tree3ef1122f4cf1c6c6b8b8ae407407c057cb747bc0 /views/includes
parentdb4bd8185f7283420b3f60fc561b1b8e4f97b3b9 (diff)
parent46185bf12dd907e536aa216a03c818f40f88cae8 (diff)
Merge branch 'master' of projekte.fagott.pw:grilist
Diffstat (limited to 'views/includes')
-rw-r--r--views/includes/card_gril.html16
-rw-r--r--views/includes/navbar.html32
2 files changed, 24 insertions, 24 deletions
diff --git a/views/includes/card_gril.html b/views/includes/card_gril.html
index 1cd45fa..4166c9a 100644
--- a/views/includes/card_gril.html
+++ b/views/includes/card_gril.html
@@ -1,11 +1,11 @@
1{{ define "card_gril" }} 1{{ define "card_gril" }}
2<div class="card white"> 2<div class="card white">
3 <div class="center-align" style="padding-top: 8px"> 3 <div class="center-align" style="padding-top: 8px">
4 <img class="circle responsive-img" src="/{{ .ImagePath false }}" /> 4 <img class="circle responsive-img" src="/{{ .ImagePath false }}" />
5 </div> 5 </div>
6 <div class="card-content black-text"> 6 <div class="card-content black-text">
7 <span class="card-title">{{ .RomajiName }} <small class="grey-text">{{ .KanjiName }}</small></span> 7 <span class="card-title">{{ .RomajiName }} <small class="grey-text">{{ .KanjiName }}</small></span>
8 </div> 8 </div>
9 <div class="card-action"><a href="/gril/{{ .Slug }}">anguckieren</a></div> 9 <div class="card-action"><a href="/gril/{{ .Slug }}">anguckieren</a></div>
10</div> 10</div>
11{{ end }} \ No newline at end of file 11{{ end }}
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 }}