|
@@ -59,6 +59,7 @@
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</a>
|
|
</li>-->
|
|
</li>-->
|
|
|
|
+ {% if user.is_superuser %}
|
|
<li class="nav-item">
|
|
<li class="nav-item">
|
|
<a href="{% url 'partners' %}" class="nav-link {% if current_page == "partners" %}active rounded{% endif %}">
|
|
<a href="{% url 'partners' %}" class="nav-link {% if current_page == "partners" %}active rounded{% endif %}">
|
|
<div class="link d-flex align-items-center">
|
|
<div class="link d-flex align-items-center">
|
|
@@ -74,6 +75,7 @@
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
|
|
+
|
|
<!--<li class="nav-item">
|
|
<!--<li class="nav-item">
|
|
<a href="{% url 'cooperate' %}" class="nav-link {% if current_page == "cooperate" %}active rounded{% endif %}">
|
|
<a href="{% url 'cooperate' %}" class="nav-link {% if current_page == "cooperate" %}active rounded{% endif %}">
|
|
<div class="link d-flex align-items-center">
|
|
<div class="link d-flex align-items-center">
|
|
@@ -90,12 +92,12 @@
|
|
</a>
|
|
</a>
|
|
</li>-->
|
|
</li>-->
|
|
<li class="nav-item">
|
|
<li class="nav-item">
|
|
- <a href="{% url 'user_information' %}" class="nav-link {% if current_page == "none" %}active rounded{% endif %}">
|
|
|
|
|
|
+ <a href="{% url 'user_information' %}" class="nav-link {% if current_page == "user_information" %}active rounded{% endif %}">
|
|
<div class="link d-flex align-items-center">
|
|
<div class="link d-flex align-items-center">
|
|
<img
|
|
<img
|
|
class="nav-img"
|
|
class="nav-img"
|
|
src="
|
|
src="
|
|
- {% if current_page == "none" %}
|
|
|
|
|
|
+ {% if current_page == "user_information" %}
|
|
{% static 'SharixAdmin/img/menu/hdd-network_w.svg' %}
|
|
{% static 'SharixAdmin/img/menu/hdd-network_w.svg' %}
|
|
{% else %}
|
|
{% else %}
|
|
{% static 'SharixAdmin/img/menu/hdd-network.svg' %}
|
|
{% static 'SharixAdmin/img/menu/hdd-network.svg' %}
|
|
@@ -119,6 +121,23 @@
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
|
|
+ {% else %}
|
|
|
|
+ <li class="nav-item">
|
|
|
|
+ <a href="{% url 'webservice_running:order_reg' %}" class="nav-link {% if current_page == "order_reg" %}active rounded{% endif %}">
|
|
|
|
+ <div class="link d-flex align-items-center">
|
|
|
|
+ <img
|
|
|
|
+ class="nav-img"
|
|
|
|
+ src="
|
|
|
|
+ {% if current_page == "order_reg" %}
|
|
|
|
+ {% static 'SharixAdmin/img/menu/order_w.svg' %}
|
|
|
|
+ {% else %}
|
|
|
|
+ {% static 'SharixAdmin/img/menu/order.svg' %}
|
|
|
|
+ {% endif %}">
|
|
|
|
+ <span class="menu-bar-label">Мои заказы</span>
|
|
|
|
+ </div>
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ {% endif %}
|
|
<li class="nav-item">
|
|
<li class="nav-item">
|
|
<a href="{% url 'trans' %}" class="nav-link {% if current_page == "transactions" %}active rounded{% endif %}">
|
|
<a href="{% url 'trans' %}" class="nav-link {% if current_page == "transactions" %}active rounded{% endif %}">
|
|
<div class="link d-flex align-items-center">
|
|
<div class="link d-flex align-items-center">
|
|
@@ -134,6 +153,7 @@
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
|
|
+ {% if user.is_superuser %}
|
|
<li class="nav-item">
|
|
<li class="nav-item">
|
|
<a href="{% url 'service_information-add' %}" class="nav-link {% if current_page == "service_info" %}active rounded{% endif %}">
|
|
<a href="{% url 'service_information-add' %}" class="nav-link {% if current_page == "service_info" %}active rounded{% endif %}">
|
|
<div class="link d-flex align-items-center">
|
|
<div class="link d-flex align-items-center">
|
|
@@ -165,12 +185,12 @@
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
<li class="nav-item">
|
|
<li class="nav-item">
|
|
- <a href="{% url 'payment' %}" class="nav-link {% if current_page == "payment" %}active rounded{% endif %}">
|
|
|
|
|
|
+ <a href="{% url 'task_management' %}" class="nav-link {% if current_page == "task_management" %}active rounded{% endif %}">
|
|
<div class="link d-flex align-items-center">
|
|
<div class="link d-flex align-items-center">
|
|
<img
|
|
<img
|
|
class="nav-img"
|
|
class="nav-img"
|
|
src="
|
|
src="
|
|
- {% if current_page == "payment" %}
|
|
|
|
|
|
+ {% if current_page == "task_management" %}
|
|
{% static 'SharixAdmin/img/menu/clipboard-w.svg' %}
|
|
{% static 'SharixAdmin/img/menu/clipboard-w.svg' %}
|
|
{% else %}
|
|
{% else %}
|
|
{% static 'SharixAdmin/img/menu/clipboard.svg' %}
|
|
{% static 'SharixAdmin/img/menu/clipboard.svg' %}
|
|
@@ -180,12 +200,12 @@
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
<li class="nav-item">
|
|
<li class="nav-item">
|
|
- <a href="{% url 'payment' %}" class="nav-link {% if current_page == "payment" %}active rounded{% endif %}">
|
|
|
|
|
|
+ <a href="{% url 'comments' %}" class="nav-link {% if current_page == "comments" %}active rounded{% endif %}">
|
|
<div class="link d-flex align-items-center">
|
|
<div class="link d-flex align-items-center">
|
|
<img
|
|
<img
|
|
class="nav-img"
|
|
class="nav-img"
|
|
src="
|
|
src="
|
|
- {% if current_page == "payment" %}
|
|
|
|
|
|
+ {% if current_page == "comments" %}
|
|
{% static 'SharixAdmin/img/menu/message-square_w.svg' %}
|
|
{% static 'SharixAdmin/img/menu/message-square_w.svg' %}
|
|
{% else %}
|
|
{% else %}
|
|
{% static 'SharixAdmin/img/menu/message-square.svg' %}
|
|
{% static 'SharixAdmin/img/menu/message-square.svg' %}
|
|
@@ -194,6 +214,68 @@
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
|
|
+ {% else %}
|
|
|
|
+ <li class="nav-item">
|
|
|
|
+ <a href="{% url 'service_information-add' %}" class="nav-link {% if current_page == "service_info" %}active rounded{% endif %}">
|
|
|
|
+ <div class="link d-flex align-items-center">
|
|
|
|
+ <img
|
|
|
|
+ class="nav-img"
|
|
|
|
+ src="
|
|
|
|
+ {% if current_page == "service_info" %}
|
|
|
|
+ {% static 'SharixAdmin/img/menu/person_w.svg' %}
|
|
|
|
+ {% else %}
|
|
|
|
+ {% static 'SharixAdmin/img/menu/person.svg' %}
|
|
|
|
+ {% endif %}">
|
|
|
|
+ <span class="menu-bar-label">Информация о сервисе</span>
|
|
|
|
+ </div>
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ <li class="nav-item">
|
|
|
|
+ <a href="{% url 'payment_way' %}" class="nav-link {% if current_page == "payment_way" %}active rounded{% endif %}">
|
|
|
|
+ <div class="link d-flex align-items-center">
|
|
|
|
+ <img
|
|
|
|
+ class="nav-img"
|
|
|
|
+ src="
|
|
|
|
+ {% if current_page == "payment_way" %}
|
|
|
|
+ {% static 'SharixAdmin/img/menu/credit-card_w.svg' %}
|
|
|
|
+ {% else %}
|
|
|
|
+ {% static 'SharixAdmin/img/menu/credit-card.svg' %}
|
|
|
|
+ {% endif %}">
|
|
|
|
+ <span class="menu-bar-label">Способ оплаты</span>
|
|
|
|
+ </div>
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ <li class="nav-item">
|
|
|
|
+ <a href="{% url 'tech_support' %}" class="nav-link {% if current_page == "tech_support" %}active rounded{% endif %}">
|
|
|
|
+ <div class="link d-flex align-items-center">
|
|
|
|
+ <img
|
|
|
|
+ class="nav-img"
|
|
|
|
+ src="
|
|
|
|
+ {% if current_page == "tech_support" %}
|
|
|
|
+ {% static 'SharixAdmin/img/menu/repair-tool-w.svg' %}
|
|
|
|
+ {% else %}
|
|
|
|
+ {% static 'SharixAdmin/img/menu/repair-tool.svg' %}
|
|
|
|
+ {% endif %}">
|
|
|
|
+ <span class="menu-bar-label">Техническая поддержка</span>
|
|
|
|
+ </div>
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ <li class="nav-item">
|
|
|
|
+ <a href="{% url 'account' %}" class="nav-link {% if current_page == "account" %}active rounded{% endif %}">
|
|
|
|
+ <div class="link d-flex align-items-center">
|
|
|
|
+ <img
|
|
|
|
+ class="nav-img"
|
|
|
|
+ src="
|
|
|
|
+ {% if current_page == "account" %}
|
|
|
|
+ {% static 'SharixAdmin/img/menu/person_acc-w.svg' %}
|
|
|
|
+ {% else %}
|
|
|
|
+ {% static 'SharixAdmin/img/menu/person_acc.svg' %}
|
|
|
|
+ {% endif %}">
|
|
|
|
+ <span class="menu-bar-label">Личный кабинет</span>
|
|
|
|
+ </div>
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+ {% endif %}
|
|
</ul>
|
|
</ul>
|
|
</nav>
|
|
</nav>
|
|
|
|
|