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.
 
 
 
 
 
 

132 lines
5.5 KiB

{% load static %}
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% comment %}
This template include basic anf main styles and js files,
block with header and footer, which same in all pages,
register, login, search popups
blocks for add or change: title(title), styles(style), header(header), footer(footer) banners(header_banner),
scripts(script), popups(popup) and blocks: main_part, top, search, catalog, announces, partners, services
head with title block, style block
{% endcomment %}
<!DOCTYPE html>
<!--[if lt IE 8]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{% block title %}{% trans 'Expomap — выставки, конференции, семинары' %}{% endblock %}</title>
<meta name="keywords" content="{% block keywords %}{% endblock %}">
<meta name="description" content="{% block descriptions %}{% endblock %}">
<link rel="icon" href="{% static 'client/img/favicon.ico' %}" type="image/x-icon" />
<link rel="shortcut icon" href="{% static 'client/img/favicon.ico' %}" type="image/x-icon" />
<link rel="stylesheet" href="{% static 'client/css/normalize.min.css' %}">
<link rel="stylesheet" href="{% static 'client/css/idangerous.swiper.css' %}">
<link rel="stylesheet" href="{% static 'client/css/jquery.mCustomScrollbar.css' %}">
<link rel="stylesheet" href="{% static 'client/css/jquery-ui-1.10.3.custom.css' %}">
<link rel="stylesheet" href="{% static 'client/css/jquery.fancybox.css' %}">
<link rel="stylesheet" href="{% static 'client/css/phototag.css?nocache13' %}">
<link rel="stylesheet" href="{% static 'client/css/regions.css' %}">
<link rel="stylesheet" href="{% static 'client/css/main.css' %}">
<script src="{% static 'client/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js' %}"></script>
<!--if IE 8><script src="js/selectivizr-min.js"></script><![endif]-->
<!-- extra styles -->
{% block style %}
{% endblock %}
</head>
<body {% block body_class %}{% endblock %}>
<!--[if lt IE 8]>
<p class="chromeframe">Вы используете <strong>устаревший</strong> браузер. Пожалуйста, <a href="http://browsehappy.com/">обновите его</a> или <a href="http://www.google.com/chromeframe/?redirect=true">активируйте Google Chrome Frame</a>, чтобы расширить возможности вашего браузера.</p>
<![endif]-->
<!-- Английский вариант текста для p.chromeframe
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
-->
<div class="page-wrap">
{% block header %}
{% include 'header.html' %}
{% endblock %}
{% block main_part %}
{% endblock %}
{% block top %}
{% endblock %}
{% block search %}
{% endblock %}
{% block catalog %}
{% endblock %}
{% block announces %}
{% endblock %}
{% block partners %}
{% endblock %}
{% block services %}
{% endblock %}
{% block footer %}
{% include 'footer.html' %}
{% endblock %}
</div>
<div class="popups-wrap">
{% if not user.is_authenticated %}
{% include 'client/popups/login.html' %}
{% include 'client/popups/register.html' %}
{% endif %}
{% include 'client/popups/theme.html' %}
{% include 'client/popups/place.html' %}
{% include 'client/popups/callback.html' %}
{% if search_form.fr %}
{% with search_form=search_form search_action=search_action type=type%}
{% include 'client/popups/period.html' %}
{% endwith %}
{% endif %}
{% block popup %}
{% endblock %}
</div>
{% block photogallery %}
{% endblock %}
<!-- scripts -->
<script src="{% static 'client/js/vendor/jquery-1.10.1.min.js' %}"></script><!-- удалить эту строку и раскоментировать следующие две! -->
<!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.1.min.js"><\/script>')</script>-->
<script src="{% static 'client/js/plugins.js' %}"></script>
<script src="{% static 'client/js/jquery-ui-1.10.4.custom.min.js' %}"></script>
<script src="{% static 'client/js/jquery.ui.datepicker-ru.js' %}"></script>
<script src="{% static 'client/js/jquery.mousewheel.min.js' %}"></script>
<script src="{% static 'client/js/idangerous.swiper-2.4.min.js' %}"></script>
<script src="{% static 'client/js/jquery.mCustomScrollbar.min.js' %}"></script>
<script src="{% static 'client/js/jquery.fancybox.pack.js' %}"></script>
<script src="{% static 'client/js/jquery.placeholder.js' %}"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script src="{% static 'client/js/jquery.phototag.js?nocache13 ' %}"></script>
<script src="{% static 'client/js/regions.js' %}"></script>
<script src="{% static 'client/js/main.js' %}"></script>
<!-- Dimon scripts -->
<script src="{% static 'client/js/scripts.js' %}"></script>
<!-- extra scripts -->
{% block scripts %}
{% endblock %}
</body>