cadoles-arcad/template/blocks/header.html.tmpl

27 lines
850 B
Cheetah
Raw Normal View History

2022-05-11 21:38:20 +02:00
{{define "header"}}
<header>
<a id="logo" href="/"><img src="/assets/logo.svg"></a>
<input type="checkbox" id="active">
<label for="active" class="menu-btn"><span></span></label>
<label for="active" class="close"></label>
<div class="wrapper">
<ul>
<li class="flashlight"><a href="/"><img src="/assets/logo.svg"></a></li>
{{if .IsAdmin}}
<li>
<a href="/admin/logout" class="button is-warning is-medium" style="font-size: 0.73em;">
<svg class="icon" width="50" height="50">
<use xlink:href="#sign-out-alt"></use>
</svg>
</a>
</li>
{{end}}
<li>
<a id="flash" href="/profile">Profile</a>
</li>
<li><a class="ligth" href="/admin">Admin</a></li>
<li><a href="#">Feedback</a></li>
</ul>
</div>
</header>
{{end}}