diff --git a/nateman/static/script.js b/nateman/static/script.js
index c5976ab..3030377 100644
--- a/nateman/static/script.js
+++ b/nateman/static/script.js
@@ -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 .
// --- Flashnachrichten EventListener ---
var flashNode;
diff --git a/nateman/static/style.css b/nateman/static/style.css
index 23c01aa..ba36f45 100644
--- a/nateman/static/style.css
+++ b/nateman/static/style.css
@@ -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 .
+ */
:root {
--bg-primary: #ffffff;
diff --git a/nateman/templates/admin/index.html.j2 b/nateman/templates/admin/index.html.j2
index b7aaada..fa232c5 100644
--- a/nateman/templates/admin/index.html.j2
+++ b/nateman/templates/admin/index.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/admin/index.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Administration{% endblock %}
{% block header %}Administration{% endblock %}
diff --git a/nateman/templates/admin/lehrer/add.html.j2 b/nateman/templates/admin/lehrer/add.html.j2
index b7a26a6..1756c09 100644
--- a/nateman/templates/admin/lehrer/add.html.j2
+++ b/nateman/templates/admin/lehrer/add.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/admin/lehrer/add.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Lehrer(in) hinzufügen{% endblock %}
{% block header %}Lehrer(in) hinzufügen{% endblock %}
diff --git a/nateman/templates/admin/lehrer/edit.html.j2 b/nateman/templates/admin/lehrer/edit.html.j2
index 952a8e1..25d15c7 100644
--- a/nateman/templates/admin/lehrer/edit.html.j2
+++ b/nateman/templates/admin/lehrer/edit.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/admin/lehrer/edit.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Lehrerkonto: {{ lehrer.kuerzel }}{% endblock %}
{% block header %}Lehrerkonto: {{ lehrer.kuerzel }}{% endblock %}
diff --git a/nateman/templates/admin/lehrer/index.html.j2 b/nateman/templates/admin/lehrer/index.html.j2
index c3aeeb1..cb497bf 100644
--- a/nateman/templates/admin/lehrer/index.html.j2
+++ b/nateman/templates/admin/lehrer/index.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/admin/lehrer/index.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Lehrerkonten{% endblock %}
{% block header %}Lehrerkonten{% endblock %}
diff --git a/nateman/templates/admin/sql_access.html.j2 b/nateman/templates/admin/sql_access.html.j2
index 1245da3..63a4563 100644
--- a/nateman/templates/admin/sql_access.html.j2
+++ b/nateman/templates/admin/sql_access.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/admin/sql_access.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}SQL-Zugriff{% endblock %}
{% block header %}SQL-Zugriff{% endblock %}
diff --git a/nateman/templates/auth/account.html.j2 b/nateman/templates/auth/account.html.j2
index 30c38e2..735ee45 100644
--- a/nateman/templates/auth/account.html.j2
+++ b/nateman/templates/auth/account.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/auth/account.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Benutzereinstellungen{% endblock %}
{% block header %}Benutzereinstellungen{% endblock %}
diff --git a/nateman/templates/auth/login.html.j2 b/nateman/templates/auth/login.html.j2
index bbe32df..cf39ad9 100644
--- a/nateman/templates/auth/login.html.j2
+++ b/nateman/templates/auth/login.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/auth/login.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Anmelden{% endblock %}
{% block header %}Anmelden{% endblock %}
diff --git a/nateman/templates/auth/password-change.html.j2 b/nateman/templates/auth/password-change.html.j2
index 7ee1112..220ffc4 100644
--- a/nateman/templates/auth/password-change.html.j2
+++ b/nateman/templates/auth/password-change.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/auth/password-change.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Neues Passwort{% endblock %}
{% block header %}Neues Passwort{% endblock %}
diff --git a/nateman/templates/auth/password-reset-do.html.j2 b/nateman/templates/auth/password-reset-do.html.j2
index 21aa160..c9b009e 100644
--- a/nateman/templates/auth/password-reset-do.html.j2
+++ b/nateman/templates/auth/password-reset-do.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/auth/password-reset-do.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Passwort zurücksetzen{% endblock %}
{% block header %}Passwort zurücksetzen{% endblock %}
diff --git a/nateman/templates/auth/password-reset-send.html.j2 b/nateman/templates/auth/password-reset-send.html.j2
index edb5ae9..e53d395 100644
--- a/nateman/templates/auth/password-reset-send.html.j2
+++ b/nateman/templates/auth/password-reset-send.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/auth/password-reset-send.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Passwort zurücksetzen{% endblock %}
{% block header %}Passwort zurücksetzen{% endblock %}
diff --git a/nateman/templates/base.html.j2 b/nateman/templates/base.html.j2
index 6b3ad50..f2c5058 100644
--- a/nateman/templates/base.html.j2
+++ b/nateman/templates/base.html.j2
@@ -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 .
+-#}
+
+{%- import 'macros.j2' as macros -%}
+
-{# von Niklas Elsbrock #}
-
-{% import 'macros.j2' as macros %}
-
diff --git a/nateman/templates/email/base.html.j2 b/nateman/templates/email/base.html.j2
index 40b31e4..089910e 100644
--- a/nateman/templates/email/base.html.j2
+++ b/nateman/templates/email/base.html.j2
@@ -1,5 +1,3 @@
-
-
{#
NateMan – Nachschreibtermin-Manager
templates/email/base.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+
diff --git a/nateman/templates/email/confirmation.html.j2 b/nateman/templates/email/confirmation.html.j2
index 9737116..91bbee1 100644
--- a/nateman/templates/email/confirmation.html.j2
+++ b/nateman/templates/email/confirmation.html.j2
@@ -1,5 +1,3 @@
-{% extends 'email/base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/email/confirmation.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'email/base.html.j2' %}
{% block header %}Bestätigung Ihrer E-Mail-Adresse für NateMan{% endblock %}
diff --git a/nateman/templates/email/password-reset.html.j2 b/nateman/templates/email/password-reset.html.j2
index 1c6f720..e562212 100644
--- a/nateman/templates/email/password-reset.html.j2
+++ b/nateman/templates/email/password-reset.html.j2
@@ -1,5 +1,3 @@
-{% extends 'email/base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/email/password-reset.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'email/base.html.j2' %}
{% block header %}Passwortzurücksetzung{% endblock %}
diff --git a/nateman/templates/email/reminder.html.j2 b/nateman/templates/email/reminder.html.j2
index 700f796..a2ca3a0 100644
--- a/nateman/templates/email/reminder.html.j2
+++ b/nateman/templates/email/reminder.html.j2
@@ -1,5 +1,3 @@
-{% extends 'email/base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/email/reminder.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'email/base.html.j2' %}
{% block header %}Zur Erinnerung{% endblock %}
diff --git a/nateman/templates/error/400.html.j2 b/nateman/templates/error/400.html.j2
index 7c4ed48..ec7c38b 100644
--- a/nateman/templates/error/400.html.j2
+++ b/nateman/templates/error/400.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/error/400.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Fehler{% endblock %}
{% block header %}Fehler{% endblock %}
diff --git a/nateman/templates/error/403.html.j2 b/nateman/templates/error/403.html.j2
index c4d5c45..44e998d 100644
--- a/nateman/templates/error/403.html.j2
+++ b/nateman/templates/error/403.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/error/403.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Kein Zugriff{% endblock %}
{% block header %}Kein Zugriff{% endblock %}
diff --git a/nateman/templates/error/404.html.j2 b/nateman/templates/error/404.html.j2
index e8fdcf5..6887eaf 100644
--- a/nateman/templates/error/404.html.j2
+++ b/nateman/templates/error/404.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/error/404.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Fehler{% endblock %}
{% block header %}Fehler{% endblock %}
diff --git a/nateman/templates/error/500.html.j2 b/nateman/templates/error/500.html.j2
index 8123bfd..4ddd30b 100644
--- a/nateman/templates/error/500.html.j2
+++ b/nateman/templates/error/500.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/error/500.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Serverfehler{% endblock %}
{% block header %}Hoppala!{% endblock %}
diff --git a/nateman/templates/fileio/import.html.j2 b/nateman/templates/fileio/import.html.j2
index b1702e9..9c77fad 100644
--- a/nateman/templates/fileio/import.html.j2
+++ b/nateman/templates/fileio/import.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/fileio/import.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Klausurpläne importieren{% endblock %}
{% block header %}Klausurpläne importieren{% endblock %}
diff --git a/nateman/templates/index/index.html.j2 b/nateman/templates/index/index.html.j2
index 71ff309..5ae6d74 100644
--- a/nateman/templates/index/index.html.j2
+++ b/nateman/templates/index/index.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/index/index.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Startseite{% endblock %}
{% block header %}Startseite{% endblock %}
diff --git a/nateman/templates/info/licenses.html.j2 b/nateman/templates/info/licenses.html.j2
index ffb45f5..dcee4cb 100644
--- a/nateman/templates/info/licenses.html.j2
+++ b/nateman/templates/info/licenses.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/info/licenses.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Lizenzen{% endblock %}
{% block header %}Lizenzen{% endblock %}
diff --git a/nateman/templates/klausuren/add.html.j2 b/nateman/templates/klausuren/add.html.j2
index c93565c..59505bf 100644
--- a/nateman/templates/klausuren/add.html.j2
+++ b/nateman/templates/klausuren/add.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/klausuren/add.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Klausur hinzufügen{% endblock %}
{% block header %}Klausur hinzufügen{% endblock %}
diff --git a/nateman/templates/klausuren/edit.html.j2 b/nateman/templates/klausuren/edit.html.j2
index ceeb714..43e9bec 100644
--- a/nateman/templates/klausuren/edit.html.j2
+++ b/nateman/templates/klausuren/edit.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/klausuren/edit.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}
Klausur: {{ klausur.kursname }}
diff --git a/nateman/templates/klausuren/mine.html.j2 b/nateman/templates/klausuren/mine.html.j2
index 2ffbb7c..e7551cc 100644
--- a/nateman/templates/klausuren/mine.html.j2
+++ b/nateman/templates/klausuren/mine.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/klausuren/mine.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Meine Klausuren{% endblock %}
{% block header %}Meine Klausuren{% endblock %}
diff --git a/nateman/templates/klausuren/stufe.html.j2 b/nateman/templates/klausuren/stufe.html.j2
index ec14a4c..6011a8f 100644
--- a/nateman/templates/klausuren/stufe.html.j2
+++ b/nateman/templates/klausuren/stufe.html.j2
@@ -1,5 +1,3 @@
-{% extends 'base.html.j2' %}
-
{#
NateMan – Nachschreibtermin-Manager
templates/klausuren/stufe.html.j2
@@ -17,7 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-#}
+-#}
+
+{% extends 'base.html.j2' %}
{% block title %}Klausuren {{ stufe.name }}{% endblock %}
{% block header %}Klausuren {{ stufe.name }}{% endblock %}
diff --git a/nateman/templates/macros.j2 b/nateman/templates/macros.j2
index 571784a..6e733a1 100644
--- a/nateman/templates/macros.j2
+++ b/nateman/templates/macros.j2
@@ -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 .
+#}
+
{% macro date(date) -%}