0.0.147
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
{% load static %}
|
||||
|
||||
{% block meta %}
|
||||
<script src='{% static "js/find_route.js" %}'> </script>
|
||||
<script src='{% static "js/find_route.js" %}'></script>
|
||||
<script src="{% static "js/serch_town.js" %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
@@ -11,19 +12,26 @@
|
||||
<h1 class="title_page">Поиск перевозчика</h1>
|
||||
</div>
|
||||
<div class="container_form_search_carrier">
|
||||
<form>
|
||||
<form name="find_route">
|
||||
{% csrf_token %}
|
||||
<div class="cont-el-form-search-carrier first abbreviation">
|
||||
<label>Откуда</label>
|
||||
<div class="container_inp_w_abr">
|
||||
<input class="inp_form_find_route_w_abbreviation" type="text">
|
||||
<input onfocus="focus_el_ins(this)" onclick="show_list_w_places(this)" oninput="searchTown(this)" class="inp_form_find_route_w_abbreviation first" id="inp_form_find_route_w_abbreviation_1" type="text">
|
||||
<div class="abbreviation_airport_in_search"><text>MSQ</text></div>
|
||||
<div class="insert-airports-place" id="insert-airports-place_1">
|
||||
{% include "widgets/w_places_input.html" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cont-el-form-search-carrier">
|
||||
<label>Куда</label>
|
||||
<div class="container_inp_w_abr">
|
||||
<input class="inp_form_find_route_w_abbreviation" type="text">
|
||||
<input onfocus="focus_el_ins(this)" onclick="show_list_w_places(this)" oninput="searchTown(this)" class="inp_form_find_route_w_abbreviation" id="inp_form_find_route_w_abbreviation_2" type="text">
|
||||
<div class="abbreviation_airport_in_search"><text>WAW</text></div>
|
||||
<div class="insert-airports-place" id="insert-airports-place_2">
|
||||
{% include "widgets/w_ac_input_address_point.html" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cont-el-form-search-carrier">
|
||||
@@ -48,6 +56,7 @@
|
||||
<div class="block-filters-find-route">
|
||||
<div class="title_filters_find_route">Все фильтры</div>
|
||||
<div class="methods_transportation_form_filters">
|
||||
<div class="title_el_methods_transportation">Способ перевозки</div>
|
||||
{# <div>#}
|
||||
{# <div class="method_transport">#}
|
||||
{# <input class="method_transport_inp_hide" type="checkbox">#}
|
||||
@@ -63,13 +72,44 @@
|
||||
class="custom-checkbox"
|
||||
type="checkbox"
|
||||
name="cargo_type"
|
||||
id="id_cargo_type"
|
||||
id="id_cargo_type_car"
|
||||
/>
|
||||
|
||||
<label for="id_cargo_type" >
|
||||
<span>Автоперевозка</span>
|
||||
<label for="id_cargo_type_car" >
|
||||
<img style="display: inline-block;padding-top: 11px;" src="{% static "img/svg/Car.svg" %}">
|
||||
<span style="display: inline-block;width: 80%;">Автоперевозка</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<input
|
||||
class="custom-checkbox"
|
||||
type="checkbox"
|
||||
name="cargo_type"
|
||||
id="id_cargo_type_plane"
|
||||
/>
|
||||
|
||||
<label for="id_cargo_type_plane" >
|
||||
<img style="display: inline-block;padding-top: 11px;" src="{% static "img/svg/Airplane.svg" %}">
|
||||
<span style="display: inline-block;width: 80%;">Авиатранспорт</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="methods_transportation_form_filters">
|
||||
<div class="title_el_methods_transportation">Откуда забрать посылку</div>
|
||||
<select class="select_form_filters_find_route">
|
||||
<option>Заберу по городу</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="methods_transportation_form_filters">
|
||||
<div class="title_el_methods_transportation">Куда доставить посылку</div>
|
||||
<select class="select_form_filters_find_route">
|
||||
<option>По договоренности</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="methods_transportation_form_filters">
|
||||
<div class="slider_methods_transportation"></div>
|
||||
<input type="number" class="slider_input_form_method_transportation_1" oninput="insert_data_in_slider(this)">
|
||||
<input type="number" class="slider_input_form_method_transportation_2" oninput="insert_data_in_slider(this)">
|
||||
</div>
|
||||
</div>
|
||||
<div class="block-finded-routes">
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
<script src='{% static "js/jquery_v3_6_4.js" %}'> </script>
|
||||
<script>
|
||||
|
||||
var user_id = {{ user.id }}
|
||||
{#var user_id = {{ user.id }}#}
|
||||
ws_url = `ws://localhost:{{ ws_port }}/ws/socket-server/?user_id={{ user.id }}`;
|
||||
|
||||
</script>
|
||||
|
||||
<script src='{% static "js/chat_sockets.js" %}'></script>
|
||||
|
||||
5
templates/widgets/w_places_input.html
Normal file
5
templates/widgets/w_places_input.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{% load static %}
|
||||
<div onmousedown='selectItemAddrPoint({{ id }}, "{{ fullname }}", "{{ ctrl_name }}")' class="autocomplete-result" data-index="{{ index }}">
|
||||
{% if airport_fullname %}<div>{{ airport_fullname|safe }}</div>{% endif %}
|
||||
<div class="autocomplete-location">{{ country_name }} / {{ city_name }}</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user