From 7060885e7befcb8c341ebd056729fb5d60335013 Mon Sep 17 00:00:00 2001 From: antux18 Date: Wed, 20 Mar 2024 19:28:40 +0100 Subject: [PATCH] =?UTF-8?q?Changement=20du=20nom=20demo=20=C3=A0=20billboa?= =?UTF-8?q?rd.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 8 ++++---- static/{demostyle.css => billboardstyle.css} | 0 templates/{demo.html => billboard.html} | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename static/{demostyle.css => billboardstyle.css} (100%) rename templates/{demo.html => billboard.html} (95%) diff --git a/app.py b/app.py index 02ffc6c..2f193b3 100644 --- a/app.py +++ b/app.py @@ -412,10 +412,10 @@ def free_rooms(api = False, rq = None) : return response else : url_for("static", filename="style.css") - # Vérifie si le mode demo est demandé : - demo = str(rq.args.get("demo")) - if demo in ("1", "true", "True") : - return render_template("demo.html", **context, **GLOBAL_CONTEXT) + # Vérifie si le mode billboard est demandé : + billboard = str(rq.args.get("billboard")) + if billboard in ("1", "true", "True") : + return render_template("billboard.html", **context, **GLOBAL_CONTEXT) else: return render_template("free-rooms.html", **context, **GLOBAL_CONTEXT) diff --git a/static/demostyle.css b/static/billboardstyle.css similarity index 100% rename from static/demostyle.css rename to static/billboardstyle.css diff --git a/templates/demo.html b/templates/billboard.html similarity index 95% rename from templates/demo.html rename to templates/billboard.html index 379230c..706001b 100644 --- a/templates/demo.html +++ b/templates/billboard.html @@ -3,7 +3,7 @@ UniSquat - +