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,18 @@
<div id="debug-panel">
<Card class_extra="mt-4">
<div class="flex items-center justify-between mb-3">
<h3 class="font-semibold text-sm">Debug : <code>{{ pc_id }}</code></h3>
<Button
label="✕ Fermer"
variant="ghost"
hx_get="/admin/list"
hx_target="#main-content"
/>
</div>
{% if error %}
<Alert message="{{ error }}" type="error" />
{% else %}
<pre class="bg-base-200 rounded p-3 text-xs overflow-auto max-h-80">{{ data | tojson(indent=2) }}</pre>
{% endif %}
</Card>
</div>