This commit is contained in:
2023-07-26 16:04:23 +03:00
parent 4d07d613ad
commit 5586f73cae
4 changed files with 73 additions and 11 deletions

View File

@@ -9,7 +9,7 @@
<img class="svg" src="/static/img/svg/PushPin.svg">
<a href="#">Разместить объявление</a>
</div>
<div>
<div onclick="getRoute()">
<img class="svg" src="/static/img/svg/Cards.svg">
<a href="#">Мои объявления</a>
</div>

View File

@@ -1,3 +1,33 @@
<div>
{{ andy }}
{% for route in routes %}
<div class="wraper">
<div class="route_info">
{{ route.get_cargo_type_display }}
{{ route.weight }}
{{ route.get_type_transport_display }}
<div class="route_info_point">
{{ route.from_address_point }}
{{ route.to_adress_point }}
</div>
<div class="route_info_date">
Отправка: {{route.departure_DT }}
Прибытие: {{route.arrival_DT }}
</div>
<div class="route_info_ft_place">
Откуда заберёт:{{ route.from_place }}
Куда доставит:{{ route.to_place }}
</div>
</div>
<div class="route_contact">
</div>
</div>
{% endfor %}
</div>