Compare commits
2 Commits
057d0f9c90
...
5cd946bac5
Author | SHA1 | Date | |
---|---|---|---|
5cd946bac5 | |||
d296d65215 |
@ -162,9 +162,10 @@ dt {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
dt .details {
|
.details {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="submit"], button, .button{
|
input[type="submit"], button, .button{
|
||||||
@ -262,3 +263,7 @@ footer {
|
|||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.room-collumn{
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
@ -42,14 +42,14 @@
|
|||||||
<div class="room-row">
|
<div class="room-row">
|
||||||
<div>
|
<div>
|
||||||
{{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %}
|
{{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %}
|
||||||
|
{% if not(room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59) : %}
|
||||||
|
<p class=details>Jusqu'à {{ frooms_disp[room.name]["end"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</p>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<input class="fav" type="checkbox" id="{{ room.id }}" name="favs" value="{{ room.id }}" checked> <label style="width:30px;height:30px" for="{{ room.id }}">⭐</label>
|
<input class="fav" type="checkbox" id="{{ room.id }}" name="favs" value="{{ room.id }}" checked> <label style="width:30px;height:30px" for="{{ room.id }}">⭐</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if not(room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59) : %}
|
|
||||||
<span class=details>Jusqu'à {{ frooms_disp[room.name]["end"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</span>
|
|
||||||
{% endif %}
|
|
||||||
</dt>
|
</dt>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
@ -67,16 +67,16 @@
|
|||||||
<div class="room-row">
|
<div class="room-row">
|
||||||
<div>
|
<div>
|
||||||
{{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %}
|
{{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %}
|
||||||
|
{% if room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59 : %}
|
||||||
|
<p class=details>À {{ frooms_disp[room.name]["start"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</p>
|
||||||
|
{% else %}
|
||||||
|
<p class=details>De {{ frooms_disp[room.name]["start"] }} à {{ frooms_disp[room.name]["end"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</p>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<input class="fav" type="checkbox" id="{{ room.id }}" name="favs" value="{{ room.id }}" checked> <label style="width:30px;height:30px" for="{{ room.id }}">⭐</label>
|
<input class="fav" type="checkbox" id="{{ room.id }}" name="favs" value="{{ room.id }}" checked> <label style="width:30px;height:30px" for="{{ room.id }}">⭐</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59 : %}
|
|
||||||
<span class=details>À {{ frooms_disp[room.name]["start"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</span>
|
|
||||||
{% else %}
|
|
||||||
<span class=details>De {{ frooms_disp[room.name]["start"] }} à {{ frooms_disp[room.name]["end"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</span>
|
|
||||||
{% endif %}
|
|
||||||
</dt>
|
</dt>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
@ -97,14 +97,14 @@
|
|||||||
<div class="room-row">
|
<div class="room-row">
|
||||||
<div>
|
<div>
|
||||||
{{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %}
|
{{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %}
|
||||||
|
{% if not(room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59) : %}
|
||||||
|
<p class=details>Jusqu'à {{ frooms_disp[room.name]["end"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</p>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<input class="fav" type="checkbox" id="{{ room.id }}" name="favs" value="{{ room.id }}"> <label style="width:30px;height:30px" for="{{ room.id }}">⭐</label>
|
<input class="fav" type="checkbox" id="{{ room.id }}" name="favs" value="{{ room.id }}"> <label style="width:30px;height:30px" for="{{ room.id }}">⭐</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if not(room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59) : %}
|
|
||||||
<span class=details>Jusqu'à {{ frooms_disp[room.name]["end"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</span>
|
|
||||||
{% endif %}
|
|
||||||
</dt>
|
</dt>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
@ -122,16 +122,16 @@
|
|||||||
<div class="room-row">
|
<div class="room-row">
|
||||||
<div>
|
<div>
|
||||||
{{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %}
|
{{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %}
|
||||||
|
{% if room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59 : %}
|
||||||
|
<p class=details>À {{ frooms_disp[room.name]["start"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</p>
|
||||||
|
{% else %}
|
||||||
|
<p class=details>De {{ frooms_disp[room.name]["start"] }} à {{ frooms_disp[room.name]["end"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</p>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<input class="fav" type="checkbox" id="{{ room.id }}" name="favs" value="{{ room.id }}"> <label style="width:30px;height:30px" for="{{ room.id }}">⭐</label>
|
<input class="fav" type="checkbox" id="{{ room.id }}" name="favs" value="{{ room.id }}"> <label style="width:30px;height:30px" for="{{ room.id }}">⭐</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59 : %}
|
|
||||||
<span class=details>À {{ frooms_disp[room.name]["start"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</span>
|
|
||||||
{% else %}
|
|
||||||
<span class=details>De {{ frooms_disp[room.name]["start"] }} à {{ frooms_disp[room.name]["end"] }} (dans {{ frooms_disp[room.name]["rtime"] }})</span>
|
|
||||||
{% endif %}
|
|
||||||
</dt>
|
</dt>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
@ -143,7 +143,7 @@
|
|||||||
{% for d in dident_list : %} <!-- Magie noire pour conserver les départements séléctionnés -->
|
{% for d in dident_list : %} <!-- Magie noire pour conserver les départements séléctionnés -->
|
||||||
<span style="display: none;"><input type="text" name="dept" value="{{ d }}"/></span>
|
<span style="display: none;"><input type="text" name="dept" value="{{ d }}"/></span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<input type="submit" value="Valider les favoris">
|
<input type="submit" value="Valider les favoris">
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user