Initialisierung: Übertragung aus altem Repository

This commit is contained in:
2021-07-12 00:49:07 +02:00
commit c7f0c6a1c4
80 changed files with 12063 additions and 0 deletions
+67
View File
@@ -0,0 +1,67 @@
{% extends 'base.html.j2' %}
{#
NateMan Nachschreibtermin-Manager
templates/auth/account.html.j2
Copyright © 2020 Niklas Elsbrock
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
#}
{% block title %}Benutzereinstellungen{% endblock %}
{% block header %}Benutzereinstellungen{% endblock %}
{% block content %}
<form method="post">
<div class="table-aligned">
<div>
<div><label for="current-password-input">Aktuelles Passwort:</label></div>
<div>
<input type="password" name="current-password" id="current-password-input" autocomplete="current-password"
required autofocus>
</div>
</div>
<div>
<div><label for="new-email-input">E-Mail-Adresse:</label></div>
<div>
<input type="email" name="new-email" id="new-email-input"
value="{% if g.lehrer.email %}{{ g.lehrer.email }}{% endif %}">
</div>
{% if g.lehrer.email is not none %}
<div>
{% if g.lehrer.is_confirmed %}
<span class="positive-status" title="bestätigt"></span>
{% else %}
<span class="negative-status">nicht bestätigt</span>
{% endif %}
</div>
{% endif %}
</div>
<div>
<div><label for="new-password-input">Neues Passwort:</label></div>
<div>
<input type="password" name="new-password" id="new-password-input" autocomplete="new-password" minlength="6">
</div>
</div>
<div>
<div><label for="new-password-confirm-input">&#x21B3; wiederholen:</label></div>
<div>
<input type="password" name="new-password-confirm" id="new-password-confirm-input" autocomplete="new-password">
</div>
</div>
</div>
<p><input type="submit" value="Speichern"></p>
</form>
{% endblock %}