Changement du nom demo à billboard.
This commit is contained in:
parent
a6c017e6a2
commit
7060885e7b
8
app.py
8
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)
|
||||
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user