swaf/views/backend/index.njk

26 lines
762 B
Plaintext

{% extends 'layouts/base.njk' %}
{% set title = app.name + ' - Backend' %}
{% block body %}
<h1>App administration</h1>
<div class="container">
<div class="panel">
<nav>
<ul>
{% for element in menu %}
<li>
<a href="{{ element.link }}">
{% if element.display_icon !== null %}
<i data-feather="{{ element.display_icon }}"></i>
{% endif %}
{{ element.display_string }}
</a>
</li>
{% endfor %}
</ul>
</nav>
</div>
</div>
{% endblock %}