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

@@ -18,16 +18,16 @@
</div>
</div>
<div class="second-column">
<div>{% trans "Информация" %}</div>
<div>
<div>
<div><a href="{% url 'profile_page' 'create_route_for_mover' %}">{% trans "Перевезти посылку" %}</a></div>
<div><a href="{% url 'profile_page' 'create_route_for_customer' %}">{% trans "Отправить посылку" %}</a></div>
<div><a href="{% url 'static_page' 'for_customers' %}">{% trans "Для отправителя" %}</a></div>
<div><a href="{% url 'static_page' 'for_movers' %}">{% trans "Для перевозчика" %}</a></div>
</div>
<div class="footer_text_inform">{% trans "Информация" %}</div>
<div>
<div class="footer_static_links">
<div><a href="{% url 'profile_page' 'create_route_for_mover' %}">{% trans "Перевезти посылку" %}</a></div>
<div><a href="{% url 'profile_page' 'create_route_for_customer' %}">{% trans "Отправить посылку" %}</a></div>
<div><a href="{% url 'static_page' 'for_customers' %}">{% trans "Для отправителя" %}</a></div>
<div><a href="{% url 'static_page' 'for_movers' %}">{% trans "Для перевозчика" %}</a></div>
</div>
</div>
</div>
</div>
</div>
<div class="right-column">
@@ -41,8 +41,8 @@
</div>
<div class="four-column">
<div>{% trans "Свяжитесь с нами:" %}</div>
<div>
<div class="footer_text_inform">{% trans "Свяжитесь с нами:" %}</div>
<div class="footer_text_contact">
<div>
<a href="tel:+77777777777">+ 7 (777) 777-77-77</a>
</div>
@@ -57,7 +57,7 @@
{% if not user.is_authenticated %}
<div class="fifth-column">
<a href="{% url "registration_page" %}">{% trans "Регистрация" %}</a>
<a class="fifth-column-first" href="{% url "registration_page" %}">{% trans "Регистрация" %}</a>
<a href="{% url "login_profile" %}">{% trans "Войти" %}</a>
</div>
{% endif %}

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>

View File

@@ -184,10 +184,10 @@
<button id="more_button">{% translate "Получить" %}</button>
</div>
<img src="/static/img/png/Box5.png" alt="">
<img src="/static/img/png/Box4.png" alt="">
<img src="/static/img/png/Box4.png" alt="">
<img src="/static/img/png/Box6.png" alt="">
<img id="box1" src="/static/img/png/Box5.png" alt="">
<img id="box2" src="/static/img/png/Box4.png" alt="">
<img id="box3" src="/static/img/png/Box4.png" alt="">
<img id="box4" src="/static/img/png/Box6.png" alt="">
</div>