2024-02-26 13:28:32 +05:30
<!-- BEGIN SIDEBAR -->
{% load static%}
2024-04-02 19:23:52 +05:30
{% load resource_permission %}
2024-02-26 13:28:32 +05:30
< div class = "sidebar-wrapper sidebar-theme" >
< nav id = "sidebar" >
< div class = "navbar-nav theme-brand flex-row text-center" >
< div class = "nav-logo" >
< div class = "nav-item theme-logo" >
< a href = "./index.html" >
< img src = "{% static 'img/site_logo.png'%}" class = "navbar-logo" alt = "logo" >
< / a >
< / div >
< div class = "nav-item theme-text" >
< a href = "" class = "nav-link" > < img src = "{% static 'img/site_logo_txt1.png'%}" class = "navbar-logo" alt = "logo" style = "height: 35px;" > < / a >
< / div >
< / div >
< div class = "nav-item sidebar-toggle" >
< div class = "btn-toggle sidebarCollapse" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" class = "feather feather-chevrons-left" > < polyline points = "11 17 6 12 11 7" > < / polyline > < polyline points = "18 17 13 12 18 7" > < / polyline > < / svg >
< / div >
< / div >
< / div >
< div class = "shadow-bottom" > < / div >
< ul class = "list-unstyled menu-categories" id = "accordionExample" >
2024-05-27 15:29:57 +05:30
< li class = "menu {% if page_name == iam_constants_context.RESOURCE_MANAGE_DASHBOARD or not page_name%}active{% endif %}" >
2024-03-11 14:48:48 +05:30
< a href = "{% url 'module_iam:dashboard'%}" aria-expanded = "false" class = "dropdown-toggle" >
2024-02-26 13:28:32 +05:30
< div class = "" >
< span class = "material-symbols-outlined" > dashboard< / span >
< span > Dashboard< / span >
< / div >
< / a >
< / li >
2024-04-02 19:23:52 +05:30
{% if user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_IAM %}
2024-03-11 14:48:48 +05:30
< li class = "menu {% if page_name == iam_constants_context.RESOURCE_IAM_PRINCIPAL or page_name == iam_constants_context.RESOURCE_IAM_PRINCIPAL_GROUP or page_name == iam_constants_context.RESOURCE_IAM_GROUP or page_name == iam_constants_context.RESOURCE_IAM_ROLE %}active{% endif %}" >
2024-02-26 13:28:32 +05:30
< a href = "#iam" data-bs-toggle = "collapse" aria-expanded = "true" class = "dropdown-toggle" >
< div class = "" >
< span class = "material-symbols-outlined" > manage_accounts< / span >
< span > Manage IAM< / span >
< / div >
< div >
< svg xmlns = "http://www.w3.org/2000/svg" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" class = "feather feather-chevron-right" > < polyline points = "9 18 15 12 9 6" > < / polyline > < / svg >
< / div >
< / a >
< ul class = "collapse submenu list-unstyled show" id = "iam" data-bs-parent = "#accordionExample" >
2024-03-11 14:48:48 +05:30
< li class = "{% if page_name == iam_constants_context.RESOURCE_IAM_PRINCIPAL_GROUP %}active{% endif %}" >
2024-04-19 15:50:08 +05:30
< a href = "{% url 'module_iam:principal_group_link' %}" > Manage Admin< / a >
2024-02-26 13:28:32 +05:30
< / li >
2024-04-01 11:31:16 +05:30
<!-- <li class="{% if page_name == iam_constants_context.RESOURCE_IAM_GROUP %}active{% endif %}">
2024-03-11 14:48:48 +05:30
< a href = "{% url 'module_iam:principal_group' %}" > IAM Group < / a >
2024-02-26 13:28:32 +05:30
< / li >
2024-03-11 14:48:48 +05:30
< li class = "{% if page_name == iam_constants_context.RESOURCE_IAM_ROLE %}active{% endif %}" >
2024-04-08 00:33:02 +05:30
< a href = "{% url 'module_iam:role' %}" > IAM Role < / a >
< / li > -->
2024-02-26 13:28:32 +05:30
< / ul >
< / li >
2024-04-02 19:23:52 +05:30
{% endif %}
{% if user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_USER %}
2024-03-11 14:48:48 +05:30
< li class = "menu {% if page_name == iam_constants_context.RESOURCE_MANAGE_USER %}active{% endif %}" >
2024-02-26 13:28:32 +05:30
< a href = "{% url 'module_auth:users'%}" aria-expanded = "false" class = "dropdown-toggle" >
< div class = "" >
< span class = "material-symbols-outlined" > group< / span >
2024-03-11 14:48:48 +05:30
< span > Manage Users< / span >
2024-02-26 13:28:32 +05:30
< / div >
< / a >
< / li >
2024-04-02 19:23:52 +05:30
{% endif %}
{% if user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_FAQS or user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_T_C or user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_PRIVACYPOLICY %}
2024-03-11 14:48:48 +05:30
< li class = "menu {% if page_name == iam_constants_context.RESOURCE_MANAGE_CMS or page_name == iam_constants_context.RESOURCE_MANAGE_FAQS or page_name == iam_constants_context.RESOURCE_MANAGE_T_C or page_name == iam_constants_context.RESOURCE_MANAGE_PRIVACYPOLICY %}active{% endif %}" >
2024-02-26 13:28:32 +05:30
< a href = "#manage_cms" data-bs-toggle = "collapse" aria-expanded = "true" class = "dropdown-toggle" >
< div class = "" >
< span class = "material-symbols-outlined" > bookmark_manager< / span >
< span > Manage CMS< / span >
< / div >
< div >
< svg xmlns = "http://www.w3.org/2000/svg" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" class = "feather feather-chevron-right" > < polyline points = "9 18 15 12 9 6" > < / polyline > < / svg >
< / div >
< / a >
< ul class = "collapse submenu list-unstyled show" id = "manage_cms" data-bs-parent = "#accordionExample" >
2024-04-02 19:23:52 +05:30
{% if user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_FAQS %}
2024-03-11 14:48:48 +05:30
< li class = "{% if page_name == iam_constants_context.RESOURCE_MANAGE_FAQS %}active{% endif %}" >
2024-02-26 13:28:32 +05:30
< a href = "{% url 'module_cms:faq'%}" > FAQ's< / a >
< / li >
2024-04-02 19:23:52 +05:30
{% endif %}
{% if user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_T_C %}
2024-03-11 14:48:48 +05:30
< li class = "{% if page_name == iam_constants_context.RESOURCE_MANAGE_T_C %}active{% endif %}" >
2024-02-26 13:28:32 +05:30
< a href = "{% url 'module_cms:terms_and_condition'%}" > Terms & Condition < / a >
< / li >
2024-04-02 19:23:52 +05:30
{% endif %}
{% if user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_PRIVACYPOLICY %}
2024-03-11 14:48:48 +05:30
< li class = "{% if page_name == iam_constants_context.RESOURCE_MANAGE_PRIVACYPOLICY %}active{% endif %}" >
2024-02-26 13:28:32 +05:30
< a href = "{% url 'module_cms:privacy_policy'%}" > Privacy Policy< / a >
< / li >
2024-04-02 19:23:52 +05:30
{% endif %}
2024-02-26 13:28:32 +05:30
< / ul >
< / li >
2024-04-02 19:23:52 +05:30
{% endif %}
{% if user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_CONTACT_US or user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_FEEDBACK %}
2024-03-11 14:48:48 +05:30
< li class = "menu {% if page_name == iam_constants_context.RESOURCE_MANAGE_SUPPORT or page_name == iam_constants_context.RESOURCE_MANAGE_CONTACT_US or page_name == iam_constants_context.RESOURCE_MANAGE_FEEDBACK %}active{% endif %}" >
2024-02-26 13:28:32 +05:30
< a href = "#manage_support" data-bs-toggle = "collapse" aria-expanded = "true" class = "dropdown-toggle" >
< div class = "" >
< span class = "material-symbols-outlined" > phone_in_talk< / span >
< span > Manage Support< / span >
< / div >
< div >
< svg xmlns = "http://www.w3.org/2000/svg" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" class = "feather feather-chevron-right" > < polyline points = "9 18 15 12 9 6" > < / polyline > < / svg >
< / div >
< / a >
< ul class = "collapse submenu list-unstyled show" id = "manage_support" data-bs-parent = "#accordionExample" >
2024-04-02 19:23:52 +05:30
{% if user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_CONTACT_US %}
2024-03-11 14:48:48 +05:30
< li class = "{% if page_name == iam_constants_context.RESOURCE_MANAGE_CONTACT_US %}active{% endif %}" >
< a href = "{% url 'module_support:contact_us'%}" > Contact Us< / a >
2024-02-26 13:28:32 +05:30
< / li >
2024-04-02 19:23:52 +05:30
{% endif %}
{% if user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_FEEDBACK %}
2024-03-11 14:48:48 +05:30
< li class = "{% if page_name == iam_constants_context.RESOURCE_MANAGE_FEEDBACK %}active{% endif %}" >
< a href = "{% url 'module_support:feedback'%}" > Feedback < / a >
2024-02-26 13:28:32 +05:30
< / li >
2024-04-02 19:23:52 +05:30
{% endif %}
2024-02-26 13:28:32 +05:30
< / ul >
< / li >
2024-04-02 19:23:52 +05:30
{% endif %}
2024-02-26 13:28:32 +05:30
<!-- <li class="menu " >
< a href = "" aria-expanded = "false" class = "dropdown-toggle" >
< div class = "" >
< span class = "material-symbols-outlined" > phone_in_talk< / span >
< span > Manage Contact Us< / span >
< / div >
< / a >
< / li > -->
2024-03-11 14:48:48 +05:30
<!-- <li class="menu">
2024-02-26 13:28:32 +05:30
< a href = "./app-calendar.html" aria-expanded = "false" class = "dropdown-toggle" >
< div class = "" >
< span class = "material-symbols-outlined" > analytics< / span >
< span > Manage Reports< / span >
< / div >
< / a >
2024-03-11 14:48:48 +05:30
< / li > -->
2024-02-26 13:28:32 +05:30
<!-- <li class="menu ">
< a href = "" aria-expanded = "false" class = "dropdown-toggle" >
< div class = "" >
< span class = "material-symbols-outlined" > rate_review< / span >
< span > Manage Feedback< / span >
< / div >
< / a >
< / li > -->
2024-04-02 19:23:52 +05:30
{% if user|has_resource_permission:iam_constants_context.RESOURCE_MANAGE_NOTIFICATION %}
2024-03-11 14:48:48 +05:30
< li class = "menu {% if page_name == iam_constants_context.RESOURCE_MANAGE_NOTIFICATION %}active{% endif %}" >
< a href = "{% url 'module_notification:notification'%}" aria-expanded = "false" class = "dropdown-toggle" >
2024-02-26 13:28:32 +05:30
< div class = "" >
< span class = "material-symbols-outlined" > notifications< / span >
2024-03-11 14:48:48 +05:30
< span > Manage Notification< / span >
2024-02-26 13:28:32 +05:30
< / div >
< / a >
< / li >
2024-04-02 19:23:52 +05:30
{% endif %}
2024-02-26 13:28:32 +05:30
< / ul >
< / nav >
< / div >
<!-- END SIDEBAR -->