up
This commit is contained in:
@@ -11,13 +11,9 @@
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap"
|
||||
rel="stylesheet">
|
||||
<!-- <link href="https://cdn.jsdelivr.net/npm/daisyui@4.6.0/dist/full.min.css" rel="stylesheet" type="text/css" /> -->
|
||||
<link rel="stylesheet" media="screen" href="{{ 'full.min.css' | asset_url }}?v12.11" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
|
||||
<link rel="stylesheet" media="screen" href="{{ 'fancybox.css' | asset_url }}" />
|
||||
<link rel="stylesheet" media="screen" href="{{ 'select2.css' | asset_url }}?v2.1" />
|
||||
<link rel="stylesheet" media="screen" href="{{ 'pc_style.css' | asset_url }}?v2024.19" />
|
||||
|
||||
<script src="{{ 'tailwindcss.js' | asset_url }}"></script>
|
||||
|
||||
</head>
|
||||
|
||||
@@ -29,12 +25,12 @@
|
||||
<div class="admin-global-container">
|
||||
|
||||
<!-- Menu full -->
|
||||
<div class="admin-menu-container box-menu sticky top-0 bottom-0 h-[100vh]" id="js-menu-big">
|
||||
<div class="admin-menu-container box-menu fixed top-0 left-0 h-[100vh] z-[999]" id="js-menu-big">
|
||||
<a href="" class="menu-logo">
|
||||
<img src="{{ 'logo.png' | asset_url }}" />
|
||||
</a>
|
||||
|
||||
<div class="menu-list m-[50px_5px]">
|
||||
<div class="menu-list m-[25px_5px]">
|
||||
<a href="/"
|
||||
class="item flex items-center cursor-pointer p-[0_12px] rounded-[4px] relative delay-300 transition-all bg-[#004e99] mb-[4px] leading-[36px] {% if global.module == 'home' %} active {% endif %}">
|
||||
<i class="icons icon-home"></i>
|
||||
@@ -45,9 +41,9 @@
|
||||
{% assign _type = _category[0] %}
|
||||
{% assign _menuArray = _category[1].menu %}
|
||||
{% if _category[1].enable == 1 %}
|
||||
<details class="relative w-[100%]" {% if _type==global.module %} open {% endif %}>
|
||||
<summary class="item flex items-center justify-between cursor-pointer p-[0_12px] rounded-[4px] relative delay-300 transition-all bg-[#004e99] mb-[4px] leading-[36px]
|
||||
{% if _type == global.module %} active {% endif %}">
|
||||
<div class="relative w-[100%] box-item" {% if _type==global.module %} open {% endif %}>
|
||||
<div class="item flex items-center justify-between cursor-pointer p-[0_12px] rounded-[4px] relative delay-300 transition-all bg-[#004e99] mb-[4px] leading-[36px]
|
||||
{% if _type == global.module %} active {% endif %}" onclick="toggleSubMenu('{{ _type }}')">
|
||||
<div class="flex items-center">
|
||||
{% if _type == 'order' %} <i class="icons w-[20px] h-[20px] mr-[13px] icon-order"></i>
|
||||
{% elsif _type == 'product' %} <i
|
||||
@@ -74,47 +70,38 @@
|
||||
</div>
|
||||
|
||||
<i class="fa-solid fa-chevron-right"></i>
|
||||
</summary>
|
||||
</div>
|
||||
|
||||
<div class="sub-menu">
|
||||
<div class="sub-menu" id="{{ _type }}">
|
||||
{% for _item in _menuArray %}
|
||||
<a href="{{ _item.url }}"
|
||||
class="p-[8px_16px] flex items-center {% if _item.view == global.view and _item.module == global.module %}current {% endif %}">
|
||||
{{_item.name }} </a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<div class="hover-menu {% if _type == 'system' or _type == 'report' %}bottom{% endif %}">
|
||||
{% for _item in _menuArray %}
|
||||
<a href="{{ _item.url }}"
|
||||
class="flex items-center {% if _item.view == global.view and _item.module == global.module %}current {% endif %}">
|
||||
{{_item.name }} </a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="menu-list">
|
||||
<p style="color: #81B5E4;margin: 0 0 10px;font-weight: 700;padding: 0 16px;">TÀI KHOẢN</p>
|
||||
|
||||
<a href=""
|
||||
class="item flex items-center cursor-pointer p-[0_12px] rounded-[4px] relative delay-300 transition-all bg-[#004e99] mb-[4px] leading-[36px]">
|
||||
<i class="icons w-[20px] h-[20px] mr-[13px] icon-account"></i>
|
||||
<span class="title">Quản lý tài khoản </span>
|
||||
</a>
|
||||
<a href=""
|
||||
class="item flex items-center cursor-pointer p-[0_12px] rounded-[4px] relative delay-300 transition-all bg-[#004e99] mb-[4px] leading-[36px]">
|
||||
<i class="icons w-[20px] h-[20px] mr-[13px] icon-settings"></i>
|
||||
<span class="title"> Cài đặt </span>
|
||||
</a>
|
||||
|
||||
<a href=""
|
||||
class="item flex items-center cursor-pointer p-[0_12px] rounded-[4px] relative delay-300 transition-all bg-[#004e99] mb-[4px] leading-[36px]">
|
||||
<i class="icons w-[20px] h-[20px] mr-[13px] icon-support"></i>
|
||||
<span class="title"> Hỗ trợ </span>
|
||||
</a>
|
||||
|
||||
<a href=""
|
||||
class="item flex items-center cursor-pointer p-[0_12px] rounded-[4px] relative delay-300 transition-all bg-[#004e99] mb-[4px] leading-[36px]">
|
||||
<i class="icons w-[20px] h-[20px] mr-[13px] icon-account"></i>
|
||||
<span class="title"> Quản lý tài khoản </span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<a href=""
|
||||
class="item flex items-center cursor-pointer p-[0_12px] rounded-[4px] relative delay-300 transition-all bg-[#004e99] mb-[4px] leading-[36px]">
|
||||
<i class="icons w-[20px] h-[20px] mr-[13px] icon-logout"></i>
|
||||
<span class="title"> Thoát quản trị </span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Menu collapse -->
|
||||
@@ -226,7 +213,7 @@
|
||||
|
||||
</div> -->
|
||||
|
||||
<div class="admin-content-container ml-[50px]" id="js-admin-content-container">
|
||||
<div class="admin-content-container ml-[245px]" id="js-admin-content-container">
|
||||
<!-- Header -->
|
||||
<div class="admin-header-container flex items-center justify-between bg-white px-4 py-3">
|
||||
<form class="max-w-[420px] relative w-[100%] menu-hide" id="js-form-search">
|
||||
@@ -316,9 +303,6 @@
|
||||
</div>
|
||||
|
||||
<script src="{{ 'jquery.js' | asset_url }}"></script>
|
||||
<script src="{{ 'tailwindcss.js' | asset_url }}"></script>
|
||||
<script src="{{ 'fancybox.js' | asset_url }}"></script>
|
||||
<script src="{{ 'select2.js' | asset_url }}"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.3.0/datepicker.min.js"></script>
|
||||
<script src="/assets/typescript/main.js?v=1.111"></script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user