feat: oh look, more changes

This commit is contained in:
Herculino Trotta
2025-11-10 00:28:16 -03:00
parent 7e37948616
commit b38ed37bc5
27 changed files with 636 additions and 624 deletions
+9 -10
View File
@@ -1,15 +1,12 @@
{% load i18n %}
<div class="container px-md-3 py-3 column-gap-5">
<c-ui.fab-single-action
url="{% url 'currency_add' %}"
hx_target="#generic-offcanvas">
</c-ui.fab-single-action>
<div class="container">
<div class="text-3xl font-bold font-mono w-full mb-3">
{% spaceless %}
<div>{% translate 'Currencies' %}<span>
<a class="no-underline text-2xl p-1 category-action"
role="button"
data-tippy-content="{% translate "Add" %}"
hx-get="{% url 'currency_add' %}"
hx-target="#generic-offcanvas">
<i class="fa-solid fa-circle-plus fa-fw"></i></a>
</span></div>
<div>{% translate 'Currencies' %}</div>
{% endspaceless %}
</div>
@@ -17,7 +14,8 @@
<div class="card-body overflow-x-auto">
{% if currencies %}
<c-config.search></c-config.search>
<table class="table table-hover">
<div class="overflow-x-auto">
<table class="table table-zebra">
<thead>
<tr>
<th scope="col" class="table-col-auto"></th>
@@ -56,6 +54,7 @@
{% endfor %}
</tbody>
</table>
</div>
{% else %}
<c-msg.empty title="{% translate "No currencies" %}" remove-padding></c-msg.empty>
{% endif %}