EXPO-25 blank.html

remotes/origin/1203
pavel 11 years ago
parent 00d8ece4bc
commit 9cb757c06f
  1. 190
      templates/client/blank.html

@ -1,52 +1,56 @@
{% load static %} {% load static %}
{% load i18n %} {% load i18n %}
{% get_current_language as LANGUAGE_CODE %} {% get_current_language as LANGUAGE_CODE %}
{% comment %} {% comment %}
This template include basic anf main styles and js files, This template include basic anf main styles and js files,
block with header and footer, which same in all pages, block with header and footer, which same in all pages,
register, login, search popups register, login, search popups
blocks for add or change: title(title), styles(style), header(header), footer(footer) banners(header_banner), 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 scripts(script), popups(popup) and blocks: main_part, top, search, catalog, announces, partners, services
head with title block, style block head with title block, style block
{% endcomment %} {% endcomment %}
<!DOCTYPE html> <!DOCTYPE html>
<!--[if lt IE 8]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if lt IE 8]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<!--if IE 8><script src="js/selectivizr-min.js"></script><![endif]-->
<head> <head>
{% include 'includes/meta.html' %} {% include 'includes/meta.html' %}
<link rel="icon" href="{% static 'client/img/favicon.ico' %}" type="image/x-icon" /> <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="shortcut icon" href="{% static 'client/img/favicon.ico' %}" type="image/x-icon" />
<link rel="stylesheet" href="{% static 'client/css' %}{% if debug %}/{% else %}_min/{% endif %}vendor{% if debug %}{% else %}.min{% endif %}.css"> <link rel="stylesheet" href="{% static 'client/css' %}{% if debug %}/{% else %}_min/{% endif %}vendor{% if debug %}{% else %}.min{% endif %}.css">
<!--todo: вернуть минифицированную версию-->
<!--<link rel="stylesheet" href="{% static 'client/css' %}{% if debug %}/{% else %}_min/{% endif %}main{% if debug %}{% else %}.min{% endif %}.css">-->
<link rel="stylesheet" href="{% static 'client/css/main.css' %}"> {% 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' %}"> <link rel="stylesheet" href="{% static 'client/lib/font-awesome-4.3.0/css/font-awesome.min.css' %}">
{% block styles %} {% block styles %}
{% endblock %} {% endblock %}
<script src="{% static 'client/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js' %}"></script> <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/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> <script src="{% static 'client/js/jquery-ui-1.10.4.custom.min.js' %}" type="text/javascript"></script>
<!--<script src="{% static ' {% if request.GET.debug == '1' %}
client/js' %}{% if debug %}/{% else %}_min/{% endif %}_modules/block.common{% if debug %}{% else %}.min{% endif %}.js"></script>--> <script src="{% static 'client/js/_modules/block.common.js' %}"></script>
<script src="{% static 'client/js/_modules/block.common.js' %}"></script> {% else %}
<script src="{% static 'client/js_min/_modules/block.common.min.js' %}"></script>
<!--if IE 8><script src="js/selectivizr-min.js"></script><![endif]--> {% endif %}
<script type="text/javascript"> <script type="text/javascript">
EXPO.common.init({ EXPO.common.init({
activeClass:"active", activeClass:"active",
errMessageClass:'err-message-box', errMessageClass:'err-message-box',
addCalendarClass:"addcalendar", addCalendarClass:"addcalendar",
removeCalendarClass:"removecalendar", removeCalendarClass:"removecalendar",
addCalendarText:"{% trans 'добавить в календарь' %}", addCalendarText:"{% trans 'добавить в календарь' %}",
removeCalendarText:"{% trans 'Убрать из календаря' %}", removeCalendarText:"{% trans 'Убрать из календаря' %}",
loginModalId:'pw-login', loginModalId:'pw-login',
registerFormId:'reg_form', registerFormId:'reg_form',
successRegisterId:'pw-reg-complete', successRegisterId:'pw-reg-complete',
resendLetterClass:'resend-letter', resendLetterClass:'resend-letter',
@ -54,87 +58,87 @@ This template include basic anf main styles and js files,
requiredClass:"required", requiredClass:"required",
errorClass:"err", errorClass:"err",
socialFormId:"social_form", socialFormId:"social_form",
staticValidation:{ staticValidation:{
errorClass:'error-field', errorClass:'error-field',
blobClass:'error-blob', blobClass:'error-blob',
containerClass:'validate-field' containerClass:'validate-field'
}, },
httpFormIds:['social_form','web_page_form'], httpFormIds:['social_form','web_page_form'],
seoLinksClass : 'link-encode', seoLinksClass : 'link-encode',
dataKey:'data-type', dataKey:'data-type',
socialInputMask:['http://','https://'] socialInputMask:['http://','https://']
}); });
</script> </script>
</head> </head>
<body {% block body_class %}{% endblock %}> <body {% block body_class %}{% endblock %}>
<!--[if lt IE 8]> <!--[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> <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]--> <![endif]-->
<!-- Английский вариант текста для p.chromeframe {% 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> <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 %}
<div class="page-wrap"> <div class="page-wrap">
{% block header %} {% block header %}
{% include 'client/includes/header.html' %} {% include 'client/includes/header.html' %}
{% endblock %} {% endblock %}
{% block main_part %} {% block main_part %}
{% endblock %} {% 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">
{% if not user.is_authenticated %}
{% include 'client/popups/login.html' %}
{% include 'client/popups/register.html' %}
{% include 'client/popups/reg_send.html' %}
{% endif %} {% block top %}
{% endblock %}
{% include 'client/popups/callback.html' %} {% block search %}
{% endblock %}
{# if user doesnt have url- show form #} {% block catalog %}
{% endblock %}
{% if not request.user.is_anonymous %} {% block announces %}
{% if not request.user.url %} {% endblock %}
{% include 'client/popups/user_information.html' with form=reg_complete %}
<script type="text/javascript" src="{% static 'client/js/_modules/block.registration.completion.js' %}"></script>
{% endif %}
{% endif %}
{% block popup %} {% block partners %}
{% endblock %} {% endblock %}
</div>
{% block photogallery %}
{% endblock %} {% block services %}
{% endblock %}
<!-- scripts --> {% block footer %}
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places"></script> {% include 'client/includes/footer.html' %}
<!--vendor scripts concatenated--> {% endblock %}
<script type="text/javascript" src="{% static 'client/js' %}{% if debug %}/{% else %}_min/{% endif %}vendor{% if debug %}{% else %}.min{% endif %}.js"></script> </div>
<!--<script type="text/javascript" src="{% static 'client/js/vendor.js' %}"></script>--> <div class="popups-wrap">
{% if not user.is_authenticated %}
{% include 'client/popups/login.html' %}
{% include 'client/popups/register.html' %}
{% include 'client/popups/reg_send.html' %}
<div id="wait-ajax" class="wait-ajax" style="display:none;"><img src="{% static 'client/img/ajax-loader.gif' %}" alt=""/></div> {% endif %}
{% include 'client/popups/callback.html' %}
{# if user doesnt have url- show form #}
{% if not request.user.is_anonymous %}
{% if not request.user.url %}
{% include 'client/popups/user_information.html' with form=reg_complete %}
<script type="text/javascript" src="{% static 'client/js/_modules/block.registration.completion.js' %}"></script>
{% 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> </body>

Loading…
Cancel
Save