backend.njk: add breadcrumb and improve title
This commit is contained in:
parent
fa737fe900
commit
3a83729a90
@ -1,23 +1,25 @@
|
|||||||
{% extends 'layouts/base.njk' %}
|
{% extends 'layouts/base.njk' %}
|
||||||
|
|
||||||
{% set title = app.name + ' - Backend' %}
|
{% set title = app.name + ' backend' %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<h1>App administration</h1>
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
{{ macros.breadcrumb('Backend') }}
|
||||||
|
|
||||||
|
<h1>App administration</h1>
|
||||||
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
{% for element in menu %}
|
{% for element in menu %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ element.link }}">
|
<a href="{{ element.link }}">
|
||||||
{% if element.display_icon !== null %}
|
{% if element.display_icon !== null %}
|
||||||
<i data-feather="{{ element.display_icon }}"></i>
|
<i data-feather="{{ element.display_icon }}"></i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ element.display_string }}
|
{{ element.display_string }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
Loading…
Reference in New Issue
Block a user