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-03-30 13:18:13 +02:00
|
|
|
<li><a href="/admin/index/">{{ fluent(key="list-links", lang=user.language) }}</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="/admin/submit/">{{ fluent(key="add-link", lang=user.language) }}</a></li>
|
|
|
|
{% if user.role == 2 %}<li><a href="/admin/signup/">{{ fluent(key="invite-user", lang=user.language) }}</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="/admin/view/users/">{{ fluent(key="list-users", lang=user.language) }}</a></li>{% endif %}
|
|
|
|
<li style="float:right"><a href="/admin/logout/">{{ fluent(key="logout", lang=user.language) }}</a></li>
|
2021-02-08 19:25:08 +01:00
|
|
|
<li style="float:right">
|
2021-03-30 13:18:13 +02:00
|
|
|
<div class="willkommen">{{ fluent(key="welcome-user", lang=user.language, username=user.username) }}
|
|
|
|
</div>
|
2021-02-08 19:25:08 +01:00
|
|
|
</li>
|
2021-03-30 21:45:46 +02:00
|
|
|
<li style="float:right"><a href="/admin/edit/set_language/en">en</a></li>
|
|
|
|
<li style="float:right"><a href="/admin/edit/set_language/de">de</a></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 %}
|