feat: add sidebar and item list to catalog page, enable DEBUG mode for development
All checks were successful
Build and Push Docker Image / build (push) Successful in 24s
All checks were successful
Build and Push Docker Image / build (push) Successful in 24s
- 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
This commit is contained in:
38
templates/catalog/_fragments/side-bar.html
Normal file
38
templates/catalog/_fragments/side-bar.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user