1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

Update navbar-side.html

Added class switchMode to switch theme
This commit is contained in:
Yousef Alsbaihi
2023-07-15 22:26:14 -07:00
committed by GitHub
parent d475b01cc4
commit 829d00db3b

View File

@@ -14,7 +14,7 @@
{% endunless %} {% endunless %}
<div class="d-none d-{{ include.breakpoint }}-flex"> <div class="d-none d-{{ include.breakpoint }}-flex">
<a href="?theme=dark" class="nav-link px-0 hide-theme-dark" title="Enable dark mode" data-bs-toggle="tooltip" <a href="javascript:;" class="switchMode nav-link px-0 hide-theme-dark" title="Enable dark mode" data-bs-toggle="tooltip"
data-bs-placement="bottom"> data-bs-placement="bottom">
{% include ui/icon.html icon="moon" %} {% include ui/icon.html icon="moon" %}
</a> </a>
@@ -55,4 +55,4 @@
<a href="{{ site.base }}/sign-in.html" class="dropdown-item">Logout</a> <a href="{{ site.base }}/sign-in.html" class="dropdown-item">Logout</a>
</div> </div>
</div> </div>
</div> </div>