Files
shoppy/web/templates/web/index.html
T
pablo 201451d89f
CI / test (push) Successful in 1m54s
CI / build (push) Successful in 16s
feat: improved UI
2026-07-31 15:09:50 +02:00

23 lines
722 B
HTML

{% extends 'theme/base.html' %}
{% load static i18n %}
{% block main %}
{% include 'components/generic/navbar.html' %}
<div class="max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
{% include 'components/products/list_filters.html' %}
<section
hx-get="
{% url 'web:list_products' %}{% querystring request.GET %}{% if filter_by_category %}{% querystring category=category.id %}{% endif %}"
hx-trigger="load"
hx-target="#products"
hx-swap="innerHTML"
>
<section id="products">
<div class="flex justify-center items-center py-16">
{% include 'components/generic/spinner.html' %}
</div>
</section>
</section>
</div>
{% endblock %}