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 {
display: none;
}

View File

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

View File

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

View File

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