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.
179 lines
7.8 KiB
179 lines
7.8 KiB
{# spaceless #}<!DOCTYPE html>
|
|
{% load cms_tags sekizai_tags menu_tags pytils_numeral %}
|
|
{% url 'myauth_login' as myauth_login %}
|
|
{% url 'myauth_register' as myauth_register %}
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset='utf-8'>
|
|
<title>{% block title %}{% endblock %} | Документор</title>
|
|
<link rel="shortcut icon" href="{{ STATIC_URL }}favicon.ico" />
|
|
<link rel="stylesheet" href="{{ STATIC_URL }}css/ui-lightness/jquery-ui-1.10.3.custom.css" />
|
|
<link rel="stylesheet" href="{{ STATIC_URL }}css/suggestions.css" />
|
|
<link rel="stylesheet" href="{{ STATIC_URL }}css/style.css?t=1489695907" />
|
|
{% render_block "css" %}
|
|
</head>
|
|
<body>
|
|
<!-- Yandex.Metrika counter -->
|
|
<script type="text/javascript">
|
|
(function (d, w, c) {
|
|
(w[c] = w[c] || []).push(function() {
|
|
try {
|
|
w.yaCounter38822320 = new Ya.Metrika({
|
|
id:38822320,
|
|
clickmap:true,
|
|
trackLinks:true,
|
|
accurateTrackBounce:true
|
|
});
|
|
} catch(e) { }
|
|
});
|
|
|
|
var n = d.getElementsByTagName("script")[0],
|
|
s = d.createElement("script"),
|
|
f = function () { n.parentNode.insertBefore(s, n); };
|
|
s.type = "text/javascript";
|
|
s.async = true;
|
|
s.src = "https://mc.yandex.ru/metrika/watch.js";
|
|
|
|
if (w.opera == "[object Opera]") {
|
|
d.addEventListener("DOMContentLoaded", f, false);
|
|
} else { f(); }
|
|
})(document, window, "yandex_metrika_callbacks");
|
|
</script>
|
|
<noscript><div><img src="https://mc.yandex.ru/watch/38822320" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
|
<!-- /Yandex.Metrika counter -->
|
|
{% cms_toolbar %}
|
|
{% if license_15days %}
|
|
<div id="content" class="clear">
|
|
<ul class="messagelist">
|
|
{% if license_15days %}
|
|
<li class="error">{{ license_15days }} заканчивается Ваша лицензия на Документор. <a href="https://dokumentor.ru/my/license/">Купите новую лицензию</a> заранее, чтобы работать без перерывов.<a href='#' class='close-message' data-close='close_message_license'>Закрыть</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
<div id="body">
|
|
<div id="bg">
|
|
<div id="bg-header"> </div>
|
|
{% block bg %}
|
|
{% endblock %}
|
|
</div>
|
|
|
|
<div id="w1200">
|
|
<div id="header">
|
|
<div class="left">
|
|
<a href="/" id="site_logo">
|
|
<img class='left' src='{{ STATIC_URL }}img/logo.png' />
|
|
<div class="left logo-text">
|
|
<div class="logo-bigfont">Документор</div>
|
|
<div>Сервис, которому нравится создавать документы. И вам понравится!</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
{% if user.is_authenticated %}
|
|
<div class="auth_block right">
|
|
<a href="{% url 'customer_index' %}" id="cabinet-show">{{ request.user.profile.get_company_name|default:'Новый профиль' }}</a>
|
|
|
|
|
<a href="{% url 'auth_logout' %}">Выход</a>
|
|
</div>
|
|
{% else %}
|
|
<div class="auth_block right">
|
|
<a href="{% url 'myauth_register' %}" class="{% if request.path == myauth_register %}register_active {% endif %}register left">Регистрация и цены</a>
|
|
<a href="{% url 'myauth_login' %}" class="{% if request.path == myauth_login %}login_active {% endif %}login left">Вход в систему</a>
|
|
</div>
|
|
{% endif %}
|
|
<div class='clear'></div>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
{% block top_menu %}
|
|
{% if user.is_authenticated %}
|
|
<div id="menu">
|
|
<ul>
|
|
{% show_menu 0 100 100 100 %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
{% block bottom_wide %}{% endblock %}
|
|
{% block footer %}
|
|
<div id='footer'>
|
|
<div id="footer-content">
|
|
<div class="footer-text">Техподдержка Документора</div>
|
|
<a href='mailto:help@dokumentor.ru'>help@dokumentor.ru</a>
|
|
<a href="/" onclick="return show_req_avail_form('{% url 'callback-send-message' %}');">Обратная связь</a>
|
|
<a href="{{ STATIC_URL }}dogovor.pdf">Лицензионное соглашение</a>
|
|
<a href="{{ STATIC_URL }}PD.pdf">Политика в отношении персональных данных</a>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
</div>
|
|
|
|
<div id="cabinet-popup">
|
|
<h2>Платежные данные</h2>
|
|
<div><span class='grey'>Тариф: </span><span class='italic' style="font-weight:bold;font-size:16px;">{% if cur_license.term > 0 %}{{ cur_license.term|get_plural:"месяц,месяца, месяцев" }}{% else %}пробный{% endif %}</span></div></br>
|
|
<div class='grey center'>Осталось дней:</div>
|
|
<div class='center'>
|
|
<span class='yellow_round'>{{ license_days }}</span>
|
|
</div>
|
|
<a href='{% url "customer_order_license" %}' class='popup-link popup-buy-license'>Купить лицензию</a>
|
|
<a href='{% url "customer_license_list" %}' class='popup-link popup-my-accs'>Мои заказы</a>
|
|
<a href='{% url "customer_paid_list" %}' class='popup-link popup-history'>История расчетов</a>
|
|
<h2>Настройки</h2>
|
|
<a href='{% url "myauth_change_password" %}' class='popup-link popup-password'>Сменить пароль</a>
|
|
<a href='{% url "myauth_change_email" %}' class='popup-link popup-email'>Сменить e-mail</a>
|
|
<a href='{% url "auth_confirm_rm_profile" %}' class='popup-link popup-unreg'>Удалить учётную запись</a>
|
|
</div>
|
|
<div id="dialogs">
|
|
{% block dialogs %}{% endblock %}
|
|
{% include "callback/callback_form.html" %}
|
|
</div>
|
|
|
|
|
|
<div id="dialog-message"> </div>
|
|
{% if messages %}
|
|
<div id="django-message">
|
|
<ul>
|
|
{% for message in messages %}
|
|
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% block common_js %}
|
|
<script src="{{ STATIC_URL }}js/lib/jquery-1.10.2.min.js"></script>
|
|
<script src="{{ STATIC_URL }}js/lib/jquery-ui-1.10.3.custom.min.js"></script>
|
|
<script src="{{ STATIC_URL }}js/lib/jquery.ui.datepicker-ru.js"></script>
|
|
<script src="{{ STATIC_URL }}js/lib/jquery.form.js"></script>
|
|
<script src="{{ STATIC_URL }}js/formset-events.js?t=1489057872"></script>
|
|
<script src="{{ STATIC_URL }}js/lib/jquery.formset.js"></script>
|
|
<script src="{{ STATIC_URL }}js/lib/jquery.blockUI.js"></script>
|
|
<script src="{{ STATIC_URL }}js/lib/entertotab.js"></script>
|
|
<script src="{{ STATIC_URL }}js/lib/jquery.cookie.js"></script>
|
|
<script src="{{ STATIC_URL }}js/lib/handlebars-v4.0.5.js"></script>
|
|
|
|
<script src="{{ STATIC_URL }}js/csrf.js"></script>
|
|
|
|
<script src="{{ STATIC_URL }}js/commons.js"></script>
|
|
<script src="{{ STATIC_URL }}js/dialogs.js"></script>
|
|
<script src="{{ STATIC_URL }}js/callback.js"></script>
|
|
{% include 'autocomplete_light/static.html' %}
|
|
<script>
|
|
$(document).ready(function() {
|
|
window.daDataExternalApiKey = "{{ dadata_api_key }}";
|
|
});
|
|
</script>
|
|
{% endblock %}
|
|
|
|
{% block js %}{% endblock %}
|
|
|
|
{% render_block "js" %}
|
|
</body>
|
|
</html>{# endspaceless #}
|
|
|