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.
148 lines
7.1 KiB
148 lines
7.1 KiB
<ul class="nav" style=" padding: 20px 0;">
|
|
{% if request.user.in_role != 'S' and request.user.in_role != 'M' %}
|
|
{% if '/' == request.META.PATH_INFO or 'courses' in request.META.PATH_INFO %}
|
|
<li class="active" style="z-index: 1;">
|
|
{% else %}
|
|
<li style="z-index: 1;">
|
|
{% endif %}
|
|
<a href="/" class="auto">
|
|
<i class="glyphicon glyphicon-education"></i>
|
|
<span>Курсы</span>
|
|
</a>
|
|
</li>
|
|
|
|
{% if 'library/articles/' in request.META.PATH_INFO %}
|
|
<li class="active" style="z-index: 1;">
|
|
{% else %}
|
|
<li style="z-index: 1;">
|
|
{% endif %}
|
|
<a href="/library/articles/" class="auto">
|
|
<i class="glyphicon glyphicon-book"></i>
|
|
<span>База знаний</span>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
{% if not request.user.is_authenticated %}
|
|
<li style="z-index: 1;"><a type="button" onclick="$('#myModal1').modal('show')">
|
|
<i class="icon-user icon"></i>
|
|
<span>Профиль</span></a></li>
|
|
{% else %}
|
|
{% if request.user.in_role == 'S' or request.user.in_role == 'M' %}
|
|
{% if request.user.in_role == 'S' %}
|
|
<li style="z-index: 1;">
|
|
<a href="/management/super_profile/">
|
|
<i class="icon-user icon"></i>
|
|
<span>Поиск</span>
|
|
</a>
|
|
</li>
|
|
<li style="z-index: 1;">
|
|
<a href="/management/super_bill">
|
|
<i class="glyphicon glyphicon-stats"></i>
|
|
<span>Счета</span>
|
|
</a>
|
|
</li>
|
|
<li style="z-index: 1;">
|
|
<a href="/management/faq/35" target="_blank">
|
|
<i class="glyphicon glyphicon-file"></i>
|
|
<span style="font-weight: bold;">Как работать?</span>
|
|
</a>
|
|
</li>
|
|
{% else %}
|
|
<li style="z-index: 1;">
|
|
<a href="/management/profile/">
|
|
<i class="icon-user icon"></i>
|
|
<span>Поиск</span>
|
|
</a>
|
|
</li>
|
|
|
|
<li style="z-index: 1;">
|
|
<a href="/management/history">
|
|
<i class="glyphicon glyphicon-stats"></i>
|
|
<span>История</span>
|
|
</a>
|
|
</li>
|
|
<li style="z-index: 1;">
|
|
<a href="/management/faq/34" target="_blank">
|
|
<i class="glyphicon glyphicon-file"></i>
|
|
<span style="font-weight: bold;">Как работать?</span>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
{% else %}
|
|
{% if '/access/profile' in request.META.PATH_INFO %}
|
|
<li class="active" style="z-index: 1;">
|
|
{% else %}
|
|
<li style="z-index: 1;">
|
|
{% endif %}
|
|
<a href="{% if request.user.is_admin %}/{{ request.user.interactive_key }}{% else %}/access/profile/{% endif %}"><i class="icon-user icon"></i>
|
|
<span>Профиль</span>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
{% if request.user.in_role == 'T' %}
|
|
<li style="z-index: 1;">
|
|
<a href="/reports/">
|
|
<i class="glyphicon glyphicon-list-alt"></i>
|
|
<span>Отчеты</span>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
{% if request.user.is_admin %}
|
|
<li style="margin-top: 20px;">
|
|
<a href="/access/profile/">
|
|
<i class="glyphicon glyphicon-cloud"></i>
|
|
<span>Админка</span>
|
|
</a>
|
|
</li>
|
|
<li style="z-index: 1;">
|
|
<a href="/reports/">
|
|
<i class="glyphicon glyphicon-list-alt"></i>
|
|
<span>Отчеты</span>
|
|
</a>
|
|
</li>
|
|
<li style="z-index: 1;">
|
|
<a href="/analytics/">
|
|
<i class="glyphicon glyphicon-list-alt"></i>
|
|
<span>Аналитика</span>
|
|
</a>
|
|
</li>
|
|
|
|
{% endif %}
|
|
<!--
|
|
<div style="text-align: center; width:200px;">
|
|
<img src="/static/img/9.png" style="width: 180px;">
|
|
</div>
|
|
-->
|
|
{% endif %}
|
|
<div style="position: fixed;bottom: 0;left: 0;" class="hidden-xs">
|
|
<ul class="nav" style="margin-bottom: 20px;">
|
|
<li style="width: 200px;">
|
|
<a href="/contacts/" class="btn" role="button">
|
|
|
|
<span><i class="glyphicon glyphicon-tree-deciduous" style="margin-right: 10px;"></i>Контакты</span>
|
|
</a>
|
|
</li>
|
|
{% if request.user.is_anonymous %}
|
|
<li style="width: 200px;">
|
|
<a href="/price/" class="btn" role="button">Цены</a>
|
|
</li>
|
|
{% endif %}
|
|
<li style="width: 200px;">
|
|
<a href="{{ DOMAIN }}/management/faq" style="background: #ebebeb;" class="btn" role="button">Помощь</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<p style=" text-align: center;">
|
|
<i style="font-size: 8px;" class="glyphicon glyphicon-copyright-mark"></i> <span style="font-size: 8px;">«{{ NAME }}» {% now "Y" %} </span><br>
|
|
<a href="/static/oferta.pdf" target="_blank">Договор оферты</a>
|
|
</p>
|
|
</div>
|
|
<!--<a href="#" onclick="$('#FeedBack').modal('show');" style=" position: fixed;
|
|
bottom: 10px;" class="visible-lg visible-md visible-sm">
|
|
<img src="/static/img/1447222756_information_support.svg" style=" width: 30px;
|
|
margin: 0 10px;">Есть вопросы?
|
|
</a>-->
|
|
|
|
|
|
|
|
</ul> |