Files
santeh-ray/templates/catalog/_fragments/side-bar.html
Azimkin 921cea9044
All checks were successful
Build and Push Docker Image / build (push) Successful in 24s
feat: add sidebar and item list to catalog page, enable DEBUG mode for development
- Created `side-bar.html` and `item-list.html` fragments for catalog page layout
- Updated `catalog/index.html` to include sidebar and item list templates
- Added styles for catalog layout in `catalog.css`
- Enabled `DEBUG=True` in settings for local development
- Adjusted CSS in shipping and services for consistent spacing
2026-04-07 23:09:19 +02:00

38 lines
937 B
HTML

<aside>
<section class="categories a-section">
<h2>Категории</h2>
{% for category in categories %}
<a href="/catalog/{{ category.slug }}" class="category">{{ category.name }}</a>
{% endfor %}
</section>
<section class="sub-categories a-section">
<h2>Подкатегории</h2>
</section>
<form action="">
<section class="a-section cost-section">
<h2>Стоимость</h2>
</section>
<section class="a-section color-section">
<h2>Цвет</h2>
</section>
<section class="a-section material-section">
<h2>Материал</h2>
</section>
<section class="a-section promotions-section">
<h2>Акции</h2>
</section>
<section class="a-section new-section">
<h2>Новинки</h2>
</section>
</form>
</aside>