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

13 lines
532 B
Cheetah

{{define "admin_menu"}}
<aside class="asideAdmin mt-2">
<h4>
Administration
</h4>
<ul class="side-menu">
<li><a href="/admin/settings" {{if eq . "config"}}class="is-active"{{end}}>Réglages</a></li>
<li><a href="/admin/users" {{if eq . "users"}}class="is-active"{{end}}>Utilisateurs</a></li>
<li><a href="/admin/apps" {{if eq . "apps"}}class="is-active"{{end}}>Applications</a></li>
<li><a href="/admin/market" {{if eq . "market"}}class="is-active"{{end}}>Place de marché</a></li>
</ul>
</aside>
{{end}}