navigation only for admin
This commit is contained in:
parent
5d0e5a74bc
commit
2c9f5ee20b
@ -34,6 +34,7 @@
|
||||
<h1>{{ title_long }}</h1>
|
||||
</header>
|
||||
<div class="wrapper">
|
||||
{% if admin_enabled %}
|
||||
<!-- Navigation Bar -->
|
||||
<div class="admin-nav">
|
||||
<a href="{{ url_for('index') }}">App</a>
|
||||
@ -45,11 +46,10 @@
|
||||
<a href="{{ url_for('dashboard') }}">Dashbord</a>
|
||||
<span> | </span>
|
||||
<a href="{{ url_for('songs_dashboard') }}">Wiederholungen</a>
|
||||
{% if admin_enabled %}
|
||||
<span> | </span>
|
||||
<a href="{{ url_for('folder_secret_config_editor') }}" id="edit-folder-config">Ordnerkonfiguration</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user