clarified user vs admin terminology

This commit is contained in:
Simon Pirkelmann 2021-04-08 20:53:41 +02:00
parent 2cb93d1d3b
commit c215f367f5

View File

@ -1,6 +1,6 @@
{% extends 'base.html' %}
{% block header %}
{% block title %}<h1>Admin Übersicht</h1>{% endblock %}
{% block title %}<h1>Nutzer Übersicht</h1>{% endblock %}
<script src="../static/js/jquery-3.6.0.js"></script>
{% endblock %}
@ -42,10 +42,10 @@
{% endfor %}
</tbody>
</table>
<div>
<p>
Neuen Benutzer erstellen:
</p>
<div class="d-grid gap-3">
<div class="p-2 bg-light border">
<h3>Neuen Benutzer erstellen:</h3>
<form method="POST">
<table>
{{ form.csrf_token }}
@ -66,11 +66,19 @@
</table>
</form>
</div>
<div class="p-2 bg-light border">
<h3>Nutzerdaten sichern:</h3>
<form action="{{ url_for('backup_user_datastore') }}" method="get">
<input type="submit" value="Admin Daten sichern">
<input type="submit" value="Download">
</form>
</div>
<div class="p-2 bg-light border">
<h3>Nutzerdaten wiederherstellen:</h3>
<form action="{{ url_for('restore_user_datastore') }}" method=post enctype=multipart/form-data>
<input type=file name=file>
<input type=submit value="Admin Daten wiederherstellen">
<input type=submit value="Abschicken">
</form>
</div>
</div>
{% endblock %}