up without batch

This commit is contained in:
Tykayn 2025-06-05 16:20:20 +02:00 committed by tykayn
parent 4c1a7729a1
commit 409bff6d4c
4 changed files with 86 additions and 201 deletions

View file

@ -215,31 +215,8 @@ out skel qt;`;
</tr>
{% endfor %}
</tbody>
</table>
{% if totalPages > 1 %}
<nav aria-label="Page navigation">
<ul class="pagination justify-content-center">
{% if currentPage > 1 %}
<li class="page-item">
<a class="page-link" href="{{ path('app_public_dashboard', {'page': currentPage - 1}) }}">Précédent</a>
</li>
{% endif %}
{% for i in 1..totalPages %}
<li class="page-item {% if i == currentPage %}active{% endif %}">
<a class="page-link" href="{{ path('app_public_dashboard', {'page': i}) }}">{{ i }}</a>
</li>
{% endfor %}
{% if currentPage < totalPages %}
<li class="page-item">
<a class="page-link" href="{{ path('app_public_dashboard', {'page': currentPage + 1}) }}">Suivant</a>
</li>
{% endif %}
</ul>
</nav>
{% endif %}
</table>
<h2>{{ places_count }} Lieux</h2>
<h2><button class="btn btn-primary" id="labourer">Labourer les mises à jour</button></h2>