update menu
This commit is contained in:
@@ -29,10 +29,11 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="admin-global-container">
|
||||
|
||||
<!-- Menu full -->
|
||||
<div class="admin-menu-container box-menu sticky top-0 bottom-0 h-[100vh] hidden" id="js-menu-big">
|
||||
<div class="admin-menu-container box-menu sticky top-0 bottom-0 h-[100vh]" id="js-menu-big">
|
||||
<a href="javascript:void(0)" class="icon-close" title="Thu gọn menu" id="js-hide-menu">
|
||||
<i class="fa-solid fa-outdent"></i>
|
||||
</a>
|
||||
@@ -42,9 +43,9 @@
|
||||
</a>
|
||||
|
||||
<div class="menu-list">
|
||||
<a href="/" class="item">
|
||||
<a href="/" class="item {% if global.module == 'home' %} active {% endif %}">
|
||||
<i class="icons icon-home"></i>
|
||||
<span class="title"> Dashboard </span>
|
||||
<span class="title"> Home </span>
|
||||
</a>
|
||||
|
||||
{% for _category in global.main_menu %}
|
||||
@@ -52,7 +53,7 @@
|
||||
{% assign _menuArray = _category[1].menu %}
|
||||
{% if _category[1].enable == 1 %}
|
||||
<details {% if _type==global.module %} open {% endif %}>
|
||||
<summary class="item">
|
||||
<summary class="item {% if _type == global.module %} active {% endif %}">
|
||||
<div class="flex items-center">
|
||||
|
||||
{% if _type == 'order' %} <i class="icons icon-order"></i>
|
||||
@@ -72,7 +73,7 @@
|
||||
<span class="title"> {{ _category[1].name }} </span>
|
||||
</div>
|
||||
|
||||
<i class="fa-solid fa-angle-right"></i>
|
||||
<i class="fa-solid fa-chevron-right"></i>
|
||||
</summary>
|
||||
|
||||
<div class="sub-menu">
|
||||
@@ -112,7 +113,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Menu collapse -->
|
||||
<div class="admin-menu box-menu fixed top-0 bg-[#004E99] flex flex-col justify-between pb-[20px] min-h-[100vh]"
|
||||
<div class="admin-menu box-menu fixed top-0 bg-[#004E99] flex flex-col justify-between pb-[20px] min-h-[100vh] hidden"
|
||||
id="js-menu-small">
|
||||
<div>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user