Источник шаблона: website/layout.html

<!DOCTYPE html> {% load staticfiles %} {% load copyright_tags %} {% url 'website.front_page' as front_url %} <html lang="ru"> <head> <title>{% block title %}{% endblock %}</title> <meta name="description" content="{% block description %}{% endblock %}" /> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" type="image/png" href="{% static 'website/img/favicon.png' %}" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="robots" content="index, follow" /> <link href="{% static 'website/css/kernel_main.css' %}" type="text/css" rel="stylesheet" /> <link href="{% static 'website/css/template.css' %}" type="text/css" data-template-style="true" rel="stylesheet" /> {% comment %}<link href="{% static 'website/css/page.css' %}" type="text/css" rel="stylesheet" />{% endcomment %} <script type="text/javascript">if(!window.BX)window.BX={};if(!window.BX.message)window.BX.message=function(mess){if(typeof mess=='object') for(var i in mess) BX.message[i]=mess[i]; return true;};</script> <script type="text/javascript">(window.BX||top.BX).message({'JS_CORE_LOADING':'Загрузка...','JS_CORE_NO_DATA':'- Нет данных -','JS_CORE_WINDOW_CLOSE':'Закрыть','JS_CORE_WINDOW_EXPAND':'Развернуть','JS_CORE_WINDOW_NARROW':'Свернуть в окно','JS_CORE_WINDOW_SAVE':'Сохранить','JS_CORE_WINDOW_CANCEL':'Отменить','JS_CORE_WINDOW_CONTINUE':'Продолжить','JS_CORE_H':'ч','JS_CORE_M':'м','JS_CORE_S':'с','JSADM_AI_HIDE_EXTRA':'Скрыть лишние','JSADM_AI_ALL_NOTIF':'Показать все','JSADM_AUTH_REQ':'Требуется авторизация!','JS_CORE_WINDOW_AUTH':'Войти','JS_CORE_IMAGE_FULL':'Полный размер'});</script> <script type="text/javascript">(window.BX||top.BX).message({'LANGUAGE_ID':'ru','FORMAT_DATE':'DD.MM.YYYY','FORMAT_DATETIME':'DD.MM.YYYY HH:MI:SS','COOKIE_PREFIX':'BITRIX_SM','SERVER_TZ_OFFSET':'10800','SITE_ID':'sp','SITE_DIR':'/','USER_ID':'','SERVER_TIME':'1536494931','USER_TZ_OFFSET':'0','USER_TZ_AUTO':'Y','bitrix_sessid':'b05f3c3f89a9eee225dfdfbb2ebc7b1f'});</script> {% block styles %}{% endblock %} <script type="text/javascript" src="{% static 'website/js/kernel_main.js' %}"></script> <script type="text/javascript">BX.setJSList(['/bitrix/js/main/core/core.js','/bitrix/js/main/core/core_ajax.js','/bitrix/js/main/core/core_popup.js','/bitrix/js/main/json/json2.min.js','/bitrix/js/main/core/core_ls.js','/bitrix/js/main/session.js','/bitrix/js/main/core/core_window.js','/bitrix/js/main/core/core_date.js','/bitrix/js/main/utils.js','/bitrix/js/main/core/core_fx.js','/bitrix/templates/dresscode/components/dresscode/slider/promoSlider/js/init.js','/bitrix/templates/dresscode/components/dresscode/offers.product/.default/script.js','/bitrix/templates/dresscode/components/dresscode/pop.section/.default/script.js','/bitrix/templates/dresscode/components/dresscode/slider/middle/js/init.js','/bitrix/templates/dresscode/components/dresscode/brands.list/.default/script.js','/bitrix/templates/dresscode/js/jquery-1.11.0.min.js','/bitrix/templates/dresscode/js/jquery.easing.1.3.js','/bitrix/templates/dresscode/js/rangeSlider.js','/bitrix/templates/dresscode/js/system.js','/bitrix/templates/dresscode/js/topMenu.js','/bitrix/templates/dresscode/js/topSearch.js','/bitrix/templates/dresscode/js/dwCarousel.js','/bitrix/templates/dresscode/js/dwSlider.js','/bitrix/templates/dresscode/js/dwZoomer.js','/bitrix/templates/dresscode/js/dwTimer.js','/bitrix/components/dresscode/sale.geo.positiion/templates/.default/script.js','/bitrix/templates/dresscode/components/bitrix/form.result.new/modal/script.js','/bitrix/components/dresscode/search.line/templates/.default/script.js','/bitrix/templates/dresscode/components/bitrix/menu/leftMenu/script.js','/bitrix/templates/dresscode/components/bitrix/catalog.bigdata.products/.default/script.js']); </script> <script type="text/javascript">BX.setCSSList(['/bitrix/js/main/core/css/core.css','/bitrix/js/main/core/css/core_popup.css','/bitrix/js/main/core/css/core_date.css','/bitrix/templates/dresscode/components/dresscode/slider/promoSlider/style.css','/bitrix/components/dresscode/special.product/templates/.default/style.css','/bitrix/templates/dresscode/components/dresscode/offers.product/.default/style.css','/bitrix/templates/dresscode/components/dresscode/pop.section/.default/style.css','/bitrix/templates/dresscode/components/dresscode/slider/middle/style.css','/bitrix/templates/dresscode/components/dresscode/brands.list/.default/style.css','/bitrix/templates/dresscode/fonts/roboto/roboto.css','/bitrix/templates/dresscode/themes/white/red/style.css','/bitrix/templates/dresscode/components/bitrix/menu/topMenu/style.css','/bitrix/components/dresscode/sale.geo.positiion/templates/.default/style.css','/bitrix/templates/dresscode/components/bitrix/form.result.new/modal/style.css','/bitrix/components/dresscode/search.line/templates/.default/style.css','/bitrix/templates/dresscode/components/bitrix/menu/leftMenu/style.css','/bitrix/templates/dresscode/components/bitrix/menu/leftSubMenu/style.css','/bitrix/templates/dresscode/components/bitrix/news.list/leftNews/style.css','/bitrix/templates/dresscode/components/bitrix/subscribe.form/.default/style.css','/bitrix/templates/dresscode/components/bitrix/news.list/leftCollection/style.css','/bitrix/templates/dresscode/components/bitrix/news.list/leftService/style.css','/bitrix/templates/dresscode/components/bitrix/sale.viewed.product/.default/style.css','/bitrix/templates/dresscode/components/bitrix/catalog.top/.default/style.css','/bitrix/templates/dresscode/components/bitrix/catalog.bigdata.products/.default/style.css','/bitrix/templates/dresscode/template_styles.css']); </script> <script type="text/javascript" src="{% static 'website/js/template.js' %}"></script> {% comment %}<script type="text/javascript" src="{% static 'website/js/page.js' %}"></script>{% endcomment %} {% block scripts %}{% endblock %} <link href="{% static 'website/css/bem.css' %}" type="text/css" rel="stylesheet" /> </head> <body class="loading index"> <div id="panel"></div> <div id="foundation"> <div id="topHeader"> <div class="limiter"> <ul id="topMenu"> {% for menuitem in website_top_services_menu %} {% if request.path == menuitem.get_url %} <li><a href="{{ menuitem.get_url }}" class="selected">{{ menuitem.title }}</a></li> {% else %} <li><a href="{{ menuitem.get_url }}">{{ menuitem.title }}</a></li> {% endif %} {% endfor %} </ul> <ul id="topService"> {% comment %} {% include "website/elements/li-geo.html" %} {% endcomment %} {% if user.is_authenticated %} {% if user.is_staff %} <li class="top-auth-login"><a href="/admin/">Панель управления</a></li> <li class="top-auth-login"><a href="{% url 'logout' %}">Выход</a></li> {% else %} <li class="top-auth-login"><a href="{% url 'shop.orders' %}">Заказы</a></li> <li class="top-auth-login"><a href="{% url 'user.profile' %}">Профайл</a></li> <li class="top-auth-login"><a href="{% url 'logout' %}">Выход</a></li> {% endif %} {% else %} <li class="top-auth-login"><a href="{% url 'login' %}">Вход</a></li> <li class="top-auth-register"><a href="{% url 'user.register' %}">Регистрация</a></li> {% endif %} </ul> </div> </div> <div id="subHeader"> <div class="limiter"> <div id="logo"> {% if request.path == front_url %} <span> <img src="{{ website_settings.logo_url }}" alt="{{ website_settings.site_sh_name }}"> </span> {% else %} <a href="{{ front_url }}"> <img src="{{ website_settings.logo_url }}" alt="{{ website_settings.site_sh_name }}"> </a> {% endif %} </div> <div id="topHeading"> <div class="vertical"> <p>{{ website_settings.slogan }}</p> </div> </div> <div id="headerTools"> <ul class="tools"> {% include "website/elements/li-search.html" %} {% include "website/elements/li-callback.html" %} {% include "website/elements/li-compare.html" %} {% include "website/elements/li-wishlist.html" %} {% include "website/elements/li-cart.html" %} </ul> </div> {% include "website/elements/div-search.html" %} </div> </div> <div id="main"> <div class="limiter"> <div class="compliter"> {% if not itemmode %} <div id="left"> {% if catalog_front %} <a class="heading orange" id="">Каталог товаров</a> {% else %} <a href="{% url 'catalog.front_page' %}" class="heading orange" id="">Каталог товаров<ins id="catalogMenuHeading"></ins></a> {% endif %} <div class="collapsed" {% if menucollapsed %} style="display:none" {% endif %}> {% include "website/elements/ul-leftmenu.html" %} {% include "website/elements/ul-leftsubmenu.html" %} </div> {% include "website/elements/div-subcatsmenu.html" %} <div class=""> <div id="specialBlockMoveContainer"></div> <div class="sideBlock banner"> {{ website_settings.get_banner_L1 | safe }} </div> <div class="sideBlock banner"> {{ website_settings.get_banner_L2 | safe }} </div> </div> </div> <div id="right"> {% if slides %} {% include "website/elements/slider.html" %} {% else %} {% endif %} {% block content %} {% endblock %} </div> {% else %} <div id="left"> <a href="{% url 'catalog.front_page' %}" class="heading orange" >Каталог товаров<ins id="catalogMenuHeading"></ins></a> <div class="collapsed" {% if menucollapsed %} style="display:none" {% endif %}> {% include "website/elements/ul-leftmenu.html" %} {% include "website/elements/ul-leftsubmenu.html" %} </div> </div> <div id="right"> </div> {% endif %} </div> </div> </div> </div> {% if itemmode %} {% block itemcontent %} {% endblock %} {% endif %} <div id="foundation2"> {% include "website/elements/footer-tabs.html" %} <div id="footer"> <div id="rowFooter"> <div id="leftFooter"> <div class="footerRow"> <div class="column"> <span class="heading">Каталог</span> <ul class="footerMenu"> {% for menuitem in website_bottom_catalog_menu %} {% if request.path == menuitem.get_url %} <li class="active"><a href="{{ menuitem.get_url }}" class="active">{{ menuitem.title }}</a></li> {% else %} <li><a href="{{ menuitem.get_url }}">{{ menuitem.title }}</a></li> {% endif %} {% endfor %} </ul> </div> <div class="column"> <span class="heading">Наши предложения</span> <ul class="footerMenu"> {% for menuitem in website_special_menu %} {% if request.path == menuitem.get_url %} <li class="active"><a href="{{ menuitem.get_url }}" class="active">{{ menuitem.title }}</a></li> {% else %} <li><a href="{{ menuitem.get_url }}">{{ menuitem.title }}</a></li> {% endif %} {% endfor %} </ul> </div> <div class="column"> <span class="heading">Помощь и сервисы</span> <ul class="footerMenu"> {% for menuitem in website_bottom_services_menu %} {% if request.path == menuitem.get_url %} <li class="active"><a href="{{ menuitem.get_url }}" class="active">{{ menuitem.title }}</a></li> {% else %} <li><a href="{{ menuitem.get_url }}">{{ menuitem.title }}</a></li> {% endif %} {% endfor %} </ul> </div> </div> </div> <div id="rightFooter"> <table class="rightTable"> <tr class="footerRow"> <td class="leftColumn"> <div class="logo"> <span><img src="{{ website_settings.logo_inv_url }}" alt="{{ website_settings.site_sh_name }}"></span> </div> <p>&#169; <span id="copyright-year">{{ getCopyrightYears }}</span> <a href="{% url 'website.front_page' %}">{{ website_settings.site_sh_name }}</a> {{ website_settings.promotext }}</p> <p class="hr">Наш адрес: {{ website_settings.address }} <a href="{% url 'website.contacts_page' %}" class="showMap">Посмотреть на карте</a></p> </td> <td class="rightColumn"> <div class="wrap"> <div class="telephone"> <a href="{{ website_settings.get_phone1_url }}">{{ website_settings.phone1 }}</a> </div> <div class="email"> Email: <a href="{{ website_settings.get_email_url }}">{{ website_settings.email }}</a> </div> {{ website_settings.openings_full | safe }} </div> </td> </tr> </table> </div> </div> <div id="footerBottom"> <div class="creator"> разработчик сайта: <a href="http://solotony.com/">Antonio Solo</a> </div> <div class="social"> <ul class="sn"> {% if website_settings.vk %}<li><a href="{{ website_settings.vk }}" class="vk"></a></li>{% endif %} {% if website_settings.facebook %}<li><a href="{{ website_settings.facebook }}" class="fb"></a></li>{% endif %} {% if website_settings.googleplus %}<li><a href="{{ website_settings.googleplus }}" class="od"></a></li>{% endif %} {% if website_settings.twitter %}<li><a href="{{ website_settings.twitter }}" class="tw"></a></li>{% endif %} {% if website_settings.instagram %}<li><a href="{{ website_settings.instagram }}" class="go"></a></li>{% endif %} {% if website_settings.youtube %}<li><a href="{{ website_settings.youtube }}" class="yo"></a></li>{% endif %} </ul> </div> </div> </div> {% comment %}<div id="footerLine"> <div class="wrapper"> <div class="col"> <div class="item"> <a href="{% url 'website.feedback_page' %}" class="callback"><span class="icon"></span>Обратная связь</a> </div> <div class="item"> <a href="{{ website_settings.get_phone1_url }}">{{ website_settings.phone1 }}</a> </div> <div class="item"> <a href="{{ website_settings.get_email_url }}">{{ website_settings.email }}</a> </div> </div> <div class="col"> <div id="flushFooterCart"> {% comment1 %}<div class="item"><a class="compare"><span class="icon"></span>Сравнение<span class="mark">0</span></a></div>{% endcomment1 %} {% comment1 %}<div class="item"><a class="wishlist"><span class="icon"></span>Избранное<span class="mark">0</span></a></div>{% endcomment1 %} <div class="item"> <a class="cart"><span class="icon"></span>Корзина<span class="mark">0</span></a> </div> </div> </div> </div> </div>{% endcomment %} </div> <div id="overlap"></div> <div id="appBasket" data-load="{% static 'website/img/picLoad.gif' %}"> <div id="appBasketContainer"> <div class="heading">Товар добавлен в корзину <a href="#" class="close closeWindow"></a></div> <div class="container"> <div class="picture"> <a href="#" class="moreLink"><img src="" alt="" class="image"></a> </div> <div class="information"> <div class="wrapper"> <a href="#" class="name moreLink"></a> <a class="price"></a> <div class="qtyBlock"> <label class="label">Кол-во: </label><a href="#" class="minus"></a><input type="text" class="qty" value=""><a href="#" class="plus"></a> </div> <div class="sum"> Итого: <span class="allSum"><s class="discount"></s></span> </div> </div> </div> </div> <div class="lower"> <table class="tools"> <tr> <td class="icon"><a href="#" class="addCompare" data-no-label="Y"><span class="ico"></span></a></td> <td class="icon"><a href="#" class="addWishlist" data-no-label="Y"><span class="ico"></span></a></td> <td class="icon"><a class="availability"><span class="ico"></span></a></td> <td class="icon"><a href="#" class="delete"><span class="ico"></span></a></td> <td class="continue"><a href="#" class="closeWindow"><img src="{% static 'website/img/continue.png' %}" alt=""><span class="text">Продолжить покупки</span></a></td> <td class="goToBasket"><a href="{% url 'cart.show' %}"><img src="{% static 'website/img/goToBasket.png' %}" alt=""><span class="text">Перейти в корзину</span></a></td> </tr> </table> </div> </div> </div> <div id="appFastBuy" data-load="{% static 'website/img/picLoad.gif' %}"> <div id="appFastBuyContainer"> <div class="heading">Купить в один клик <a href="#" class="close closeWindow"></a></div> <div class="container" id="fastBuyOpenContainer"> <div class="column"> <div id="fastBuyPicture"><a href="#" class="url"><img src="" alt="" class="picture"></a></div> <div id="fastBuyName"><a href="" class="name url"><span class="middle"></span></a></div> <div id="fastBuyPrice" class="price"></div> </div> <div class="column"> <div class="title">Заполните данные для заказа</div> <form action="/callback/" id="fastBuyForm" method="GET"> <input name="id" type="hidden" id="fastBuyFormId" value=""> <input name="act" type="hidden" id="fastBuyFormAct" value="fastBack"> <div class="formLine"><input name="name" type="text" placeholder="Имя*" value="" id="fastBuyFormName"></div> <div class="formLine"><input name="phone" type="text" placeholder="Телефон*" value="" id="fastBuyFormTelephone"></div> <div class="formLine"><textarea name="message" cols="30" rows="10" placeholder="Сообщение" id="fastBuyFormMessage"></textarea></div> <div class="formLine"><a href="#" id="fastBuyFormSubmit"><img src="{% static 'website/img/incart.png' %}" alt="Купить в один клик"> Купить в один клик</a></div> </form> </div> </div> <div id="fastBuyResult"> <div id="fastBuyResultTitle"></div> <div id="fastBuyResultMessage"></div> <a href="" id="fastBuyResultClose" class="closeWindow">Закрыть окно</a> </div> </div> </div> <div id="requestPrice" data-load="{% static 'website/img/picLoad.gif' %}"> <div id="requestPriceContainer"> <div class="requestPriceHeading">Запросить стоимость товара <a href="#" class="close closeWindow"></a></div> <div class="requstProductContainer"> <div class="productColumn"> <div class="productImageBlock"> <a href="#" class="requestPriceUrl" target="_blank"><img src="{% static 'website/img/picLoad.gif' %}" alt="" class="requestPricePicture"></a> </div> <div class="productNameBlock"> <a href="#" class="productUrl requestPriceUrl" target="_blank"> <span class="middle">Загрузка товара</span> </a> </div> </div> <div class="formColumn"> <div class="requestPriceFormHeading">Заполните данные для запроса цены</div> <form id="requestPriceForm" method="GET"> <input type="text" name="name" value="" placeholder="Имя" id="requestPriceFormName"> <input type="text" name="telephone" value="" data-required="Y" placeholder="Телефон*" id="requestPriceFormTelephone"> <input type="hidden" name="productID" value="" id="requestPriceProductID"> <input name="id" type="hidden" id="requestPriceFormId" value=""> <input name="act" type="hidden" id="requestPriceFormAct" value="requestPrice"> <textarea name="message" placeholder="Сообщение"></textarea> <a href="#" id="requestPriceSubmit"><img src="{% static 'website/img/request.png' %}" alt="Запросить цену"> Запросить цену</a> </form> </div> </div> <div id="requestPriceResult"> <div id="requestPriceResultTitle"></div> <div id="requestPriceResultMessage"></div> <a href="" id="requestPriceResultClose" class="closeWindow">Закрыть окно</a> </div> </div> </div> <div id="upButton"> <a href="#"></a> </div> <script type="text/javascript"> var ajaxPath = "/ajax.php"; var SITE_DIR = "/"; var TEMPLATE_PATH = "/bitrix/templates/dresscode"; </script> <script type="text/javascript"> var LANG = { BASKET_ADDED: "В корзине", WISHLIST_ADDED: "Добавлено", ADD_COMPARE_ADDED: "Добавлено", ADD_CART_LOADING: "Загрузка", ADD_BASKET_DEFAULT_LABEL: "В корзину", ADDED_CART_SMALL: "В корзине", CATALOG_AVAILABLE: "В наличии", CATALOG_ON_ORDER: "Под заказ", CATALOG_NO_AVAILABLE: "Недоступно", FAST_VIEW_PRODUCT_LABEL: "Быстрый просмотр", REQUEST_PRICE_LABEL: "Цена по запросу", REQUEST_PRICE_BUTTON_LABEL: "Запросить цену" }; </script> </body> </html>