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>
|
2022-06-01 17:31:21 +02:00
|
|
|
<a href="/admin/logout" class="ligth">Logout</a>
|
2022-05-11 21:38:20 +02:00
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
<li>
|
2022-06-01 17:31:21 +02:00
|
|
|
<a iclass="ligth" href="/profile">Profile</a>
|
2022-05-11 21:38:20 +02:00
|
|
|
</li>
|
|
|
|
<li><a class="ligth" href="/admin">Admin</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
{{end}}
|