sidebar in the admin

This commit is contained in:
Priec
2026-06-22 12:49:08 +02:00
parent 09634e1cd8
commit 77d5c0fc25
9 changed files with 228 additions and 11 deletions

View File

@@ -54,7 +54,11 @@
{% endif %}
</section>
<div class="mt-4 {{ ui::table_wrap_cls() }}">
{% set category_base = "/admin/catalog/products" %}
{% set category_suffix = "&audience=" ~ audience %}
<div class="mt-4 flex flex-col gap-6 md:flex-row md:items-start">
{% include "admin/partials/category_filter.html" %}
<div class="min-w-0 flex-1 {{ ui::table_wrap_cls() }}">
{% if products | length > 0 %}
<table class="{{ ui::table_cls() }}">
<thead class="{{ ui::thead_cls() }}">
@@ -138,5 +142,6 @@
{{ ui::button(label=t(key="new-product", lang=lang | default(value='sk')), href="/admin/catalog/products/new") }}
</div>
{% endif %}
</div>
</div>
{% endblock content %}