0.0.319 upd create_route, header_buttons alight

This commit is contained in:
2023-12-06 15:51:55 +03:00
parent d7ace77de8
commit d14a46d3d7
5 changed files with 53 additions and 42 deletions

View File

@@ -52,7 +52,7 @@
</div>
</div>
<div class="header-second-item">
<img class="svg" src="/static/img/svg/Helpdesk_%20Icon.svg">
<img id="support_img" class="svg" src="/static/img/svg/Helpdesk_%20Icon.svg">
</div>
<div class="header-second-item">
<a id="customer_service" href="{% url 'static_page' 'customer_service' %}">{% trans "Служба поддержки" %}</a>

View File

@@ -139,10 +139,10 @@
onclick="showSearchList(this)"
onblur="onblurInputField(event, this)"
onfocus="clearID(this)"
onkeydown = "hideErrors(this)"
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 %}
@@ -158,7 +158,7 @@
</div>
{% if not errors_off and form.errors and form.errors.from_address_point %}
<span>{{ form.errors.from_address_point}}</span>
<span id="error_from_address_point">{{ form.errors.from_address_point}}</span>
{% endif %}
</div>
<div class="wrap_right">
@@ -175,7 +175,7 @@
oninput="searchTown(this)"
onclick="showSearchList(this)"
onblur="onblurInputField(event, this)"
onkeydown = "hideErrors(this)"
onfocus="clearID(this)"
autocomplete="off"
type="text"
@@ -191,7 +191,7 @@
</div>
{% if not errors_off and form.errors and form.errors.to_address_point %}
<span>{{ form.errors.to_address_point }}</span>
<span id="error_to_address_point">{{ form.errors.to_address_point }}</span>
{% endif %}
</div>
<div class="clear_both"></div>
@@ -264,6 +264,7 @@
class="custom-checkbox cargo_check"
type="radio"
name="cargo_type"
id="id_cargo_type_{{ forloop.counter }}"
{% if form.fields.cargo_type.required %} required{% endif %}
value="{{ item.0 }}"
@@ -273,7 +274,8 @@
/>
<label
onmousedown="hideErrors(this)"
id="id_cargo_lable"
for="id_cargo_type_{{ forloop.counter }}" >
<span>{{ item.1 }}</span>
</label>
@@ -282,7 +284,7 @@
{% if not errors_off and form.errors and form.errors.cargo_type %}
<span>{{ form.errors.cargo_type }}</span>
<span id="error_cargo_type">{{ form.errors.cargo_type }}</span>
{% endif %}
</div>
@@ -332,6 +334,7 @@
<input
type="phone"
name="phone"
onkeydown="hideErrors(this)"
autocomplete="off"
maxlength="13"
minlength="11"
@@ -343,7 +346,7 @@
/>
{% if not errors_off and form.errors and form.errors.phone %}
<span>{{ form.errors.phone }}</span>
<span id="error_id_phone">{{ form.errors.phone }}</span>
{% endif %}
</div>