0.0.268 all child are replaced

This commit is contained in:
2023-11-29 19:44:20 +03:00
parent ebdc84f7e1
commit a7d9dfe79a
9 changed files with 138 additions and 174 deletions

View File

@@ -59,7 +59,7 @@
{% if form.initial and form.initial.type_transport and form.initial.type_transport != '' %}
<hr>
<div class="departure_arrival">
<div>
<div class="wrap_left">
<label for="id_departure_DT">{{ form.fields.departure_DT.label }}</label>
@@ -83,7 +83,7 @@
{% endif %}
</div>
<div id="arrival_div">
<div id="arrival_div">
<label for="id_arrival_DT">{{ form.fields.arrival_DT.label }}</label>
{# <input#}
{# type="datetime-local"#}
@@ -144,7 +144,7 @@
<span>{{ form.errors.from_address_point}}</span>
{% endif %}
</div>
<div>
<div class="wrap_right">
<label for="id_to_address_point_txt">{{ form.fields.to_address_point.label }}</label>
<input
type="number"
@@ -188,7 +188,7 @@
{# <input type="text" name="to_city"{% if form.fields.to_city.required %} required{% endif %} id="id_to_city">#}
{# </div>#}
<div class="from_to_place">
<div>
<div class="wrap_left">
<label for="id_from_place">{{ form.fields.from_place.label }}</label>
<select
class="custom_select el_form_b_new_route"
@@ -207,7 +207,7 @@
<span>{{ form.errors.from_place }}</span>
{% endif %}
</div>
<div>
<div class="wrap_right">
<label for="id_to_place">{{ form.fields.to_place.label }}</label>
<select
name="to_place"
@@ -309,7 +309,7 @@
<hr>
<div class="phone">
<div>
<div class="wrap_left">
<label for="id_phone">{{ form.fields.phone.label }}</label>
<input
type="phone"
@@ -329,7 +329,7 @@
{% endif %}
</div>
<div>
<div class="phone_right">
<label for="id_extra_phone">{{ form.fields.extra_phone.label }}</label>
<input

View File

@@ -1,7 +1,7 @@
{% load static %}
{% load i18n %}
<h1>{% translate "Добро пожаловать:" %} <span>{{ user.first_name }} {{ user.last_name }}</span> <span>({{ user.username }})</span></h1>
<h1>{% translate "Добро пожаловать:" %} <span class="user_first_name">{{ user.first_name }} {{ user.last_name }}</span> <span class="user_username" >({{ user.username }})</span></h1>
<div class="profile_prof"><img class="avatar_user_profile" {% if user.user_profile.avatar %}
src="{{ user.user_profile.avatar.url }}"
{% else %}src="{% static "img/svg/User.svg" %}"{% endif %} alt="">
@@ -20,6 +20,6 @@
</div>
</div>
{# <div class="advice_text">{% translate "Если хотите отправить посылку - зарегистрируйтесь, как отправитель" %}</div>#}
<div>{% translate "Если у Вас возникнут вопросы Вы можете связаться с нами:" %} <a href="mailto:support@twb.com">support@twb.com</a></div>
{# <div>{% translate "У Вас" %} <a href="#">{% translate "три " %}</a>{% translate "новых сообщения." %} <a href="#">{% translate "Посмотреть" %}</a></div>#}
<div>{% translate "Хотите получать уведомление о появлении посылок?" %} <a href="#">{% translate "Заполните форму" %}</a></div>
<div class="prof_first_line">{% translate "Если у Вас возникнут вопросы Вы можете связаться с нами:" %} <a href="mailto:support@twb.com">support@twb.com</a></div>
{# <div class="prof_second_line">{% translate "У Вас" %} <a href="#">{% translate "три " %}</a>{% translate "новых сообщения." %} <a href="#">{% translate "Посмотреть" %}</a></div>#}
<div class="prof_third_line">{% translate "Хотите получать уведомление о появлении посылок?" %} <a href="#">{% translate "Заполните форму" %}</a></div>