0.8.357
This commit is contained in:
@@ -16,19 +16,27 @@
|
||||
{# </div>#}
|
||||
{% for item in route_form.fields.type_transport.choices %}
|
||||
{% if forloop.counter0 > 0 %}
|
||||
<div>
|
||||
<input
|
||||
class="custom-checkbox el_form_find_route"
|
||||
type="checkbox"
|
||||
name="type_transport"
|
||||
id="id_cargo_type_car_{{ forloop.counter }}"
|
||||
onchange="filters_func_find_route_main(this,'{{ owner_type }}')"
|
||||
value="{{ item.0 }}"
|
||||
/>
|
||||
|
||||
<label for="id_cargo_type_car_{{ forloop.counter }}" >
|
||||
<img style="display: inline-block;padding-top: 11px;" src="{% static "img/svg/Car.svg" %}">
|
||||
<span style="display: inline-block;width: 80%;">{{ item.1 }}</span>
|
||||
{# <div>#}
|
||||
{# <input#}
|
||||
{# class="custom-checkbox el_form_find_route"#}
|
||||
{# type="checkbox"#}
|
||||
{# name="type_transport"#}
|
||||
{# id="id_cargo_type_car_{{ forloop.counter }}"#}
|
||||
{# onchange="filters_func_find_route_main(this,'{{ owner_type }}')"#}
|
||||
{# value="{{ item.0 }}"#}
|
||||
{# />#}
|
||||
{##}
|
||||
{# <label for="id_cargo_type_car_{{ forloop.counter }}" >#}
|
||||
{# <img style="display: inline-block;padding-top: 11px;" src="{% static "img/svg/Car.svg" %}">#}
|
||||
{# <span style="display: inline-block;width: 80%;">{{ item.1 }}</span>#}
|
||||
{# </label>#}
|
||||
{# </div>#}
|
||||
<div class="checkbox_type_transport">
|
||||
<input class="input_f_checkbox_type_transport el_form_find_route" type="checkbox" value="{{ item.0 }}" name="type_transport" id="id_cargo_type_car_{{ forloop.counter }}" onchange="filters_func_find_route_main(this,'{{ owner_type }}')">
|
||||
<label for="id_cargo_type_car_{{ forloop.counter }}" class="label_f_checkbox_type_transport">
|
||||
<div class="trigger_f_type_transport"></div>
|
||||
<img class="img_f_checkbox_type_transport" src="{% static "img/svg/Car.svg" %}">
|
||||
<span class="span_f_checkbox_type_transport">{{ item.1 }}</span>
|
||||
</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@@ -42,7 +42,8 @@
|
||||
<script src="{% static "js/dynamic_loading_routes.js" %}"></script>
|
||||
<script src="{% static "js/user_profile.js" %}"></script>
|
||||
<script src="{% static "js/user_profile_2.js" %}"></script>
|
||||
|
||||
<script src="{% static "js/ion.rangeSlider.min.js" %}"></script>
|
||||
<link rel="stylesheet" href="{% static "css/ion.rangeSlider.min.css" %}">
|
||||
|
||||
|
||||
{# <script src="{% static "js/range_calendar.js" %}"></script>#}
|
||||
@@ -53,7 +54,7 @@
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="block_overlay {% if page_type == 'profile' %}show{% else %}hidden n_profile{% endif %}" onclick="open_curtain()"></div>
|
||||
<div class="block_overlay {% if page_type == 'profile' %}show{% elif page_type == 'routes' %} show routes n_profile{% else %}hidden n_profile{% endif %}" onclick="open_curtain()"></div>
|
||||
<div class="wrapper_main">
|
||||
|
||||
{% include 'blocks/b_header.html' %}
|
||||
@@ -70,14 +71,14 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if not page_type == 'profile' %}
|
||||
{% if page_type == 'routes' %}
|
||||
<div class="cut_width_f_curtain left">
|
||||
<div class="menu_buttons curtain left open filters" data-name="Меню">
|
||||
<div class="menu_buttons curtain left open filters" data-name="Фильтры">
|
||||
|
||||
{% include "forms/f_find_route_filters_form.html" %}
|
||||
<div class="handler_menu close" onclick="open_curtain('left')">
|
||||
<img class="btns_f_curtain close left" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
||||
<div class="text_f_curtain left">Меню</div>
|
||||
<div class="text_f_curtain left">Фильтры</div>
|
||||
<img class="btns_f_curtain close right" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
||||
<div class="clear_both"></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user