From a46bbdec847d05f47777f7080bfd9668050c8cc6 Mon Sep 17 00:00:00 2001 From: borissedw Date: Sat, 2 Sep 2023 18:40:06 +0300 Subject: [PATCH] 0.0.220 --- templates/blocks/b_find_route_form.html | 107 ++-------------- templates/blocks/b_finded_routes.html | 21 ++++ .../forms/f_find_route_filters_form.html | 89 ++++++++++++++ .../f_find_route_form_main_find_routes.html | 101 +++++++++++++++ templates/pages/p_results_find_route.html | 115 +----------------- 5 files changed, 223 insertions(+), 210 deletions(-) create mode 100644 templates/blocks/b_finded_routes.html create mode 100644 templates/forms/f_find_route_filters_form.html create mode 100644 templates/forms/f_find_route_form_main_find_routes.html diff --git a/templates/blocks/b_find_route_form.html b/templates/blocks/b_find_route_form.html index 2384b7f..6718bab 100644 --- a/templates/blocks/b_find_route_form.html +++ b/templates/blocks/b_find_route_form.html @@ -1,101 +1,16 @@ {% load static %} -
-
- -{# #} +
+ {% csrf_token %} -{#
#} -{# {% include "widgets/w_places_input.html" %}#} -{#
#} -
- - - -
+ {% include "forms/f_find_route_form_main_find_routes.html" %} -
-
+
+ + {% include "forms/f_find_route_filters_form.html" %} + + {% include "blocks/b_finded_routes.html" %} + +
-
- -{#
#} -{# #} - -{#
#} -{# {% include "widgets/w_ac_input_address_point.html" %}#} -{#
#} -{#
#} -
- - - -
- -
-
-
-
- - -
-
- - -
-
- - -
-
- - -
-
\ No newline at end of file + \ No newline at end of file diff --git a/templates/blocks/b_finded_routes.html b/templates/blocks/b_finded_routes.html new file mode 100644 index 0000000..20ead58 --- /dev/null +++ b/templates/blocks/b_finded_routes.html @@ -0,0 +1,21 @@ +{% load static %} + +
+ {% if not routes %} + Нечего не найдено! + {% endif %} + +
+ {% include "blocks/b_search_routes.html" %} +
+
+ +
+ {% if last_block_routes == false %} +
+ + +
+ {% endif %} + +
\ No newline at end of file diff --git a/templates/forms/f_find_route_filters_form.html b/templates/forms/f_find_route_filters_form.html new file mode 100644 index 0000000..eb2bfec --- /dev/null +++ b/templates/forms/f_find_route_filters_form.html @@ -0,0 +1,89 @@ +{% load static %} + +
+
Все фильтры
+
+
Способ перевозки
+{#
#} +{#
#} +{# #} +{#
#} +{#
#} +{# #} +{#
#} + {% for item in form.fields.type_transport.choices %} + {% if forloop.counter0 > 0 %} +
+ + + +
+ {% endif %} + {% endfor %} +{#
#} +{# #} +{##}{# #} +{# #} +{#
#} +
+
+
Откуда забрать посылку
+ +
+
+
Куда доставить посылку
+ +
+
+ +
+ +
+
+ + +
+
+ +
+
+
Сортировать по:
+ +
+ +
\ No newline at end of file diff --git a/templates/forms/f_find_route_form_main_find_routes.html b/templates/forms/f_find_route_form_main_find_routes.html new file mode 100644 index 0000000..2384b7f --- /dev/null +++ b/templates/forms/f_find_route_form_main_find_routes.html @@ -0,0 +1,101 @@ +{% load static %} +
+
+ + +{# #} + +{#
#} +{# {% include "widgets/w_places_input.html" %}#} +{#
#} +
+ + + +
+ +
+
+
+
+ +{#
#} +{# #} + +{#
#} +{# {% include "widgets/w_ac_input_address_point.html" %}#} +{#
#} +{#
#} +
+ + + +
+ +
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
\ No newline at end of file diff --git a/templates/pages/p_results_find_route.html b/templates/pages/p_results_find_route.html index 5c5df2b..21181e6 100644 --- a/templates/pages/p_results_find_route.html +++ b/templates/pages/p_results_find_route.html @@ -23,122 +23,9 @@

Поиск перевозчика

-
- {% csrf_token %} - {% include "blocks/b_find_route_form.html" %} + {% include "blocks/b_find_route_form.html" %} -
-
-
Все фильтры
-
-
Способ перевозки
- {#
#} - {#
#} - {# #} - {#
#} - {#
#} - {# #} - {#
#} - {% for item in form.fields.type_transport.choices %} - {% if forloop.counter0 > 0 %} -
- - - -
- {% endif %} - {% endfor %} -{#
#} -{# #} -{##}{# #} -{# #} -{#
#} -
-
-
Откуда забрать посылку
- -
-
-
Куда доставить посылку
- -
-
- -
- -
-
- - -
-
- -
-
-
Сортировать по:
- -
- -
-
- {% if not routes %} - Нечего не найдено! - {% endif %} - -
- {% include "blocks/b_search_routes.html" %} -
-
- -
- {% if last_block_routes == false %} -
- - -
- {% endif %} - -
- -
-
-
{% endblock %} \ No newline at end of file