Alice Gaudon
6aa37eb9e4
Reorganize views into new "assets" folder structure
Turn locals into a store so locals don't have to be passed through files that don't need them
Some fixes to previous commit (esm) 82ab0b963c
Remove afs in favor of fs.promises (renamed afs.exists to Utils.doesFileExist
Rename Utils.readdirRecursively to Utils.listFilesRecursively
28 lines
840 B
Plaintext
28 lines
840 B
Plaintext
{% extends 'layouts/base.njk' %}
|
|
|
|
{% set title = app.name + ' backend' %}
|
|
|
|
{% block body %}
|
|
<div class="container">
|
|
{{ macros.breadcrumb('Backend') }}
|
|
|
|
<h1>App administration</h1>
|
|
|
|
<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 %} |