fix accordion
This commit is contained in:
parent
1f2dab2fe9
commit
af453ba185
|
@ -75,7 +75,7 @@
|
||||||
<i class="bi bi-people icon_sidebar"></i>
|
<i class="bi bi-people icon_sidebar"></i>
|
||||||
People
|
People
|
||||||
</a>
|
</a>
|
||||||
<ul class="flex-column mb-2 ul_sidebar accordion-collapse collapse" id="people" data-bs-parent="#sidebarMenu">
|
<ul class="flex-column mb-2 ul_sidebar accordion-collapse {% if section == 'People' %}expanded{% else %}collapse{% endif %}" id="people" data-bs-parent="#sidebarMenu">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="{% url 'idhub:admin_people' %}">
|
<a class="nav-link" href="{% url 'idhub:admin_people' %}">
|
||||||
People list
|
People list
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
<i class="fa-solid fa-arrow-right-from-bracket icon_sidebar"></i>
|
<i class="fa-solid fa-arrow-right-from-bracket icon_sidebar"></i>
|
||||||
Access Control
|
Access Control
|
||||||
</a>
|
</a>
|
||||||
<ul class="flex-column mb-2 ul_sidebar accordion-collapse collapse" id="control-access" data-bs-parent="#sidebarMenu">
|
<ul class="flex-column mb-2 ul_sidebar accordion-collapse {% if section == 'AccessControl' %}expanded{% else %}collapse{% endif %}" id="control-access" data-bs-parent="#sidebarMenu">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link active2" href="{% url 'idhub:admin_roles' %}">
|
<a class="nav-link active2" href="{% url 'idhub:admin_roles' %}">
|
||||||
roles
|
roles
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
<i class="bi bi-patch-check icon_sidebar"></i>
|
<i class="bi bi-patch-check icon_sidebar"></i>
|
||||||
Credentials
|
Credentials
|
||||||
</a>
|
</a>
|
||||||
<ul class="flex-column mb-2 ul_sidebar accordion-collapse collapse" id="credentials" data-bs-parent="#sidebarMenu">
|
<ul class="flex-column mb-2 ul_sidebar accordion-collapse {% if section == 'Credentials' %}expanded{% else %}collapse{% endif %}" id="credentials" data-bs-parent="#sidebarMenu">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link active2" href="{% url 'idhub:admin_credentials' %}">
|
<a class="nav-link active2" href="{% url 'idhub:admin_credentials' %}">
|
||||||
Credentials list
|
Credentials list
|
||||||
|
@ -156,7 +156,7 @@
|
||||||
<i class="bi bi-file-earmark-text icon_sidebar"></i>
|
<i class="bi bi-file-earmark-text icon_sidebar"></i>
|
||||||
Schemes
|
Schemes
|
||||||
</a>
|
</a>
|
||||||
<ul class="flex-column mb-2 ul_sidebar accordion-collapse collapse" id="schemes" data-bs-parent="#sidebarMenu">
|
<ul class="flex-column mb-2 ul_sidebar accordion-collapse {% if section == 'Schemes' %}expanded{% else %}collapse{% endif %}" id="schemes" data-bs-parent="#sidebarMenu">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link active2" href="{% url 'idhub:admin_schemes' %}">
|
<a class="nav-link active2" href="{% url 'idhub:admin_schemes' %}">
|
||||||
List of schemes
|
List of schemes
|
||||||
|
@ -179,7 +179,7 @@
|
||||||
<i class="bi bi-arrow-down-square icon_sidebar"></i>
|
<i class="bi bi-arrow-down-square icon_sidebar"></i>
|
||||||
Imports/Exports
|
Imports/Exports
|
||||||
</a>
|
</a>
|
||||||
<ul class="flex-column mb-2 ul_sidebar accordion-collapse collapse" id="import-export" data-bs-parent="#sidebarMenu">
|
<ul class="flex-column mb-2 ul_sidebar accordion-collapse {% if section == 'ImportExport' %}expanded{% else %}collapse{% endif %}" id="import-export" data-bs-parent="#sidebarMenu">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link active2" href="{% url 'idhub:admin_import' %}">
|
<a class="nav-link active2" href="{% url 'idhub:admin_import' %}">
|
||||||
Import
|
Import
|
||||||
|
|
Loading…
Reference in New Issue