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

13 lines
926 B
Cheetah
Raw Permalink Normal View History

2022-05-11 21:38:20 +02:00
{{define "admin_menu"}}
2022-06-01 17:31:21 +02:00
<aside class="md:lg:absolute m-6 mr-8">
<h4 class="text-2xl font-bold">
2022-05-11 21:38:20 +02:00
Administration
</h4>
<ul class="side-menu">
2022-06-01 17:31:21 +02:00
<li><a class="admin-links" href="/admin/settings" {{if eq . "config"}}class="is-active"{{end}}><span>Réglages</span><img class="custom-icon" src="/icons/gear-solid.svg"/></a></li>
<li><a class="admin-links" href="/admin/users" {{if eq . "users"}}class="is-active"{{end}}><span>Utilisateurs</span><img class="custom-icon" src="/icons/users-solid.svg"/></a></li>
<li><a class="admin-links" href="/admin/apps" {{if eq . "apps"}}class="is-active"{{end}}><span>Applications</span><img class="custom-icon" src="/icons/cubes-stacked-solid.svg"/></a></li>
<li><a class="admin-links" href="/admin/market" {{if eq . "market"}}class="is-active"{{end}}><span>Place de marché</span><img class="custom-icon" src="/icons/store-solid.svg"/></a></li>
2022-05-11 21:38:20 +02:00
</ul>
</aside>
{{end}}