Copyright-Hinweise verschoben bzw. hinzugefügt

This commit is contained in:
2021-07-29 00:37:00 +02:00
parent c2b936dc8e
commit 8fa0c887de
30 changed files with 152 additions and 84 deletions
+16 -1
View File
@@ -1,4 +1,19 @@
// JavaScript des NateMan von Niklas Elsbrock // NateMan Nachschreibtermin-Manager
// static/script.js
// 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/>.
// --- Flashnachrichten EventListener --- // --- Flashnachrichten EventListener ---
var flashNode; var flashNode;
+18 -1
View File
@@ -1,4 +1,21 @@
/* Cascading Style Sheet des NateMan von Niklas Elsbrock */ /*
* NateMan Nachschreibtermin-Manager
* static/style.css
* 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/>.
*/
:root { :root {
--bg-primary: #ffffff; --bg-primary: #ffffff;
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/admin/index.html.j2 templates/admin/index.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Administration{% endblock %} {% block title %}Administration{% endblock %}
{% block header %}Administration{% endblock %} {% block header %}Administration{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/admin/lehrer/add.html.j2 templates/admin/lehrer/add.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Lehrer(in) hinzufügen{% endblock %} {% block title %}Lehrer(in) hinzufügen{% endblock %}
{% block header %}Lehrer(in) hinzufügen{% endblock %} {% block header %}Lehrer(in) hinzufügen{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/admin/lehrer/edit.html.j2 templates/admin/lehrer/edit.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Lehrerkonto: {{ lehrer.kuerzel }}{% endblock %} {% block title %}Lehrerkonto: {{ lehrer.kuerzel }}{% endblock %}
{% block header %}Lehrerkonto: {{ lehrer.kuerzel }}{% endblock %} {% block header %}Lehrerkonto: {{ lehrer.kuerzel }}{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/admin/lehrer/index.html.j2 templates/admin/lehrer/index.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Lehrerkonten{% endblock %} {% block title %}Lehrerkonten{% endblock %}
{% block header %}Lehrerkonten{% endblock %} {% block header %}Lehrerkonten{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/admin/sql_access.html.j2 templates/admin/sql_access.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}SQL-Zugriff{% endblock %} {% block title %}SQL-Zugriff{% endblock %}
{% block header %}SQL-Zugriff{% endblock %} {% block header %}SQL-Zugriff{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/auth/account.html.j2 templates/auth/account.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Benutzereinstellungen{% endblock %} {% block title %}Benutzereinstellungen{% endblock %}
{% block header %}Benutzereinstellungen{% endblock %} {% block header %}Benutzereinstellungen{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/auth/login.html.j2 templates/auth/login.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Anmelden{% endblock %} {% block title %}Anmelden{% endblock %}
{% block header %}Anmelden{% endblock %} {% block header %}Anmelden{% endblock %}
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/auth/password-change.html.j2 templates/auth/password-change.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Neues Passwort{% endblock %} {% block title %}Neues Passwort{% endblock %}
{% block header %}Neues Passwort{% endblock %} {% block header %}Neues Passwort{% endblock %}
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/auth/password-reset-do.html.j2 templates/auth/password-reset-do.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Passwort zurücksetzen{% endblock %} {% block title %}Passwort zurücksetzen{% endblock %}
{% block header %}Passwort zurücksetzen{% endblock %} {% block header %}Passwort zurücksetzen{% endblock %}
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/auth/password-reset-send.html.j2 templates/auth/password-reset-send.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Passwort zurücksetzen{% endblock %} {% block title %}Passwort zurücksetzen{% endblock %}
{% block header %}Passwort zurücksetzen{% endblock %} {% block header %}Passwort zurücksetzen{% endblock %}
+21 -4
View File
@@ -1,9 +1,26 @@
{#
NateMan Nachschreibtermin-Manager
templates/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/>.
-#}
{%- import 'macros.j2' as macros -%}
<!DOCTYPE html> <!DOCTYPE html>
{# von Niklas Elsbrock #}
{% import 'macros.j2' as macros %}
<!-- generiert aus Template-Code von Niklas Elsbrock --> <!-- generiert aus Template-Code von Niklas Elsbrock -->
<html lang="de"> <html lang="de">
+3 -3
View File
@@ -1,5 +1,3 @@
<!DOCTYPE html>
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/email/base.html.j2 templates/email/base.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
<!DOCTYPE html>
<html lang="de"> <html lang="de">
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'email/base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/email/confirmation.html.j2 templates/email/confirmation.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'email/base.html.j2' %}
{% block header %}Bestätigung Ihrer E-Mail-Adresse für NateMan{% endblock %} {% block header %}Bestätigung Ihrer E-Mail-Adresse für NateMan{% endblock %}
@@ -1,5 +1,3 @@
{% extends 'email/base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/email/password-reset.html.j2 templates/email/password-reset.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'email/base.html.j2' %}
{% block header %}Passwortzurücksetzung{% endblock %} {% block header %}Passwortzurücksetzung{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'email/base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/email/reminder.html.j2 templates/email/reminder.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'email/base.html.j2' %}
{% block header %}Zur Erinnerung{% endblock %} {% block header %}Zur Erinnerung{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/error/400.html.j2 templates/error/400.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Fehler{% endblock %} {% block title %}Fehler{% endblock %}
{% block header %}Fehler{% endblock %} {% block header %}Fehler{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/error/403.html.j2 templates/error/403.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Kein Zugriff{% endblock %} {% block title %}Kein Zugriff{% endblock %}
{% block header %}Kein Zugriff{% endblock %} {% block header %}Kein Zugriff{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/error/404.html.j2 templates/error/404.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Fehler{% endblock %} {% block title %}Fehler{% endblock %}
{% block header %}Fehler{% endblock %} {% block header %}Fehler{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/error/500.html.j2 templates/error/500.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Serverfehler{% endblock %} {% block title %}Serverfehler{% endblock %}
{% block header %}Hoppala!{% endblock %} {% block header %}Hoppala!{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/fileio/import.html.j2 templates/fileio/import.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Klausurpläne importieren{% endblock %} {% block title %}Klausurpläne importieren{% endblock %}
{% block header %}Klausurpläne importieren{% endblock %} {% block header %}Klausurpläne importieren{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/index/index.html.j2 templates/index/index.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Startseite{% endblock %} {% block title %}Startseite{% endblock %}
{% block header %}Startseite{% endblock %} {% block header %}Startseite{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/info/licenses.html.j2 templates/info/licenses.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Lizenzen{% endblock %} {% block title %}Lizenzen{% endblock %}
{% block header %}Lizenzen{% endblock %} {% block header %}Lizenzen{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/klausuren/add.html.j2 templates/klausuren/add.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Klausur hinzufügen{% endblock %} {% block title %}Klausur hinzufügen{% endblock %}
{% block header %}Klausur hinzufügen{% endblock %} {% block header %}Klausur hinzufügen{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/klausuren/edit.html.j2 templates/klausuren/edit.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %} {% block title %}
Klausur: {{ klausur.kursname }} Klausur: {{ klausur.kursname }}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/klausuren/mine.html.j2 templates/klausuren/mine.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Meine Klausuren{% endblock %} {% block title %}Meine Klausuren{% endblock %}
{% block header %}Meine Klausuren{% endblock %} {% block header %}Meine Klausuren{% endblock %}
+3 -3
View File
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/klausuren/stufe.html.j2 templates/klausuren/stufe.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Klausuren {{ stufe.name }}{% endblock %} {% block title %}Klausuren {{ stufe.name }}{% endblock %}
{% block header %}Klausuren {{ stufe.name }}{% endblock %} {% block header %}Klausuren {{ stufe.name }}{% endblock %}
+19
View File
@@ -1,3 +1,22 @@
{#
NateMan Nachschreibtermin-Manager
templates/macros.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/>.
#}
{% macro date(date) -%} {% macro date(date) -%}
<time datetime="{{ date.strftime('%Y-%m-%d') }}"> <time datetime="{{ date.strftime('%Y-%m-%d') }}">
{{- date.strftime('%a, %d.%m.%Y') -}} {{- date.strftime('%a, %d.%m.%Y') -}}
@@ -1,5 +1,3 @@
{% extends 'base.html.j2' %}
{# {#
NateMan Nachschreibtermin-Manager NateMan Nachschreibtermin-Manager
templates/schueler/versaeumnisse.html.j2 templates/schueler/versaeumnisse.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} -#}
{% extends 'base.html.j2' %}
{% block title %}Versäumnisse{% endblock %} {% block title %}Versäumnisse{% endblock %}
{% block header %}Versäumnisse{% endblock %} {% block header %}Versäumnisse{% endblock %}