This commit is contained in:
2026-02-20 10:55:55 +00:00
parent 612ee5c740
commit 305b269093
2 changed files with 73 additions and 11 deletions

View File

@@ -35,11 +35,11 @@
<div class="card bg-dark bg-opacity-75 p-3">
<h5 class="text-white mb-3">Liste des éléments</h5>
<div class="table-items">
{% for name, time in items.items() %}
{% for item in items %}
<div class="d-flex justify-content-between align-items-center py-2">
<span class="text-white">{{ name }}</span>
<span class="text-white">{{ item.name }}</span>
<span class="text-white">{{ time }}</span>
<span class="text-white">{{ item.time }}</span>
<form method="post" action="/delete" class="m-0 p-0">
<input type="hidden" name="item_name" value="{{ name }}">