Merge remote-tracking branch 'origin/main'

This commit is contained in:
2023-08-29 12:42:19 +03:00
9 changed files with 26 additions and 16 deletions

View File

@@ -222,10 +222,9 @@
{% for item in form.fields.cargo_type.choices %}
<div>
<input
class="custom-checkbox"
class="custom-checkbox el_form_b_new_route"
type="checkbox"
name="cargo_type"
class="el_form_b_new_route"
id="id_cargo_type_{{ forloop.counter }}"
{% if form.fields.cargo_type.required %} required{% endif %}
value="{{ item.0 }}"

View File

@@ -0,0 +1,6 @@
{% load static %}
<script src="{% static "js/chat_socket_functions/etc_operations_for_chat_socket.js" %}"></script>
<script src="{% static "js/chat_socket_functions/inital_old_tab.js" %}"></script>
<script src="{% static "js/chat_socket_functions/update_messenger.js" %}"></script>
<script src="{% static "js/chat_socket_functions/update_tickets_operations_manager.js" %}"></script>
<script src='{% static "js/chat_sockets.js" %}'> </script>

View File

@@ -9,7 +9,8 @@
{# <script src="{% static "js/serch_town.js" %}"></script>#}
<script src="{% static "js/user_profile.js" %}"></script>
<script src="{% static "js/range_slider_double.js" %}"></script>
<script src="{% static "js/user_profile(boris).js" %}"></script>
<script src='{% static "js/user_profile(boris).js" %}'> </script>
{% include "connect_ws_js.html" %}
<script src="{% static "js/filters_functions_find_route.js" %}"></script>
{% endblock %}

View File

@@ -11,13 +11,11 @@
{# <script src='{% static "js/chat_sockets.js" %}'></script>#}
<script src="{% static "js/chat_socket_functions/etc_operations_for_chat_socket.js" %}"></script>
<script src="{% static "js/chat_socket_functions/inital_old_tab.js" %}"></script>
<script src="{% static "js/chat_socket_functions/update_messenger.js" %}"></script>
<script src="{% static "js/chat_socket_functions/update_tickets_operations_manager.js" %}"></script>
<link rel="stylesheet" href="{% static 'css/ion.rangeSlider.min.css' %}">
<script src='{% static "js/user_profile(boris).js" %}'> </script>
<script src='{% static "js/chat_sockets.js" %}'> </script>
{% include "connect_ws_js.html" %}
<script defer src='{% static "js/check_new_messages.js" %}'></script>

View File

@@ -3,13 +3,13 @@
<div class="line_inf_about_moving">
<div class="carrier_inf_moving left">
<div>Отправка:</div>
<div class="from-to-city-text">{% if route.arrival_DT %}{{ route.arrival_DT }}{% else %}Неизвестно{% endif %}</div>
<div class="from-to-city-text">{% if route.arrival_DT %}{{ route.arrival_DT|date:"l: d.m.Y." }}{% else %}Неизвестно{% endif %}</div>
</div>
<img class="arrow_inf_about_moving" src="{% static "/img/svg/arrow.svg" %}">
<div class="carrier_inf_moving right">
<div>Прибытие:</div>
<div class="from-to-city-text">{% if route.departure_DT %}{{ route.departure_DT }}{% else %}Неизвестно{% endif %}</div>
<div class="from-to-city-text">{% if route.departure_DT %}{{ route.departure_DT|date:"l: d.m.Y." }}{% else %}Неизвестно{% endif %}</div>
</div>
<div class="clear_both"></div>