25 lines
859 B
HTML
25 lines
859 B
HTML
|
<!doctype html>
|
||
|
<title>Space Token Administration - {% block title %}{% endblock %}</title>
|
||
|
<!--<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">-->
|
||
|
<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>
|
||
|
{% if g.user %}
|
||
|
<li><span>{{ g.user['username'] }}</span>
|
||
|
<li><a href="{{ url_for('security.logout') }}">Log Out</a>
|
||
|
{% else %}
|
||
|
<li><a href="{{ url_for('security.login') }}">Log In</a>
|
||
|
{% 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>
|