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
+37
View File
@@ -0,0 +1,37 @@
<!DOCTYPE html>
{#
NateMan Nachschreibtermin-Manager
templates/email/base.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/>.
#}
<html lang="de">
<head>
<meta charset="utf-8">
</head>
<body>
<h2>{% block header %}{% endblock %}</h2>
{% block content %}{% endblock %}
<hr>
<aside style="color: #777777">
Diese E-Mail wurde automatisch versandt. Eine Antwort ist nicht nötig.
</aside>
</body>
</html>
@@ -0,0 +1,30 @@
{% extends 'email/base.html.j2' %}
{#
NateMan Nachschreibtermin-Manager
templates/email/confirmation.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 header %}Bestätigung Ihrer E-Mail-Adresse für NateMan{% endblock %}
{% block content %}
<p>
Um die E-Mail-Adresse für Ihr Benutzerkonto beim Nachschreibtermin-Manager zu
bestätigen, klicken Sie <a href="{{ url_for('auth.confirm_email', token=token, _external=True) }}">hier</a>.
</p>
{% endblock %}
@@ -0,0 +1,31 @@
{% extends 'email/base.html.j2' %}
{#
NateMan Nachschreibtermin-Manager
templates/email/password-reset.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 header %}Passwortzurücksetzung{% endblock %}
{% block content %}
<p>
Für Ihr Benutzerkonto beim Nachschreibtermin-Manager wurde eine Passwortzurücksetzung beantragt.<br>
Sie können Ihr Passwort <a href="{{ url_for('auth.password_reset', token=token, _external=True) }}">hier</a> ändern.
Der Link ist eine Stunde lang gültig.
</p>
{% endblock %}
+43
View File
@@ -0,0 +1,43 @@
{% extends 'email/base.html.j2' %}
{#
NateMan Nachschreibtermin-Manager
templates/email/reminder.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 header %}Zur Erinnerung{% endblock %}
{% block content %}
<p>
Folgende Klausuren müssen noch bearbeitet werden:
<ul>
{% for k in not_edited_list %}
<li>
<a href="{{ url_for('klausuren.edit', klausur_id=k.id, _external=True) }}">
{{ k.kursname }} ({{ k.date_formatted() }}; {{ k.stufe.name }})
</a>
</li>
{% endfor %}
</ul>
</p>
<p>
Klicken Sie <a href="{{ url_for('klausuren.mine', _external=True) }}">hier</a>,
um alle Klausuren von Ihnen zu sehen.
</p>
{% endblock %}