0.8.379
This commit is contained in:
@@ -77,7 +77,6 @@
|
||||
{# boris change input #}
|
||||
<input class="el_form_b_new_route" type="text" id="id_departure_DT" name="departure_DT" placeholder="" {% if form.initial.departure_DT %} value="{{ form.initial.departure_DT|date:"y.m.d H:m" }}"{% endif %}/>
|
||||
<div id="displayRegervation"></div>
|
||||
{# end #}
|
||||
|
||||
{% if not errors_off and form.errors and form.errors.departure_DT %}
|
||||
<span>{{ form.errors.departure_DT }}</span>
|
||||
@@ -111,68 +110,119 @@
|
||||
<div class="from_to_country">
|
||||
<div class="from_country_container">
|
||||
<label for="id_from_address_point_txt">{{ form.fields.from_address_point.label }}</label>
|
||||
<input
|
||||
type="number"
|
||||
name="from_address_point"
|
||||
id="id_from_address_point"
|
||||
class="el_form_b_new_route"
|
||||
hidden
|
||||
{% if form.initial.from_address_point %}value="{{ form.initial.from_address_point }}"{% endif %}
|
||||
/>
|
||||
<input
|
||||
{# <input#}
|
||||
{# type="number"#}
|
||||
{# name="from_address_point"#}
|
||||
{# id="id_from_address_point"#}
|
||||
{# class="el_form_b_new_route"#}
|
||||
{# hidden#}
|
||||
{# {% if form.initial.from_address_point %}value="{{ form.initial.from_address_point }}"{% endif %}#}
|
||||
{# />#}
|
||||
{# <input#}
|
||||
{# oninput="searchTown(this)"#}
|
||||
{# onclick="showSearchList(this)"#}
|
||||
{# onblur="onblurInputField(event, this)"#}
|
||||
{# onFocus="this.select()"#}
|
||||
{# autocomplete="off"#}
|
||||
{# type="text"#}
|
||||
{# minlength="3"#}
|
||||
{##}
|
||||
{# name="from_address_point_txt"#}
|
||||
{# class="from_address_point_txt post_route el_form_b_new_route"#}
|
||||
{# {% if form.fields.from_address_point.required %} required{% endif %}#}
|
||||
{# id="id_from_address_point_txt"#}
|
||||
{# {% if form.initial.from_address_point_txt %}value="{{ form.initial.from_address_point_txt }}"{% endif %}#}
|
||||
{# />#}
|
||||
{# <datalist id="from_address_point">#}
|
||||
{##}
|
||||
{# </datalist>#}
|
||||
{##}
|
||||
{# <div class="input_list post_route" name="from_address_point_txt_list">#}
|
||||
{##}
|
||||
{# </div>#}
|
||||
{# boris changed input#}
|
||||
<div class="container_inp_w_abr">
|
||||
<input
|
||||
type="number"
|
||||
name="from_address_point"
|
||||
id="id_from_address_point"
|
||||
class="el_form_find_route"
|
||||
hidden
|
||||
class="disp-none"
|
||||
{% if route_form.initial.from_address_point %}value="{{ route_form.initial.from_address_point}}"{% endif %}/>
|
||||
<input
|
||||
oninput="searchTown(this)"
|
||||
onclick="showSearchList(this)"
|
||||
onblur="onblurInputField(event, this)"
|
||||
|
||||
onFocus="this.select()"
|
||||
autocomplete="off"
|
||||
type="text"
|
||||
minlength="3"
|
||||
|
||||
name="from_address_point_txt"
|
||||
class="from_address_point_txt post_route el_form_b_new_route"
|
||||
{% if form.fields.from_address_point.required %} required{% endif %}
|
||||
{# {% if form.fields.to_address_point.required %} required{% endif %}#}
|
||||
id="id_from_address_point_txt"
|
||||
{% if form.initial.from_address_point_txt %}value="{{ form.initial.from_address_point_txt }}"{% endif %}
|
||||
/>
|
||||
<datalist id="from_address_point">
|
||||
|
||||
</datalist>
|
||||
|
||||
<div class="input_list post_route" name="from_address_point_txt_list">
|
||||
|
||||
class="from_address_point_txt post_route first"
|
||||
{% if route_form.initial.from_address_point %}value="{{ route_form.initial.from_address_point }}"{% endif %}/>
|
||||
<div class="abbreviation_airport_in_search post_route" onclick="focusOnInput(this)"></div>
|
||||
<div class="input_list post_route" name="from_address_point_txt_list"></div>
|
||||
</div>
|
||||
{% if not errors_off and form.errors and form.errors.from_address_point %}
|
||||
<span>{{ form.errors.from_address_point}}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>
|
||||
<label for="id_to_address_point_txt">{{ form.fields.to_address_point.label }}</label>
|
||||
<input
|
||||
type="number"
|
||||
name="to_address_point"
|
||||
id="id_to_address_point"
|
||||
class="el_form_b_new_route"
|
||||
hidden
|
||||
{% if form.initial.to_address_point %}value="{{ form.initial.to_address_point}}"{% endif %}
|
||||
/>
|
||||
<input
|
||||
oninput="searchTown(this)"
|
||||
onclick="showSearchList(this)"
|
||||
onblur="onblurInputField(event, this)"
|
||||
<label for="id_from_address_point_txt">{{ form.fields.to_address_point.label }}</label>
|
||||
{# <input#}
|
||||
{# type="number"#}
|
||||
{# name="to_address_point"#}
|
||||
{# id="id_to_address_point"#}
|
||||
{# class="el_form_b_new_route"#}
|
||||
{# hidden#}
|
||||
{# {% if form.initial.to_address_point %}value="{{ form.initial.to_address_point}}"{% endif %}#}
|
||||
{# />#}
|
||||
{# <input#}
|
||||
{# oninput="searchTown(this)"#}
|
||||
{# onclick="showSearchList(this)"#}
|
||||
{# onblur="onblurInputField(event, this)"#}
|
||||
{##}
|
||||
{# onFocus="this.select()"#}
|
||||
{# autocomplete="off"#}
|
||||
{# type="text"#}
|
||||
{# name="to_address_point_txt"#}
|
||||
{# {% if form.fields.to_address_point.required %} required{% endif %}#}
|
||||
{# id="id_to_address_point_txt"#}
|
||||
{# class="to_address_point_txt post_route el_form_b_new_route"#}
|
||||
{# {% if form.initial.to_address_point_txt %}value="{{ form.initial.to_address_point_txt}}"{% endif %}#}
|
||||
{##}
|
||||
{# />#}
|
||||
{# <div class="input_list post_route" name="to_address_point_txt_list">#}
|
||||
{##}
|
||||
{# </div>#}
|
||||
<div class="container_inp_w_abr">
|
||||
<input
|
||||
type="number"
|
||||
name="to_address_point"
|
||||
id="id_to_address_point"
|
||||
class="el_form_find_route"
|
||||
hidden
|
||||
class="disp-none"
|
||||
{% if route_form.initial.to_address_point %}value="{{ route_form.initial.to_address_point}}"{% endif %}/>
|
||||
<input
|
||||
oninput="searchTown(this)"
|
||||
onclick="showSearchList(this)"
|
||||
onblur="onblurInputField(event, this)"
|
||||
|
||||
onFocus="this.select()"
|
||||
autocomplete="off"
|
||||
type="text"
|
||||
name="to_address_point_txt"
|
||||
{% if form.fields.to_address_point.required %} required{% endif %}
|
||||
id="id_to_address_point_txt"
|
||||
class="to_address_point_txt post_route el_form_b_new_route"
|
||||
{% if form.initial.to_address_point_txt %}value="{{ form.initial.to_address_point_txt}}"{% endif %}
|
||||
|
||||
/>
|
||||
<div class="input_list post_route" name="to_address_point_txt_list">
|
||||
|
||||
</div>
|
||||
onFocus="this.select()"
|
||||
autocomplete="off"
|
||||
type="text"
|
||||
name="to_address_point_txt"
|
||||
{# {% if form.fields.to_address_point.required %} required{% endif %}#}
|
||||
id="id_to_address_point_txt"
|
||||
class="to_address_point_txt post_route"
|
||||
{% if route_form.initial.to_address_point_txt %}value="{{ route_form.initial.to_address_point_txt}}"{% endif %}/>
|
||||
<div class="abbreviation_airport_in_search" onclick="focusOnInput(this)"></div>
|
||||
<div class="input_list post_route" name="to_address_point_txt_list"></div>
|
||||
</div>
|
||||
{% if not errors_off and form.errors and form.errors.to_address_point %}
|
||||
<span>{{ form.errors.to_address_point }}</span>
|
||||
{% endif %}
|
||||
@@ -226,7 +276,7 @@
|
||||
<span>{{ form.errors.to_place }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="clear_both"></div>
|
||||
<div class="clear_both"></div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
@@ -357,7 +407,7 @@
|
||||
<div>
|
||||
|
||||
<input type="checkbox" name="receive_msg_by_email" class="custom-checkbox" id="id_receive_msg_by_email">
|
||||
<label for="id_receive_msg_by_email">
|
||||
<label for="id_receive_msg_by_email">s
|
||||
<div class="receive_msg_by_email">{{ form.fields.receive_msg_by_email.label }}</div>
|
||||
|
||||
<img id="img_msg_by_email"
|
||||
|
||||
@@ -71,9 +71,7 @@
|
||||
class="to_address_point_txt find_route"
|
||||
{% if route_form.initial.to_address_point_txt %}value="{{ route_form.initial.to_address_point_txt}}"{% endif %}/>
|
||||
<div class="abbreviation_airport_in_search" onclick="focusOnInput(this)"></div>
|
||||
<div class="input_list find_route" name="to_address_point_txt_list">
|
||||
|
||||
</div>
|
||||
<div class="input_list find_route" name="to_address_point_txt_list"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cont-el-form-search-carrier">
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<script src="{% static "js/range_calendar.js" %}"></script>
|
||||
|
||||
{% block meta %}
|
||||
{% endblock %}
|
||||
{% endblock %}s
|
||||
</head>
|
||||
<body {% if page_type == 'routes' %}onscroll="scroll_ev(event,this)" {% endif %}>
|
||||
<div class="block_overlay {% if page_type == 'profile' %}show{% elif page_type == 'routes' %} routes n_profile{% else %}hidden n_profile{% endif %}" onclick="open_curtain()"></div>
|
||||
@@ -58,8 +58,8 @@
|
||||
|
||||
{% include 'blocks/b_header.html' %}
|
||||
|
||||
<div class="cut_width_f_curtain">
|
||||
<div class="menu_buttons curtain right {% if page_type == 'profile' %}open{% else %} close{% endif %}" data-name="Меню">
|
||||
<div class="cut_width_f_curtain close{% if page_type == 'profile' %}{% else %} n_profile{% endif %}" onclick="open_curtain()">
|
||||
<div class="menu_buttons curtain right {% if page_type == 'profile' %}open{% else %} n_profile close{% endif %}" data-name="Меню">
|
||||
|
||||
{% include "blocks/profile/b_buttons_menu_profile.html" %}
|
||||
<div class="handler_menu close" onclick="open_curtain(null,'right')">
|
||||
|
||||
Reference in New Issue
Block a user