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 return response
else : else :
url_for("static", filename="style.css") url_for("static", filename="style.css")
# Vérifie si le mode demo est demandé : # Vérifie si le mode billboard est demandé :
demo = str(rq.args.get("demo")) billboard = str(rq.args.get("billboard"))
if demo in ("1", "true", "True") : if billboard in ("1", "true", "True") :
return render_template("demo.html", **context, **GLOBAL_CONTEXT) return render_template("billboard.html", **context, **GLOBAL_CONTEXT)
else: else:
return render_template("free-rooms.html", **context, **GLOBAL_CONTEXT) return render_template("free-rooms.html", **context, **GLOBAL_CONTEXT)

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>UniSquat</title> <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" /> <meta name="viewport" content="width=300, initial-scale=1" />
</head> </head>
<body> <body>