2021-03-14 16:08:46 +00:00
|
|
|
<!doctype html>
|
|
|
|
<title>Space Token Administration - {% block title %}{% endblock %}</title>
|
2021-03-14 22:04:52 +00:00
|
|
|
|
2021-03-14 16:08:46 +00:00
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
<li><a href="{{ url_for('door_lock') }}">Home</a>
|
|
|
|
<li><a href="{{ url_for('register') }}">Token Registrierung</a>
|
|
|
|
<li><a href="{{ url_for('list_tokens') }}">Token Übersicht</a>
|
2021-03-14 22:04:52 +00:00
|
|
|
{% if current_user.is_authenticated %}
|
|
|
|
<li><a href="{{ url_for('security.change_password') }}">Passwort ändern</a>
|
|
|
|
<li><a href="{{ url_for('security.logout') }}">Benutzer <span>{{ current_user.username }}</span> ausloggen</a>
|
2021-03-14 16:08:46 +00:00
|
|
|
{% else %}
|
2021-03-14 22:04:52 +00:00
|
|
|
<li><a href="{{ url_for('security.login') }}">Einloggen</a>
|
2021-03-14 16:08:46 +00:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<section class="content">
|
|
|
|
<header>
|
|
|
|
{% block header %}{% endblock %}
|
|
|
|
</header>
|
|
|
|
{% for message in get_flashed_messages() %}
|
|
|
|
<div class="flash">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
</section>
|