diff --git a/routes.py b/routes.py index 4bccc8c..c4537a4 100644 --- a/routes.py +++ b/routes.py @@ -270,4 +270,9 @@ def debug_reset(): if not current_app.debug: abort(404) # im normalen Betrieb existiert die Route praktisch nicht session.clear() - return redirect(url_for("main.login")) \ No newline at end of file + return redirect(url_for("main.login")) + +@bp.route("/admin/add") +@admin_required +def admin_add(): + return render_template("admin_add.html") \ No newline at end of file diff --git a/templates/admin.html b/templates/admin.html index d338d72..9c01534 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -7,6 +7,7 @@

Auswertung

CSV exportieren + Unteraufgabe hinzufügen
diff --git a/templates/admin_add.html b/templates/admin_add.html new file mode 100644 index 0000000..318a936 --- /dev/null +++ b/templates/admin_add.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} +{% block content %} + + + + +{% endblock %} \ No newline at end of file