album/templates/head.tpl
Rasmus Kaj e523d43d34 Add jwt authorization.
The username/password handling is just mocked currently.
2016-05-01 15:50:49 +02:00

11 lines
266 B
Smarty

<header>
<a href="/">/</a>
· <a href="/tag/">Taggar</a>
· <a href="/person/">Personer</a>
· <a href="/place/">Platser</a>
{{#user}}<span>{{.}}
(<a href="/logout">log out</a>)
</span>{{/user}}
{{^user}}<span>(<a href="/login">log in</a>)</span>{{/user}}
</header>