Ajout d'un sélecteur de date.

This commit is contained in:
Antoine Waehren 2022-05-12 17:58:06 +02:00
parent 495da01be9
commit 022593d32f

9
app.py
View File

@ -116,7 +116,12 @@ def free_rooms() :
"end":date_tools.hour_disp(r.end),
"rtime":remain_time_str}
context = {"free_rooms":free_rooms, "frooms_disp":frooms_disp, "depts_str":depts_str}
context = {"free_rooms":free_rooms, "frooms_disp":frooms_disp, "depts_str":depts_str, "dident_list":dident_list}
url_for("static", filename="style.css")
return render_template("free-rooms.html", **context)
return render_template("free-rooms.html", **context)
@app.route("/app/date-select")
def date_select() :
return render_template("date-select.html")