From 6673986662bb7236306981bd1db18d843fd25d35 Mon Sep 17 00:00:00 2001 From: Robin Schanbacher Date: Fri, 13 Nov 2026 12:31:30 +0100 Subject: [PATCH] refactor: own admin_title per page --- templates/admin.html | 2 +- templates/admin_add.html | 7 +++---- templates/admin_results.html | 3 +++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/templates/admin.html b/templates/admin.html index 5b0efc0..d3227ef 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -3,7 +3,7 @@
-

Admin

+

{% block admin_title %}Admin{% endblock %}

diff --git a/templates/admin_add.html b/templates/admin_add.html index ae9750e..6e37705 100644 --- a/templates/admin_add.html +++ b/templates/admin_add.html @@ -1,9 +1,8 @@ {% extends "admin.html" %} + +{% block admin_title %}Unteraufgabe hinzufügen{% endblock %} + {% block admin_content %} - - - -

Unteraufgabe hinzufügen

diff --git a/templates/admin_results.html b/templates/admin_results.html index 8e0f590..943be99 100644 --- a/templates/admin_results.html +++ b/templates/admin_results.html @@ -1,4 +1,7 @@ {% extends "admin.html" %} + +{% block admin_title %}Auswertung{% endblock %} + {% block admin_content %} CSV exportieren