2022-05-10 20:55:19 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2022-05-12 14:27:16 +02:00
|
|
|
<title>Unisquat</title>
|
2022-05-10 20:55:19 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="../static/style.css">
|
2022-05-12 14:27:16 +02:00
|
|
|
<meta name="viewport" content="width=300, initial-scale=1" />
|
2022-05-10 20:55:19 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2022-05-12 14:27:16 +02:00
|
|
|
{% include "base.html" %}
|
2022-05-10 20:55:19 +02:00
|
|
|
<main>
|
|
|
|
Les salles suivantes sont disponibles actuellement :
|
|
|
|
<div class="flex-container">
|
|
|
|
<ul>
|
|
|
|
{% for room in available_rooms : %}
|
|
|
|
{% if room.is_free : %}
|
|
|
|
<dt>{{ room.name }}
|
|
|
|
{% if not(room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59) : %}
|
|
|
|
<br><span class=details>Occupée à : {{ room.end.hour + hdelay }}:{{ room.end.minute }}</span>
|
|
|
|
{% endif %}
|
|
|
|
</dt>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
Les salles suivantes seront disponibles prochainement :
|
|
|
|
<div class="flex-container">
|
|
|
|
<ul>
|
|
|
|
{% for room in available_rooms : %}
|
|
|
|
{% if not room.is_free : %}
|
|
|
|
<dt>{{ room.name }}
|
|
|
|
{% if room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59 : %}
|
|
|
|
<br><span class=details>Libre à : {{ room.start.hour + hdelay }}:{{ room.start.minute + hdelay }}</span>
|
|
|
|
{% else %}
|
|
|
|
<br><span class=details>Libre de {{ room.start.hour + hdelay }}:{{ room.start.minute + hdelay }} à {{ room.end.hour + hdelay }}:{{ room.end.minute + hdelay }}</span>
|
|
|
|
{% endif %}
|
|
|
|
</dt>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<footer></footer>
|
|
|
|
</body>
|
|
|
|
</html>
|