mirror of
https://github.com/tabler/tabler.git
synced 2026-07-29 14:34:37 +04:00
topmenu subnav
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
</span>
|
||||
</a>
|
||||
{% if level-1[1].children or level-1[1].docs %}
|
||||
<div class="collapse{% if level-1[0] == current-page[0] %} show{% endif %}" id="sidebar-{{ level-1[0] }}">
|
||||
<div class="navbar-subnav collapse{% if level-1[0] == current-page[0] %} show{% endif %}" id="sidebar-{{ level-1[0] }}">
|
||||
<ul class="nav">
|
||||
|
||||
{% if level-1[1].docs %}
|
||||
@@ -50,7 +50,7 @@
|
||||
</span>
|
||||
</a>
|
||||
{% if level-2[1].children %}
|
||||
<div class="collapse{% if level-2[0] == current-page[1] %} show{% endif %}" id="sidebar-{{ level-2[0] }}">
|
||||
<div class="navbar-subnav collapse{% if level-2[0] == current-page[1] %} show{% endif %}" id="sidebar-{{ level-2[0] }}">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
{% for level-3 in level-2[1].children %}
|
||||
<li class="nav-item">
|
||||
@@ -64,7 +64,7 @@
|
||||
</a>
|
||||
|
||||
{% if level-3[1].children %}
|
||||
<div class="collapse{% if level-3[0] == current-page[2] %} show{% endif %}" id="sidebar-{{ level-3[0] }}">
|
||||
<div class="navbar-subnav collapse{% if level-3[0] == current-page[2] %} show{% endif %}" id="sidebar-{{ level-3[0] }}">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
{% for level-4 in level-3[1].children %}
|
||||
<li class="nav-item">
|
||||
|
||||
Reference in New Issue
Block a user