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.
 
 
 
 

136 lines
5.9 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/style.css" />
{% render_block "css" %}
</head>
<body>
{% cms_toolbar %}
{% if messages or license_15days %}
<div id="content" class="clear">
<ul class="messagelist">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}<a href='#' class='close-message'>Закрыть</a></li>
{% endfor %}
{% if license_15days %}
<li class="error">{{ license_15days }} заканчивается срок действия лицензии.<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">&nbsp;</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>
&nbsp;|&nbsp;
<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 %}
<div id="menu">
<ul>
{% show_menu 0 100 100 100 %}
</ul>
</div>
{% 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='#'>help@documentor.ru</a>
<a href="#" onclick="return show_req_avail_form('{% url 'callback-send-message' %}');">Обратная связь</a>
<a href="#">Лицензионный договор</a>
</div>
</div>
{% endblock %}
</div>
<div id="cabinet-popup">
<h2>Платежные данные</h2>
<div><span class='grey'>Тариф:</span><span class='italic'>{% if cur_license.term > 0 %}{{ cur_license.term|get_plural:"месяц,месяца, месяцев" }}{% else %}пробный{% endif %}</span></div>
<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_bank_accounts_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='#' class='popup-link popup-unreg'>Удалить учётную запись</a>
</div>
<div id="dialogs">
{% block dialogs %}{% endblock %}
{% include "callback/callback_form.html" %}
</div>
<div id="dialog-message"></div>
</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"></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/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' %}
{% endblock %}
{% block js %}{% endblock %}
{% render_block "js" %}
</body>
</html>{# endspaceless #}