509 lines
28 KiB
HTML
509 lines
28 KiB
HTML
{% load i18n %}
|
|
{% load static %}
|
|
|
|
{% if navbar_detached %}
|
|
<nav class="layout-navbar {{container_class}} navbar navbar-expand-xl {{navbar_detached_class}} align-items-center bg-navbar-theme" id="layout-navbar">
|
|
{% endif %}
|
|
|
|
{# Horizontal layout (navbar not detached) #}
|
|
|
|
{% if not navbar_detached %}
|
|
<nav class="layout-navbar navbar navbar-expand-xl align-items-center" id="layout-navbar">
|
|
<div class="{{container_class}}">
|
|
{% endif %}
|
|
<!-- Brand demo (display only for navbar-full and hide on below xl) -->
|
|
{% if navbar_full %}
|
|
<div class="navbar-brand app-brand demo d-none d-xl-flex py-0 me-4 ms-0">
|
|
<a href="{% url 'index' %}" class="app-brand-link">
|
|
<span class="app-brand-logo demo">
|
|
{% include 'partials/logo.html' %}
|
|
</span>
|
|
<span class="app-brand-text demo menu-text fw-bold text-heading">{% get_theme_variables 'template_name' %}</span>
|
|
</a>
|
|
|
|
{% if menu_horizontal %}
|
|
<a href="javascript:void(0);" class="layout-menu-toggle menu-link text-large ms-auto d-xl-none">
|
|
<i class="icon-base ti tabler-x icon-sm d-flex align-items-center justify-content-center"></i>
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<!-- ! Not required for layout-without-menu -->
|
|
{% if not navbar_hide_toggle %}
|
|
<div class="layout-menu-toggle navbar-nav align-items-xl-center me-3 me-xl-0 {{ menu_horizontal|yesno:'d-xl-none,' }} {{ content_navbar|yesno:'d-xl-none,' }}">
|
|
<a class="nav-item nav-link px-0 me-xl-6" href="javascript:void(0)">
|
|
<i class="icon-base ti tabler-menu-2 icon-md"></i>
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="navbar-nav-right d-flex align-items-center" id="navbar-collapse">
|
|
{% if not menu_horizontal %}
|
|
<!-- Search -->
|
|
<div class="navbar-nav align-items-center">
|
|
<div class="nav-item navbar-search-wrapper px-md-0 px-2 mb-0">
|
|
<a class="nav-item nav-link search-toggler d-flex align-items-center px-0" href="javascript:void(0);">
|
|
<span class="d-inline-block text-body-secondary fw-normal" id="autocomplete"></span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<!-- /Search -->
|
|
{% endif %}
|
|
<ul class="navbar-nav flex-row align-items-center ms-auto">
|
|
<!--/ Language -->
|
|
{% if menu_horizontal %}
|
|
<!-- Search -->
|
|
<li class="nav-item navbar-search-wrapper btn btn-text-secondary btn-icon rounded-pill">
|
|
<a class="nav-item nav-link search-toggler px-0" href="javascript:void(0);">
|
|
<span class="d-inline-block text-body-secondary fw-normal" id="autocomplete"></span>
|
|
</a>
|
|
</li>
|
|
<!-- /Search -->
|
|
{% endif %}
|
|
<!-- Language -->
|
|
<li class="nav-item dropdown-language dropdown me-2 me-xl-0">
|
|
<a class="nav-link dropdown-toggle hide-arrow" href="javascript:void(0);" data-bs-toggle="dropdown">
|
|
<i class="icon-base ti tabler-language icon-22px text-heading"></i>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-menu-end">
|
|
<li>
|
|
<a class="dropdown-item {% if LANGUAGE_CODE == 'en' %}active{% endif %}" href="{% current_url request %}" data-language="en" data-text-direction="ltr">
|
|
<span class="align-middle">{% trans "English"%}</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="dropdown-item {% if LANGUAGE_CODE == 'fr' %}active{% endif %}" href="{% current_url request %}" data-language="fr" data-text-direction="ltr">
|
|
<span class="align-middle">{% trans "French"%}</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="dropdown-item {% if LANGUAGE_CODE == 'ar' %}active{% endif %}" href="{% current_url request %}" data-language="ar" data-text-direction="rtl">
|
|
<span class="align-middle">{% trans "Arabic"%}</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="dropdown-item {% if LANGUAGE_CODE == 'de' %}active{% endif %}" href="{% current_url request %}" data-language="de" data-text-direction="ltr">
|
|
<span class="align-middle">{% trans "German"%}</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<!--/ Language -->
|
|
|
|
{% if has_customizer %}
|
|
<!-- Style Switcher -->
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle hide-arrow btn btn-icon btn-text-secondary rounded-pill" id="nav-theme" href="javascript:void(0);" data-bs-toggle="dropdown">
|
|
<i class="icon-base ti tabler-sun icon-22px theme-icon-active text-heading"></i>
|
|
<span class="d-none ms-2" id="nav-theme-text">Toggle theme</span>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-theme-text">
|
|
<li>
|
|
<button type="button" class="dropdown-item align-items-center active" data-bs-theme-value="light" aria-pressed="false">
|
|
<span><i class="icon-base ti tabler-sun icon-22px me-3" data-icon="sun"></i>Light</span>
|
|
</button>
|
|
</li>
|
|
<li>
|
|
<button type="button" class="dropdown-item align-items-center" data-bs-theme-value="dark" aria-pressed="true">
|
|
<span><i class="icon-base ti tabler-moon-stars icon-22px me-3" data-icon="moon-stars"></i>Dark</span>
|
|
</button>
|
|
</li>
|
|
<li>
|
|
<button type="button" class="dropdown-item align-items-center" data-bs-theme-value="system" aria-pressed="false">
|
|
<span><i class="icon-base ti tabler-device-desktop-analytics icon-22px me-3" data-icon="device-desktop-analytics"></i>System</span>
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<!--/ Style Switcher -->
|
|
{% endif %}
|
|
|
|
<!-- Quick links -->
|
|
<li class="nav-item dropdown-shortcuts navbar-dropdown dropdown">
|
|
<a class="nav-link dropdown-toggle hide-arrow btn btn-icon btn-text-secondary rounded-pill" href="javascript:void(0);" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
|
|
<i class="icon-base ti tabler-layout-grid-add icon-22px text-heading"></i>
|
|
</a>
|
|
<div class="dropdown-menu dropdown-menu-end p-0">
|
|
<div class="dropdown-menu-header border-bottom">
|
|
<div class="dropdown-header d-flex align-items-center py-3">
|
|
<h6 class="mb-0 me-auto">Shortcuts</h6>
|
|
<a href="javascript:void(0)" class="dropdown-shortcuts-add py-2 btn btn-text-secondary rounded-pill btn-icon" data-bs-toggle="tooltip" data-bs-placement="top" title="Add shortcuts"><i class="icon-base ti tabler-plus icon-20px text-heading"></i></a>
|
|
</div>
|
|
</div>
|
|
<div class="dropdown-shortcuts-list scrollable-container">
|
|
<div class="row row-bordered overflow-visible g-0">
|
|
<div class="dropdown-shortcuts-item col">
|
|
<span class="dropdown-shortcuts-icon rounded-circle mb-3">
|
|
<i class="icon-base ti tabler-calendar icon-26px text-heading"></i>
|
|
</span>
|
|
<a href="{% url 'app-calendar' %}" class="stretched-link">Calendar</a>
|
|
<small>Appointments</small>
|
|
</div>
|
|
<div class="dropdown-shortcuts-item col">
|
|
<span class="dropdown-shortcuts-icon rounded-circle mb-3">
|
|
<i class="icon-base ti tabler-file-dollar icon-26px text-heading"></i>
|
|
</span>
|
|
<a href="{% url 'app-invoice-list' %}" class="stretched-link">Invoice App</a>
|
|
<small>Manage Accounts</small>
|
|
</div>
|
|
</div>
|
|
<div class="row row-bordered overflow-visible g-0">
|
|
<div class="dropdown-shortcuts-item col">
|
|
<span class="dropdown-shortcuts-icon rounded-circle mb-3">
|
|
<i class="icon-base ti tabler-user icon-26px text-heading"></i>
|
|
</span>
|
|
<a href="{% url 'app-user-list' %}" class="stretched-link">User App</a>
|
|
<small>Manage Users</small>
|
|
</div>
|
|
<div class="dropdown-shortcuts-item col">
|
|
<span class="dropdown-shortcuts-icon rounded-circle mb-3">
|
|
<i class="icon-base ti tabler-users icon-26px text-heading"></i>
|
|
</span>
|
|
<a href="{% url 'app-access-roles' %}" class="stretched-link">Role Management</a>
|
|
<small>Permission</small>
|
|
</div>
|
|
</div>
|
|
<div class="row row-bordered overflow-visible g-0">
|
|
<div class="dropdown-shortcuts-item col">
|
|
<span class="dropdown-shortcuts-icon rounded-circle mb-3">
|
|
<i class="icon-base ti tabler-device-desktop-analytics icon-26px text-heading"></i>
|
|
</span>
|
|
<a href="{% url 'index' %}" class="stretched-link">Dashboard</a>
|
|
<small>User Dashboard</small>
|
|
</div>
|
|
<div class="dropdown-shortcuts-item col">
|
|
<span class="dropdown-shortcuts-icon rounded-circle mb-3">
|
|
<i class="icon-base ti tabler-settings icon-26px text-heading"></i>
|
|
</span>
|
|
<a href="{% url 'pages-account-settings-security' %}" class="stretched-link">Setting</a>
|
|
<small>Account Settings</small>
|
|
</div>
|
|
</div>
|
|
<div class="row row-bordered overflow-visible g-0">
|
|
<div class="dropdown-shortcuts-item col">
|
|
<span class="dropdown-shortcuts-icon rounded-circle mb-3">
|
|
<i class="icon-base ti tabler-help-circle icon-26px text-heading"></i>
|
|
</span>
|
|
<a href="{% url 'pages-faq' %}" class="stretched-link">FAQs</a>
|
|
<small>FAQs & Articles</small>
|
|
</div>
|
|
<div class="dropdown-shortcuts-item col">
|
|
<span class="dropdown-shortcuts-icon rounded-circle mb-3">
|
|
<i class="icon-base ti tabler-square icon-26px text-heading"></i>
|
|
</span>
|
|
<a href="{% url 'modal-examples' %}" class="stretched-link">Modals</a>
|
|
<small>Useful Popups</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<!-- Quick links -->
|
|
|
|
<!-- Notification -->
|
|
<li class="nav-item dropdown-notifications navbar-dropdown dropdown me-3 me-xl-2">
|
|
<a class="nav-link dropdown-toggle hide-arrow btn btn-icon btn-text-secondary rounded-pill" href="javascript:void(0);" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
|
|
<span class="position-relative">
|
|
<i class="icon-base ti tabler-bell icon-22px text-heading"></i>
|
|
<span class="badge rounded-pill bg-danger badge-dot badge-notifications border"></span>
|
|
</span>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-menu-end p-0">
|
|
<li class="dropdown-menu-header border-bottom">
|
|
<div class="dropdown-header d-flex align-items-center py-3">
|
|
<h6 class="mb-0 me-auto">Notification</h6>
|
|
<div class="d-flex align-items-center h6 mb-0">
|
|
<span class="badge bg-label-primary me-2">8 New</span>
|
|
<a href="javascript:void(0)" class="dropdown-notifications-all p-2 btn btn-icon" data-bs-toggle="tooltip" data-bs-placement="top" title="Mark all as read"><i class="icon-base ti tabler-mail-opened text-heading"></i></a>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="dropdown-notifications-list scrollable-container">
|
|
<ul class="list-group list-group-flush">
|
|
<li class="list-group-item list-group-item-action dropdown-notifications-item">
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<div class="avatar">
|
|
<img src="{% static 'img/avatars/1.png' %}" alt class="rounded-circle" />
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h6 class="small mb-1">Congratulation Lettie 🎉</h6>
|
|
<small class="mb-1 d-block text-body">Won the monthly best seller gold badge</small>
|
|
<small class="text-body-secondary">1h ago</small>
|
|
</div>
|
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
|
<a href="javascript:void(0)" class="dropdown-notifications-read"><span class="badge badge-dot"></span></a>
|
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"><span class="icon-base ti tabler-x"></span></a>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action dropdown-notifications-item">
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<div class="avatar">
|
|
<span class="avatar-initial rounded-circle bg-label-danger">CF</span>
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h6 class="mb-1 small">Charles Franklin</h6>
|
|
<small class="mb-1 d-block text-body">Accepted your connection</small>
|
|
<small class="text-body-secondary">12hr ago</small>
|
|
</div>
|
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
|
<a href="javascript:void(0)" class="dropdown-notifications-read"><span class="badge badge-dot"></span></a>
|
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"><span class="icon-base ti tabler-x"></span></a>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action dropdown-notifications-item marked-as-read">
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<div class="avatar">
|
|
<img src="{% static 'img/avatars/2.png' %}" alt class="rounded-circle" />
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h6 class="mb-1 small">New Message ✉️</h6>
|
|
<small class="mb-1 d-block text-body">You have new message from Natalie</small>
|
|
<small class="text-body-secondary">1h ago</small>
|
|
</div>
|
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
|
<a href="javascript:void(0)" class="dropdown-notifications-read"><span class="badge badge-dot"></span></a>
|
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"><span class="icon-base ti tabler-x"></span></a>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action dropdown-notifications-item">
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<div class="avatar">
|
|
<span class="avatar-initial rounded-circle bg-label-success"><i class="icon-base ti tabler-shopping-cart"></i></span>
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h6 class="mb-1 small">Whoo! You have new order 🛒</h6>
|
|
<small class="mb-1 d-block text-body">ACME Inc. made new order $1,154</small>
|
|
<small class="text-body-secondary">1 day ago</small>
|
|
</div>
|
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
|
<a href="javascript:void(0)" class="dropdown-notifications-read"><span class="badge badge-dot"></span></a>
|
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"><span class="icon-base ti tabler-x"></span></a>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action dropdown-notifications-item marked-as-read">
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<div class="avatar">
|
|
<img src="{% static 'img/avatars/9.png' %}" alt class="rounded-circle" />
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h6 class="mb-1 small">Application has been approved 🚀</h6>
|
|
<small class="mb-1 d-block text-body">Your ABC project application has been approved.</small>
|
|
<small class="text-body-secondary">2 days ago</small>
|
|
</div>
|
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
|
<a href="javascript:void(0)" class="dropdown-notifications-read"><span class="badge badge-dot"></span></a>
|
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"><span class="icon-base ti tabler-x"></span></a>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action dropdown-notifications-item marked-as-read">
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<div class="avatar">
|
|
<span class="avatar-initial rounded-circle bg-label-success"><i class="icon-base ti tabler-chart-pie"></i></span>
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h6 class="mb-1 small">Monthly report is generated</h6>
|
|
<small class="mb-1 d-block text-body">July monthly financial report is generated </small>
|
|
<small class="text-body-secondary">3 days ago</small>
|
|
</div>
|
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
|
<a href="javascript:void(0)" class="dropdown-notifications-read"><span class="badge badge-dot"></span></a>
|
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"><span class="icon-base ti tabler-x"></span></a>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action dropdown-notifications-item marked-as-read">
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<div class="avatar">
|
|
<img src="{% static 'img/avatars/5.png' %}" alt class="rounded-circle" />
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h6 class="mb-1 small">Send connection request</h6>
|
|
<small class="mb-1 d-block text-body">Peter sent you connection request</small>
|
|
<small class="text-body-secondary">4 days ago</small>
|
|
</div>
|
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
|
<a href="javascript:void(0)" class="dropdown-notifications-read"><span class="badge badge-dot"></span></a>
|
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"><span class="icon-base ti tabler-x"></span></a>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action dropdown-notifications-item">
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<div class="avatar">
|
|
<img src="{% static 'img/avatars/6.png' %}" alt class="rounded-circle" />
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h6 class="mb-1 small">New message from Jane</h6>
|
|
<small class="mb-1 d-block text-body">Your have new message from Jane</small>
|
|
<small class="text-body-secondary">5 days ago</small>
|
|
</div>
|
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
|
<a href="javascript:void(0)" class="dropdown-notifications-read"><span class="badge badge-dot"></span></a>
|
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"><span class="icon-base ti tabler-x"></span></a>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action dropdown-notifications-item marked-as-read">
|
|
<div class="d-flex">
|
|
<div class="flex-shrink-0 me-3">
|
|
<div class="avatar">
|
|
<span class="avatar-initial rounded-circle bg-label-warning"><i class="icon-base ti tabler-alert-triangle"></i></span>
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h6 class="mb-1 small">CPU is running high</h6>
|
|
<small class="mb-1 d-block text-body">CPU Utilization Percent is currently at 88.63%,</small>
|
|
<small class="text-body-secondary">5 days ago</small>
|
|
</div>
|
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
|
<a href="javascript:void(0)" class="dropdown-notifications-read"><span class="badge badge-dot"></span></a>
|
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"><span class="icon-base ti tabler-x"></span></a>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="border-top">
|
|
<div class="d-grid p-4">
|
|
<a class="btn btn-primary btn-sm d-flex" href="javascript:void(0);">
|
|
<small class="align-middle">View all notifications</small>
|
|
</a>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<!--/ Notification -->
|
|
|
|
<!-- User -->
|
|
<li class="nav-item navbar-dropdown dropdown-user dropdown">
|
|
<a class="nav-link dropdown-toggle hide-arrow p-0" href="javascript:void(0);" data-bs-toggle="dropdown">
|
|
<div class="avatar avatar-online">
|
|
{% if request.user|has_group:"admin" %}
|
|
<img src="{% static 'img/avatars/1.png' %}" alt class="h-auto rounded-circle">
|
|
{% else %}
|
|
<img src="{% static 'img/avatars/3.png' %}" alt class="h-auto rounded-circle">
|
|
{% endif %}
|
|
</div>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-menu-end">
|
|
<li>
|
|
<a class="dropdown-item mt-0" href="{% url 'pages-account-settings-account' %}">
|
|
<div class="d-flex align-items-center">
|
|
<div class="flex-shrink-0 me-2">
|
|
<div class="avatar avatar-online">
|
|
{% if request.user|has_group:"admin" %}
|
|
<img src="{% static 'img/avatars/1.png' %}" alt class="rounded-circle">
|
|
{% else %}
|
|
<img src="{% static 'img/avatars/3.png' %}" alt class="rounded-circle">
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<div class="flex-grow-1">
|
|
<h6 class="mb-0">{{ request.user.username }}</h6>
|
|
{% for group in request.user.groups.all %}
|
|
<small class="text-muted">{{ group.name }}</small>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<div class="dropdown-divider my-1 mx-n2"></div>
|
|
</li>
|
|
<li>
|
|
<a class="dropdown-item" href="{% url 'pages-profile-user' %}">
|
|
<i class="icon-base ti tabler-user me-3 icon-md"></i><span class="align-middle">My Profile</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="dropdown-item" href="{% url 'pages-account-settings-account' %}">
|
|
<i class="icon-base ti tabler-settings me-3 icon-md"></i><span class="align-middle">Settings</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="dropdown-item" href="{% url 'pages-account-settings-billing' %}">
|
|
<span class="d-flex align-items-center align-middle">
|
|
<i class="flex-shrink-0 icon-base ti tabler-file-dollar me-3 icon-md"></i><span class="flex-grow-1 align-middle">Billing</span>
|
|
<span class="flex-shrink-0 badge bg-danger d-flex align-items-center justify-content-center">4</span>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<div class="dropdown-divider my-1 mx-n2"></div>
|
|
</li>
|
|
<li>
|
|
<a class="dropdown-item" href="{% url 'pages-faq' %}">
|
|
<i class="icon-base ti tabler-currency-dollar me-3 icon-md"></i><span class="align-middle">Pricing</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="dropdown-item" href="{% url 'pages-pricing' %}">
|
|
<i class="icon-base ti tabler-question-mark me-3 icon-md"></i><span class="align-middle">FAQ</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<div class="dropdown-divider"></div>
|
|
</li>
|
|
<li>
|
|
{% if request.user.is_authenticated and request.user.profile.is_verified %}
|
|
<span class="dropdown-item d-flex justify-content-between align-content-center">
|
|
<span>
|
|
<i class='icon-base ti tabler-user-circle me-2 ti-md'></i>
|
|
<span class="align-middle">Verified</span>
|
|
</span>
|
|
<span class="text-success"><i class='icon-base ti tabler-circle-check ti-md'></i></span>
|
|
</span>
|
|
{% else %}
|
|
<a class="dropdown-item d-flex justify-content-between align-content-center" href="{% url 'verify-email-page' %}">
|
|
<span>
|
|
<i class='icon-base ti tabler-user-circle me-2 ti-md'></i>
|
|
<span class="align-middle">Not Verified</span>
|
|
</span>
|
|
<span class="text-danger"><i class='icon-base ti tabler-circle-x ti-md'></i></span>
|
|
</a>
|
|
{% endif %}
|
|
</li>
|
|
<li class="mt-1">
|
|
<form action="{% url 'logout' %}" method="post">
|
|
{% csrf_token %}
|
|
<button type="submit" class="btn btn-sm btn-danger d-flex w-100">
|
|
<span class="align-middle">Log Out</span>
|
|
<i class="icon-base ti tabler-logout ms-2 icon-14px"></i>
|
|
</button>
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<!--/ User -->
|
|
</ul>
|
|
</div>
|
|
{% if not navbar_detached %}
|
|
</div>
|
|
</nav>
|
|
{% endif %}
|
|
{% if navbar_detached %}
|
|
</nav>
|
|
{% endif %}
|