From f3d0f6bd7b7ffd6ff208e3b257e153272b2512a5 Mon Sep 17 00:00:00 2001 From: mikka Date: Mon, 20 Apr 2026 22:02:17 +0200 Subject: [PATCH] =?UTF-8?q?Kleine=20ver=C3=A4nderung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- templates/neueliste.html | 7 +++++++ templates/playlists.html | 18 +++++++++++++++--- templates/suche.html | 9 ++++++++- 4 files changed, 31 insertions(+), 5 deletions(-) diff --git a/app.py b/app.py index 0f812c3..138bcee 100644 --- a/app.py +++ b/app.py @@ -146,7 +146,7 @@ def suche_finden(): print(liste) with open(liste+".json","w") as f: json.dump(songs,f,indent=2,ensure_ascii=False) - return redirect("/?liste="+liste,303) + return redirect("/suche?liste="+liste,303) @app.route("/ADMIN") def admin(): diff --git a/templates/neueliste.html b/templates/neueliste.html index 9fc279b..43dcb4a 100644 --- a/templates/neueliste.html +++ b/templates/neueliste.html @@ -1 +1,8 @@ +
\ No newline at end of file diff --git a/templates/playlists.html b/templates/playlists.html index 62a6f1d..76d06c1 100644 --- a/templates/playlists.html +++ b/templates/playlists.html @@ -1,6 +1,18 @@ - Lust auf was neues? \ No newline at end of file diff --git a/templates/suche.html b/templates/suche.html index 71fc9c0..1e1e182 100644 --- a/templates/suche.html +++ b/templates/suche.html @@ -1,3 +1,10 @@ + {% if liste == empty %}

Du musst etwas in die Playlist Screiben

{% endif %} @@ -12,4 +19,4 @@

Leider gibt es den Eintrag {{anfrage}} nicht!

{%endif%} -Doch nicht? \ No newline at end of file +Doch nicht? \ No newline at end of file