From 65e098e6a7c3d0f5c774354f35a866fefe4fda48 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Thu, 27 Jul 2023 15:01:09 +0300 Subject: [PATCH] =?UTF-8?q?0.0.48=20upd=20=D1=81=D1=8B=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/styles.css | 13 ++++++++- templates/widgets/w_route_info.html | 42 +++++++++++++++++++---------- 2 files changed, 40 insertions(+), 15 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index 1ac6f8a..2195506 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -1074,7 +1074,18 @@ div.from_to_place>div>select{ .my_route{ display: block ruby; - margin: 15px 5px; + background-color: White; + border-radius: 10px; + margin: 2% 0 0 0; + box-shadow: 0px -1px 10px 0px #C6C7CB33; + +} + +.route_info{ + border-style: inset; + border-width: 1px; + border-color: transparent #F8F8F8 transparent transparent; + } /*my routes*/ diff --git a/templates/widgets/w_route_info.html b/templates/widgets/w_route_info.html index 9810cae..01ff817 100644 --- a/templates/widgets/w_route_info.html +++ b/templates/widgets/w_route_info.html @@ -4,27 +4,41 @@ {{ route.get_cargo_type_display }} {{ route.weight }} {{ route.get_type_transport_display }} -
- {{ route.from_country }}/{{ route.from_city }} - {{ route.to_country }}/{{ route.to_city }} -
-
- Отправка: {{route.departure_DT }} - Прибытие: {{route.arrival_DT }} -
-
- Откуда заберёт:{{ route.from_place }} - Куда доставит:{{ route.to_place }} -
+
+ {{ route.from_country.name }}/{{ route.from_city.name }} +
+ {{ route.to_country.name }}/{{ route.to_city.name }} +
+
+ Отправка: {{route.departure_DT }} + Прибытие: {{route.arrival_DT }} +
+
+ Откуда заберёт:{{ route.from_place }} + Куда доставит:{{ route.to_place }} +
-
+
+

Контакты перевозчика:

- Контакты перевозчика: +
{{ route.owner.last_name }} {{ route.owner.first_name }} +
+ +
{{ route.phone }} +
{{ route.extra_phone }} +
{{ route.owner.email }} +
+ + + + + +