backend.njk: add breadcrumb and improve title

This commit is contained in:
Alice Gaudon 2020-07-30 11:06:34 +02:00
parent fa737fe900
commit 3a83729a90

View File

@ -1,23 +1,25 @@
{% extends 'layouts/base.njk' %}
{% set title = app.name + ' - Backend' %}
{% set title = app.name + ' backend' %}
{% block body %}
<h1>App administration</h1>
<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>
<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>