You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
144 lines
6.0 KiB
144 lines
6.0 KiB
{% extends 'blank.html' %}
|
|
|
|
{% load static %}
|
|
{% load i18n %}
|
|
{% load template_filters %}
|
|
|
|
|
|
{% block main_part %}
|
|
<section class="layout main-part">
|
|
<div class="layout-wrap">
|
|
<aside>
|
|
<div class="sbg"></div>
|
|
{% include 'menu.html' %}
|
|
<hr/>
|
|
|
|
{% include 'client/includes/feedback.html' %}
|
|
<hr />
|
|
|
|
{% include 'client/includes/online_consult.html' %}
|
|
|
|
{% block aside_banner1 %}
|
|
<div class="sbnr">
|
|
<div class="sbnr-wrap">
|
|
<a href="#"><img src="{% static 'client/img/_del-temp/bnrs-2.jpg' %}" alt="" /></a>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% include 'client/includes/services.html' %}
|
|
<hr />
|
|
|
|
{% include 'client/includes/announces.html' %}
|
|
|
|
{% block asside_banner2 %}
|
|
<div class="sbnr">
|
|
<div class="sbnr-wrap">
|
|
<a href="#"><img src="{% static 'client/img/_del-temp/bnrs.jpg' %}" alt="" /></a>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% include 'client/includes/side_confs.html' %}
|
|
<hr />
|
|
{% include 'client/includes/news.html' %}
|
|
|
|
{% block aside_vk %}
|
|
<div class="vk-widget">
|
|
{% include 'client/includes/social_widjet.html' %}
|
|
</div>
|
|
{% endblock %}
|
|
</aside>
|
|
|
|
<div class="mcl">
|
|
{% with search_form=search_form %}
|
|
{% include 'client/includes/catalog_search.html' %}
|
|
{% endwith %}
|
|
|
|
{% block bread_scrumbs %}
|
|
{% with filter=filter %}
|
|
{% include 'includes/bread_scrumbs.html' %}
|
|
{% endwith %}
|
|
{% endblock %}
|
|
|
|
<div class="page-title">
|
|
{% block page_title %}
|
|
{% if not single_page %}
|
|
<div class="page-title">
|
|
<h1>{{ filter.0.name }}: <strong>{{ filter.1.name }}</strong></h1>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
</div>
|
|
|
|
{% block page_filter %}
|
|
{% endblock %}
|
|
|
|
{% block page_body %}
|
|
<div class="page-body clearfix">
|
|
{% block content_list %}
|
|
{% endblock %}
|
|
|
|
{% block paginator %}
|
|
|
|
{% if page_obj.paginator.num_pages > 1 %}
|
|
<div class="pagination clearfix">
|
|
<div class="pg-info"> Показано {{ page_obj.start_index }} - {{ page_obj.end_index }} <i>(всего {{ page_obj.paginator.count }} позиций)</i></div>
|
|
<div class="pg-body">
|
|
{% if page_obj.has_previous %}
|
|
<a class="pg-prev" href="/{{ filter|generate_url }}/{{ page_obj.previous_page_number }}">Предыдущая</a>
|
|
{% else %}
|
|
<a class="pg-prev disabled" href="#">Предыдущая</a>
|
|
{% endif %}
|
|
|
|
<ul>
|
|
{% if page_obj.number > 2 %}
|
|
<li><a href="/{{ filter|generate_url }}/{{ 1 }} ">{{ 1 }}</a></li>
|
|
{% if page_obj.number > 3 %}
|
|
<li>...</li>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if page_obj.has_previous %}
|
|
<li><a href="/{{ filter|generate_url }}/{{ page_obj.previous_page_number }} ">{{ page_obj.previous_page_number }}</a></li>
|
|
{% endif %}
|
|
|
|
<li><b>{{ page_obj.number }}</b></li>
|
|
|
|
{% if page_obj.has_next %}
|
|
<li><a href="/{{ filter|generate_url }}/{{ page_obj.next_page_number }} ">{{ page_obj.next_page_number }}</a></li>
|
|
{% endif %}
|
|
{% if page_obj.paginator.num_pages|subtract:page_obj.number > 1 %}
|
|
{% if page_obj.paginator.num_pages|subtract:page_obj.number > 2 %}
|
|
<li>...</li>
|
|
{% endif %}
|
|
<li><a href="/{{ filter|generate_url }}/{{ page_obj.paginator.num_pages }} ">{{ page_obj.paginator.num_pages }}</a></li>
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
{% if page_obj.has_next %}
|
|
<a class="pg-next" href="/{{ filter|generate_url }}/{{ page_obj.next_page_number }}">Следующая</a>
|
|
{% else %}
|
|
<a class="pg-next disabled" href="#">Следующая</a>
|
|
{% endif %}
|
|
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content_footer_banner %}
|
|
{% endblock %}
|
|
</div>
|
|
|
|
{% block content_text %}
|
|
|
|
{% with filter=filter %}
|
|
{% include 'includes/event_list_description.html' %}
|
|
{% endwith %}
|
|
|
|
{% endblock %}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{% endblock %}
|
|
|