Changement du nom demo à billboard.

This commit is contained in:
antux18 2024-03-20 19:28:40 +01:00
parent a6c017e6a2
commit 7060885e7b
3 changed files with 5 additions and 5 deletions

8
app.py
View File

@ -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)

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>UniSquat</title>
<link rel="stylesheet" type="text/css" href="../static/demostyle.css">
<link rel="stylesheet" type="text/css" href="../static/billboardstyle.css">
<meta name="viewport" content="width=300, initial-scale=1" />
</head>
<body>