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' %} {% extends 'base.html' %}
{% block header %} {% 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> <script src="../static/js/jquery-3.6.0.js"></script>
{% endblock %} {% endblock %}
@ -42,10 +42,10 @@
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
<div> <div class="d-grid gap-3">
<p> <div class="p-2 bg-light border">
Neuen Benutzer erstellen: <h3>Neuen Benutzer erstellen:</h3>
</p>
<form method="POST"> <form method="POST">
<table> <table>
{{ form.csrf_token }} {{ form.csrf_token }}
@ -65,12 +65,20 @@
</tr> </tr>
</table> </table>
</form> </form>
</div> </div>
<form action="{{ url_for('backup_user_datastore') }}" method="get"> <div class="p-2 bg-light border">
<input type="submit" value="Admin Daten sichern"> <h3>Nutzerdaten sichern:</h3>
</form> <form action="{{ url_for('backup_user_datastore') }}" method="get">
<form action="{{ url_for('restore_user_datastore') }}" method=post enctype=multipart/form-data> <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=file name=file>
<input type=submit value="Admin Daten wiederherstellen"> <input type=submit value="Abschicken">
</form> </form>
</div>
</div>
{% endblock %} {% endblock %}