feat: carte répartition par type de jour dans le rapport
This commit is contained in:
@@ -59,4 +59,23 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- Répartition par type de jour -->
|
||||
<div class="card card-amber">
|
||||
<p class="card-label">Répartition {{ year }}</p>
|
||||
{% if day_type_counts %}
|
||||
<div class="space-y-2 mt-1">
|
||||
{% for day_type, count in day_type_counts.items() %}
|
||||
<div class="flex items-baseline justify-between">
|
||||
<span class="text-xs" style="color:#8A8278;">{{ day_type | day_type_fr }}</span>
|
||||
<span class="font-data font-semibold text-sm" style="color:var(--ink);">
|
||||
{{ count }}<span class="font-normal text-xs ml-1" style="color:#9A9288;">j</span>
|
||||
</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% else %}
|
||||
<p class="text-sm" style="color:#9A9288;">Aucune entrée pour {{ year }}.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user