fix admin base models
This commit is contained in:
SDE
2023-09-26 11:26:10 +03:00
parent dd7795d845
commit 7a8f3bdbb5
7 changed files with 174 additions and 65 deletions

View File

@@ -37,21 +37,30 @@
</div>
{% if user.is_authenticated %}
{# boris changed #}
<div class="cont_header_btn_profile">
<div class="button_profile_header" onclick="show_header_list()" data-user-id="{{ user.id }}">
<a class="button_profile_header" data-user-id="{{ user.id }}"
href="{% url "user_profile" %}">
<span>
{{ user.first_name }} {{ user.last_name }}
</span>
<div class="icon_unread_messages" style="padding-top: 2px;padding-right: 13px;">
<div class="cost-messages-in-user-tab-messenger" style="background: #FFFFFF;">
<span class="unredmessages_value_text" style="padding-top: 2px;padding-left: 0; color: #000000;"></span>
</div>
<span>
{{ user.first_name }} {{ user.last_name }}
</span>
<div class="icon_unread_messages" style="padding-top: 2px;padding-right: 13px;">
<div class="cost-messages-in-user-tab-messenger" style="background: #FFFFFF;">
<span class="unredmessages_value_text" style="padding-top: 2px;padding-left: 0; color: #000000;"></span>
</div>
</div>
</div>
</a>
<div class="menu_profile_btn">
<div class="subscribe_type_txt"><span>Подписка:</span> <span>Стандарт</span></div>
<a class="btn_menu_profile" href="{% url "user_profile" %}" >Перейти в профиль</a>
<a class="btn_menu_profile" href="{% url 'profile_page' 'create_route_for_mover' %}">Перевезти посылку</a>
<a class="btn_menu_profile" href="{% url 'profile_page' 'create_route_for_customer' %}">Отправить посылку</a>
<a class="btn_menu_profile" href="{% url 'profile_page' 'my_routes' %}" >Мои объявления</a>
<div class="separator_menu_profile"></div>
<button class="btn_menu_profile">Выйти из профиля</button>
</div>
</div>
{# end #}
{% endif %}
{% if not user.is_authenticated %}

View File

@@ -70,7 +70,7 @@
<div class="methods_transportation_form_filters">
<label for="weight">Вес посылки (кг)</label>
<div class="range-slider">
<input oninput="filters_func_find_route_main(this,'{{ owner_type }}')" type="text" class="range_slider_form_filters el_form_find_route" name="weight" value="{{ route_form.fields.weight.initial }}" />
<input oninput="filters_func_find_route_main(this,'{{ owner_type }}',null,'weight')" type="text" class="range_slider_form_filters el_form_find_route" name="weight" value="{{ route_form.fields.weight.initial }}" />
</div>
<div class="inputs_for_slider_cont">
<input type="text" class="input_f_slider_start" value="100" />