diff --git a/assets/styles/app.css b/assets/styles/app.css index f37a0bd3..09f609b8 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -163,4 +163,11 @@ img { table tbody { max-height: 700px; overflow: auto; +} + +#table_container, .table-container, #table-container{ + max-height: 700px; + overflow: auto; + display: block; + border: solid 3px rgb(255, 255, 255); } \ No newline at end of file diff --git a/templates/admin/stats.html.twig b/templates/admin/stats.html.twig index c3ddbab5..4125a06c 100644 --- a/templates/admin/stats.html.twig +++ b/templates/admin/stats.html.twig @@ -208,8 +208,35 @@ - {# #} -
# | -Utilisateur OSM | -Nombre de lieux | -Score de complétion moyen | -Score de complétion pondéré | -Score pondéré normalisé (0-100) | -
---|
{{ loop.index }} | -- - {{ row.osm_user }} - - | -{{ row.nb }} | -- {% if row.completion_moyen is not null %} - {{ row.completion_moyen }} % - {% else %} - N/A - {% endif %} - | -- {% if row.completion_pondere is not null %} - {{ row.completion_pondere }} - {% else %} - N/A - {% endif %} - | -- {% if row.completion_pondere_normalisee is not null %} - {{ row.completion_pondere_normalisee }} - {% else %} - N/A - {% endif %} - | +# | +Utilisateur OSM | +Nombre de lieux | +Score de complétion moyen | +Score de complétion pondéré | +Score pondéré normalisé (0-100) |
---|---|---|---|---|---|---|---|---|---|---|---|
Aucun contributeur trouvé pour cette ville. |
Ville | -Code postal | -Complétion | -Nombre de commerces | -Lieux par habitants | -Budget | -Budget/habitant | -Budget/lieu | -Date moyenne de mise à jour | -Actions | -
---|
- {{ stat.name }} - {% if not stat.name and stat.zone starts with '751' %} - Paris {{ stat.zone|slice(-2) }}e. - - {% endif %} - | -{{ stat.zone }} | -{{ stat.completionPercent }}% | -{{ stat.placesCount }} | -{{ (stat.placesCount / (stat.population or 1 ))|round(2) }} | -{% if stat.budgetAnnuel %}{{ (stat.budgetAnnuel / 1000000)|number_format(1, '.', ' ') }} M€{% else %}-{% endif %} | -{% if stat.budgetAnnuel and stat.population %}{{ (stat.budgetAnnuel / stat.population)|number_format(0, '.', ' ') }} €{% else %}-{% endif %} | -{% if stat.budgetAnnuel and stat.placesCount %}{{ (stat.budgetAnnuel / stat.placesCount)|number_format(0, '.', ' ') }} €{% else %}-{% endif %} | -{{ stat.osmDataDateAvg|date('Y-m-d H:i') }} | -- - | +Ville | +Code postal | +Complétion | +Nombre de commerces | +Lieux par habitants | +Budget | +Budget/habitant | +Budget/lieu | +Date moyenne de mise à jour | +Actions |
---|