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 - +