Refactor price display in index.html to use span elements for better structure and styling

This commit is contained in:
2026-03-22 18:59:04 +01:00
parent 83afc3c2f1
commit c94e313672

View File

@@ -138,8 +138,8 @@
<button type="submit" name="position" value="{{ pos }}" title="{{ prod['name'] }}"
class="btn {{ prod['color_class'] }}">
<span class="article-icon">{{ prod['icon'] }}</span>
{{ '{:,.2f}'.format(prod['price']).replace('.', ',') }}€
({{ items.get(pos, 0) }})
<span>{{ '{:,.2f}'.format(prod['price']).replace('.', ',') }}€</span>
<span>({{ items.get(pos, 0) }})</span>
</button>
</div>
{% endfor %}