refactor: own taslsList page

This commit is contained in:
robin committed 2026-11-13 12:51:08 +01:00
1 parent 6673986662
commit ec510b5980
3 files changed
+21 -1

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@
<div class="admin-head">
<h2>{% block admin_title %}Admin{% endblock %}</h2>
<div class="admin-actions">
{% block admin_header %}{% endblock %}
<form method="post" action="{{ url_for('main.admin_logout') }}">
<button type="submit" class="secondary">Abmelden</button>
</form>
@@ -13,7 +14,7 @@
{% block admin_content %}
<a class="button" href="{{ url_for('main.admin_add') }}">Unteraufgabe hinzufügen</a>
<a class="button" href="{{ url_for('main.admin_list') }}">Unteraufgaben</a>
<a class="button" href="{{ url_for('main.admin_results') }}">Auswertung</a>
{% endblock %}
+13
View File
@@ -0,0 +1,13 @@
{% extends "admin.html" %}
{% block admin_title %}Unteraufgaben{% endblock %}
{% block admin_header %}
<a class="button" href="{{ url_for('main.admin_add') }}">Unteraufgabe hinzufügen</a>
{% endblock %}
{% block admin_content %}
{{ songs }}
{% endblock %}