From 48021da856ec2e6be643620a2ea40f094b410e21 Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Fri, 7 Nov 2025 18:25:10 +0300 Subject: [PATCH] =?UTF-8?q?refactor:=20=D0=9F=D0=B5=D1=80=D0=B5=D0=BC?= =?UTF-8?q?=D0=B5=D1=89=D0=B5=D0=BD=D1=8B=20=D1=84=D0=B8=D0=BB=D1=8C=D1=82?= =?UTF-8?q?=D1=80=D1=8B=20=D0=B8=D0=B7=20=D0=B1=D0=BE=D0=BA=D0=BE=D0=B2?= =?UTF-8?q?=D0=BE=D0=B9=20=D0=BF=D0=B0=D0=BD=D0=B5=D0=BB=D0=B8=20=D0=BD?= =?UTF-8?q?=D0=B0=D0=B2=D0=B5=D1=80=D1=85=20=D1=81=D1=82=D1=80=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=86=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Изменения: - Фильтры теперь расположены горизонтально в одной строке над таблицей - Кнопка "Создать заказ" перенесена в правый верхний угол рядом с заголовком - Календарный фильтр дат вынесен во вторую строку для лучшей читаемости - Убрана двухколоночная компоновка, таблица теперь занимает всю ширину - Улучшена компактность интерфейса - больше места для таблицы данных Преимущества новой компоновки: - Таблица заказов использует всю ширину экрана - Фильтры компактно организованы сверху - Улучшена видимость данных 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../orders/templates/orders/order_list.html | 136 +++++++++--------- 1 file changed, 67 insertions(+), 69 deletions(-) diff --git a/myproject/orders/templates/orders/order_list.html b/myproject/orders/templates/orders/order_list.html index 7661d6f..dd78ec0 100644 --- a/myproject/orders/templates/orders/order_list.html +++ b/myproject/orders/templates/orders/order_list.html @@ -9,80 +9,80 @@ {% block content %}
-
+ +

Заказы

-
- -
- -
- -
-
-
- Фильтры -
-
-
-
- -
- - {{ filter.form.search }} -
- - - {% include 'orders/components/date_range_filter.html' with field_after=filter.form.delivery_date_after field_before=filter.form.delivery_date_before label="Дата доставки" icon="truck" %} - - -
- - {{ filter.form.status }} -
- - -
- - {{ filter.form.delivery_type }} -
- - -
- - {{ filter.form.payment_status }} -
- - -
- - - Сбросить - -
-
-
-
- - - + +
- -
+ +
+
+
+ Фильтры +
+
+
+
+
+ +
+ + {{ filter.form.search }} +
+ + +
+ + {{ filter.form.status }} +
+ + +
+ + {{ filter.form.delivery_type }} +
+ + +
+ + {{ filter.form.payment_status }} +
+ + +
+ + + Сбросить + +
+
+ + +
+
+ {% include 'orders/components/date_range_filter.html' with field_after=filter.form.delivery_date_after field_before=filter.form.delivery_date_before label="Дата доставки" icon="truck" %} +
+
+
+
+
@@ -220,8 +220,6 @@ {% endif %}
-
-
{% endblock %}