Intégration smartphone

This commit is contained in:
Jean-Marie Favreau 2024-11-11 23:57:20 +01:00
parent 936f6c1b6b
commit ab347d5656
4 changed files with 42 additions and 33 deletions

View File

@ -1026,6 +1026,11 @@ article form p .recurrence-widget {
} }
.large-table {
overflow-x: scroll;
width: 100%;
}
.container-fluid article form .hidden { .container-fluid article form .hidden {
display: none; display: none;
} }

View File

@ -1,3 +1,4 @@
<div class="large-table">
<table role="grid"> <table role="grid">
<thead> <thead>
<tr> <tr>
@ -54,3 +55,4 @@
{% endif %} {% endif %}
</tbody> </tbody>
</table> </table>
</div>

View File

@ -1,7 +1,8 @@
{% if modifications|length == 0 %} {% if modifications|length == 0 %}
<em>Aucune activité dans la période choisie</em> <em>Aucune activité dans la période choisie</em>
{% else %} {% else %}
<table role="grid"> <div class="large-table">
<table role="grid">
<thead> <thead>
<tr> <tr>
<th>{% if modifications.0.when.0 == modifications.0.when.1 %}Date{% else %}Semaine{% endif %}</th> <th>{% if modifications.0.when.0 == modifications.0.when.1 %}Date{% else %}Semaine{% endif %}</th>
@ -31,5 +32,6 @@
</tr> </tr>
{% endif %} {% endif %}
</tbody> </tbody>
</table> </table>
</div>
{% endif %} {% endif %}

View File

@ -57,9 +57,9 @@ def picto_visibility(event, visible=True):
if not visible: if not visible:
return "" return ""
if event.is_representative(): if event.is_representative():
return picto_from_name("award", "version mise en avant") return picto_from_name("award")
elif event.masked(): elif event.masked():
return picto_from_name("archive", "version non mise en avant") return picto_from_name("archive")
else: else:
return "" return ""