2021-02-04 15:07:55 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block head %}
|
|
|
|
<link rel="stylesheet" href="/static/admin.css">
|
2021-02-08 19:25:08 +01:00
|
|
|
{% block head2 %}
|
|
|
|
{% endblock %}
|
2021-02-04 15:07:55 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="admin">
|
|
|
|
<nav>
|
|
|
|
<ol>
|
2021-02-14 22:28:34 +01:00
|
|
|
<li><a href="/admin/index/">Link Liste</a></li>
|
|
|
|
<li><a href="/admin/submit/">Link Hinzufügen</a></li>
|
|
|
|
{% if user.role == 2 %}<li><a href="/admin/signup/">Einladen</a></li>
|
|
|
|
<li><a href="/admin/view/users/">Benutzer</a></li>{% endif %}
|
2021-02-04 15:07:55 +01:00
|
|
|
<li style="float:right"><a href="/admin/logout/">Abmelden</a></li>
|
2021-02-08 19:25:08 +01:00
|
|
|
<li style="float:right">
|
2021-02-14 22:28:34 +01:00
|
|
|
<div class="willkommen">Herzlich willkommen {{ user.username }}</div>
|
2021-02-08 19:25:08 +01:00
|
|
|
</li>
|
2021-02-04 15:07:55 +01:00
|
|
|
</ol>
|
|
|
|
</nav>
|
2021-02-09 14:19:48 +01:00
|
|
|
{% block admin %}
|
|
|
|
{% endblock %}
|
2021-02-04 15:07:55 +01:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|