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.
235 lines
8.6 KiB
235 lines
8.6 KiB
{% load static %}
|
|
{% load i18n %}
|
|
{% load template_filters %}
|
|
{% load tempalte_tags %}
|
|
{% 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]-->
|
|
<!--if IE 8><script src="js/selectivizr-min.js"></script><![endif]-->
|
|
<head>
|
|
{% include 'client/includes/meta.html' %}
|
|
<meta name="cmsmagazine" content="ca270688603566278c9006a1511705b1" />
|
|
<meta name="ktoprodvinul" content="7bf9e596b7b6707a" />
|
|
<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" />
|
|
|
|
{% block og %}{% endblock %}
|
|
|
|
{% if request.GET.debug == '1' %}
|
|
<link rel="stylesheet" href="{% static 'client/css/vendor.css' %}">
|
|
{% else %}
|
|
<link rel="stylesheet" href="{% static 'client/css_min/vendor.min.css' %}">
|
|
{% endif %}
|
|
|
|
|
|
{% if request.GET.debug == '1' %}
|
|
<link rel="stylesheet" href="{% static 'client/css/main.css' %}">
|
|
{% else %}
|
|
<link rel="stylesheet" href="{% static 'client/css_min/main.min.css' %}">
|
|
{% endif %}
|
|
<link rel="stylesheet" href="{% static 'client/lib/font-awesome-4.3.0/css/font-awesome.min.css' %}">
|
|
{% block styles %}
|
|
{% endblock %}
|
|
<script src="{% static 'client/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js' %}"></script>
|
|
<script src="{% static 'client/js/vendor/jquery-1.10.1.min.js' %}"></script>
|
|
<script src="{% static 'client/js/jquery-ui-1.10.4.custom.min.js' %}" type="text/javascript"></script>
|
|
|
|
{% block head_scripts %}
|
|
|
|
{% endblock %}
|
|
|
|
<!--test expo_b -->
|
|
<script>
|
|
window.sendData = {
|
|
"theme": [{{ themes|join_lookup }}],
|
|
"country": [{{ country|join_lookup }}],
|
|
"city": [{{ city|join_lookup }}],
|
|
"tag": [{{ tag|join_lookup }}],
|
|
"month": "{{ month.slug }}",
|
|
"year": "{{ year.text }}",
|
|
"event_type": "{{ event_type }}",
|
|
"date_from": "{{ date_from }}",
|
|
"date_to": "{{ date_to }}",
|
|
"query": "{{ query }}",
|
|
"where_query": "{{ where_query }}",
|
|
};
|
|
</script>
|
|
{% if not NO_BANNERS %}
|
|
<script>
|
|
(function() {
|
|
var DOMbannersjsElementInserted = new Event('DOMbannersjsElementInserted');
|
|
window.DOMbannersjsElementInserted = DOMbannersjsElementInserted;
|
|
window.marker_DOMbannersjsElementInserted = window.marker_DOMbannersjsElementInserted || false;
|
|
document.addEventListener("DOMbannersjsElementInserted", function() {
|
|
// console.info("DOMbannersjsElementInserted fired");
|
|
window.marker_DOMbannersjsElementInserted = true
|
|
});
|
|
|
|
var bannersjsRequestDone = new Event('bannersjsRequestDone');
|
|
window.bannersjsRequestDone = bannersjsRequestDone;
|
|
window.marker_bannersjsRequestDone = false;
|
|
document.addEventListener("bannersjsRequestDone", function() {
|
|
window.marker_bannersjsRequestDone = true;
|
|
});
|
|
|
|
window.is_popup_banner = false;
|
|
})();
|
|
</script>
|
|
{% if request.GET.debug == '1' %}
|
|
<script type="text/javascript" src="{% static 'client/js/rejs/banners.js' %}" async></script>
|
|
{% else %}
|
|
<script type="text/javascript" src="{% static 'client/js/rejs/banners.min.js' %}" async></script>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% if request.GET.debug == '1' %}
|
|
<script src="{% static 'client/js/_modules/block.common.js' %}"></script>
|
|
{% else %}
|
|
<script src="{% static 'client/js_min/_modules/block.common.min.js' %}"></script>
|
|
{% endif %}
|
|
<script type="text/javascript">
|
|
EXPO.common.init({
|
|
activeClass:"active",
|
|
errMessageClass:'err-message-box',
|
|
addCalendarClass:"addcalendar",
|
|
removeCalendarClass:"removecalendar",
|
|
addCalendarText:"{% trans 'добавить в календарь' %}",
|
|
removeCalendarText:"{% trans 'Убрать из календаря' %}",
|
|
loginModalId:'pw-login',
|
|
registerFormId:'reg_form',
|
|
successRegisterId:'pw-reg-complete',
|
|
resendLetterClass:'resend-letter',
|
|
resendLetterUrl:'/registration/reply/',
|
|
requiredClass:"required",
|
|
errorClass:"err",
|
|
socialFormId:"social_form",
|
|
staticValidation:{
|
|
errorClass:'error-field',
|
|
blobClass:'error-blob',
|
|
containerClass:'validate-field'
|
|
},
|
|
httpFormIds:['social_form','web_page_form'],
|
|
seoLinksClass : 'link-encode',
|
|
dataKey:'data-type',
|
|
socialInputMask:['http://','https://']
|
|
});
|
|
</script>
|
|
<!-- Google Tag Manager -->
|
|
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-P5C6GR"
|
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
})(window,document,'script','dataLayer','GTM-P5C6GR');</script>
|
|
<!-- End Google Tag Manager -->
|
|
<style>
|
|
.text-indent-1-5em {
|
|
text-indent: 1.5em
|
|
}
|
|
</style>
|
|
|
|
<meta name="google-site-verification" content="2tSiaGdvrZTPw0mXMndZdk3MleeguLQ192Xb9U4JSyo" />
|
|
</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]-->
|
|
{% comment %}
|
|
<!-- Английский вариант текста для 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>
|
|
{% endcomment %}
|
|
|
|
{% get_top_banner %}
|
|
|
|
<div class="page-wrap">
|
|
{% block header %}
|
|
{% include 'client/includes/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 'client/includes/footer.html' %}
|
|
{% endblock %}
|
|
</div>
|
|
<div class="popups-wrap" id="main-popup-wrap">
|
|
{% if not user.is_authenticated %}
|
|
{% include 'client/popups/login.html' %}
|
|
{% include 'client/popups/register.html' %}
|
|
{% include 'client/popups/reg_send.html' %}
|
|
|
|
{% endif %}
|
|
|
|
{% include 'client/popups/callback.html' %}
|
|
{% include 'client/includes/banners/popup.html' %}
|
|
{% include 'client/includes/banners/popup_2.html' %}
|
|
{% block popup_banner %}
|
|
{% endblock %}
|
|
{# if user doesnt have url- show form #}
|
|
{% if 'partial_pipeline' not in request.session %}
|
|
{% include 'client/popups/acquire_email.html' %}
|
|
{% endif %}
|
|
{% if not request.user.is_anonymous %}
|
|
{% if not request.user.url %}
|
|
{% include 'client/popups/user_information.html' with form=reg_complete %}
|
|
{% if request.GET.debug == '1' %}
|
|
<script src="{% static 'client/js/_modules/block.registration.completion.js' %}"></script>
|
|
{% else %}
|
|
<script type="text/javascript" src="{% static 'client/js_min/_modules/block.registration.completion.min.js' %}"></script>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% block popup %}
|
|
{% endblock %}
|
|
</div>
|
|
{% block photogallery %}
|
|
{% endblock %}
|
|
|
|
{# js libs #}
|
|
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places"></script>
|
|
{% if request.GET.debug == '1' %}
|
|
<script src="{% static 'client/js/vendor.js' %}"></script>
|
|
{% else %}
|
|
<script src="{% static 'client/js_min/vendor.min.js' %}"></script>
|
|
{% endif %}
|
|
<div id="wait-ajax" class="wait-ajax" style="display:none;"><img src="{% static 'client/img/ajax-loader.gif' %}" alt=""/></div>
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|