diff --git a/routes.py b/routes.py index b6584e0..ea81ae7 100644 --- a/routes.py +++ b/routes.py @@ -315,6 +315,12 @@ def admin_results(): } return render_template("admin_results.html", rows=rows, stats=stats, songs=songs) +@bp.route("/admin/list") +@admin_required +def admin_list(): + songs = load_songs_list() + return render_template("admin_tasksList.html", songs=songs) + @bp.route("/api/admin/add", methods=["POST"]) @admin_required def api_admin_add(): diff --git a/templates/admin.html b/templates/admin.html index d3227ef..cc29a8c 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -5,6 +5,7 @@