clarified user vs admin terminology
This commit is contained in:
parent
2cb93d1d3b
commit
c215f367f5
|
@ -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,35 +42,43 @@
|
||||||
{% 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 }}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ form.name.label }}</td>
|
<td>{{ form.name.label }}</td>
|
||||||
<td>{{ form.name(size=20) }}</td>
|
<td>{{ form.name(size=20) }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ form.email.label }}</td>
|
<td>{{ form.email.label }}</td>
|
||||||
<td>{{ form.email(size=20) }}</td>
|
<td>{{ form.email(size=20) }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="submit" value="Abschicken">
|
<input type="submit" value="Abschicken">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</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="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="Abschicken">
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<form action="{{ url_for('backup_user_datastore') }}" method="get">
|
|
||||||
<input type="submit" value="Admin Daten sichern">
|
|
||||||
</form>
|
|
||||||
<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">
|
|
||||||
</form>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user