Upload files to "frontend/templates/partials"

This commit is contained in:
Thierry 2026-03-26 11:30:05 +01:00
parent d504a39d40
commit d009e0da62
5 changed files with 114 additions and 0 deletions

View file

@ -0,0 +1,42 @@
<Layout title="Admin — Nuages de points" active_tab="admin">
<Card title="🗂️ Nuages de points">
<div class="flex justify-between items-center mb-4">
<Button
label="🔄 Actualiser"
variant="ghost"
hx_get="/admin/list"
hx_target="#main-content"
/>
</div>
{% if error %}
<Alert message="{{ error }}" type="error" />
{% elif not pointclouds %}
<p class="text-base-content/40 text-sm text-center py-8">
Aucun nuage disponible sur le serveur.
</p>
{% else %}
<p class="text-xs text-base-content/40 mb-3">{{ pointclouds|length }} nuage(s)</p>
<div class="overflow-x-auto">
<table class="table table-sm">
<thead>
<tr>
<th>ID</th>
<th>Format</th>
<th>Taille</th>
<th>Créé le</th>
<th>Actions</th>
</tr>
</thead>
<tbody id="cloud-table-body">
{% for pc in pointclouds %}
<CloudRow :pc="pc" />
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
</Card>
<div id="debug-panel"></div>
</Layout>