1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-16 16:22:22 +04:00

navigation refactoring

This commit is contained in:
codecalm
2019-10-28 10:51:40 +01:00
parent df6718f1ed
commit 0ad2c38c61
21 changed files with 360 additions and 327 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
{% assign menu = page.menu | default: layout.menu %}
<aside class="navbar navbar-side{% if include.dark %} navbar-dark{% endif %}{% if include.fixed %} navbar-fixed{% endif %}{% if include.right %} navbar-right{% endif %}{% if include.folded %} navbar-folded{% endif %} js-sidebar">
<aside class="navbar navbar-side {% if include.dark %}navbar-dark bg-dark text-white{% else %}navbar-light{% endif %}{% if include.fixed %} navbar-fixed{% endif %}{% if include.right %} navbar-right{% endif %}{% if include.folded %} navbar-folded{% endif %} js-sidebar" id="sidebar">
{% unless include.empty %}
{% include layout/sidenav-content.html menu=menu %}
{% include layout/sidenav-content.html menu=menu dark=include.dark %}
{% endunless %}
</aside>
<div class="navbar-bg"></div>