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
|
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)
|
||||||
|
|
||||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user