up historique
This commit is contained in:
parent
c274fd6a63
commit
fd3827ee52
2 changed files with 6 additions and 4 deletions
|
@ -322,7 +322,7 @@
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<i class="bi bi-calendar-event"></i> Fréquence des mises à jour (par trimestre)
|
<i class="bi bi-calendar-event"></i> Fréquence des mises à jour par trimestre pour {{stats.name}}
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<canvas id="modificationsByQuarterChart" style="min-height: 250px; width: 100%;"></canvas>
|
<canvas id="modificationsByQuarterChart" style="min-height: 250px; width: 100%;"></canvas>
|
||||||
|
@ -449,7 +449,7 @@
|
||||||
map = new maplibregl.Map({
|
map = new maplibregl.Map({
|
||||||
container: 'map',
|
container: 'map',
|
||||||
style: 'https://api.maptiler.com/maps/basic-v2/style.json?key={{ maptiler_token }}',
|
style: 'https://api.maptiler.com/maps/basic-v2/style.json?key={{ maptiler_token }}',
|
||||||
center: [2.3522, 48.8566], // Paris
|
center: [{{stats.places?stats.places[0].lat}}, {{stats.places?stats.places[0].lon}}], // Paris
|
||||||
zoom: 12
|
zoom: 12
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -106,6 +106,7 @@
|
||||||
<th>Complétion</th>
|
<th>Complétion</th>
|
||||||
<th>Nombre de commerces</th>
|
<th>Nombre de commerces</th>
|
||||||
<th>Lieux par habitants</th>
|
<th>Lieux par habitants</th>
|
||||||
|
<th>Date moyenne de mise à jour</th>
|
||||||
<th>Actions</th>
|
<th>Actions</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -121,8 +122,9 @@
|
||||||
</a></td>
|
</a></td>
|
||||||
<td>{{ stat.zone }}</td>
|
<td>{{ stat.zone }}</td>
|
||||||
<td>{{ stat.completionPercent }}%</td>
|
<td>{{ stat.completionPercent }}%</td>
|
||||||
<td>{{ stat.places|length }}</td>
|
<td>{{ stat.placesCount }}</td>
|
||||||
<td>{{ (stat.places|length / (stat.population or 1 ))|round(2) }}</td>
|
<td>{{ (stat.placesCount / (stat.population or 1 ))|round(2) }}</td>
|
||||||
|
<td>{{ stat.osmDataDateAvg|date('Y-m-d H:i') }}</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="btn-group" role="group">
|
<div class="btn-group" role="group">
|
||||||
<a href="{{ path('app_admin_stats', {'insee_code': stat.zone}) }}" class="btn btn-sm btn-primary" title="Voir les statistiques de cette ville">
|
<a href="{{ path('app_admin_stats', {'insee_code': stat.zone}) }}" class="btn btn-sm btn-primary" title="Voir les statistiques de cette ville">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue