diff --git a/app.py b/app.py index 4e19cc0..b9f48b5 100644 --- a/app.py +++ b/app.py @@ -150,7 +150,7 @@ def free_rooms() : time_uf = time_uf.split(":") # Récupére les IDs des salles favorites - favs_ids = request.args.get("favs") + favs_ids = request.args.getlist("favs") if favs_ids==None: favs_ids = [] diff --git a/static/style.css b/static/style.css index 06384bc..d4e3d14 100644 --- a/static/style.css +++ b/static/style.css @@ -211,6 +211,10 @@ input[type="checkbox"] { height: 0px; } +input[type=checkbox]:checked ~ .remove-check { + display: none; +} + .flex { display: flex; flex-wrap: wrap; diff --git a/templates/free-rooms.html b/templates/free-rooms.html index 999f33c..126f058 100644 --- a/templates/free-rooms.html +++ b/templates/free-rooms.html @@ -31,12 +31,13 @@
+ {% include "footer.html" %}