Files
admin_hura_8/template/theme.html

203 lines
11 KiB
HTML
Raw Normal View History

2024-01-18 23:13:02 +07:00
<!DOCTYPE html>
2024-02-27 13:31:27 +07:00
<html lang="en">
2024-01-18 23:13:02 +07:00
<head>
2024-01-29 15:22:13 +07:00
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title> Admin Hura Pc </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
2024-01-18 23:13:02 +07:00
2024-01-29 15:22:13 +07:00
<link rel="preconnect" href="https://fonts.googleapis.com">
<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">
2025-02-24 10:09:33 +07:00
<link rel="stylesheet" media="screen" href="{{ 'daisyui.css' | asset_url }}?v12.11" />
<link rel="stylesheet" media="screen" href="{{ 'extension_daisyui.css' | asset_url }}?v2025.02" />
2025-02-10 16:51:19 +07:00
<script src="{{ 'tailwindcss.js' | asset_url }}"></script>
2024-01-18 23:13:02 +07:00
</head>
2024-02-29 14:49:03 +07:00
2024-01-29 15:22:13 +07:00
<body>
2025-02-17 16:51:08 +07:00
<div id="overlay" onclick="clickBackground()"></div>
2024-05-07 13:34:07 +07:00
2024-01-29 15:22:13 +07:00
<div class="admin-global-container">
2024-01-25 17:37:49 +07:00
2024-01-29 15:22:13 +07:00
<!-- Menu full -->
2025-02-21 14:04:33 +07:00
<div class="admin-menu-container box-menu" id="js-menu-big">
2024-01-29 15:22:13 +07:00
<a href="" class="menu-logo">
<img src="{{ 'logo.png' | asset_url }}" />
2024-01-27 11:19:25 +07:00
</a>
2025-02-10 16:51:19 +07:00
<div class="menu-list m-[25px_5px]">
2025-02-08 22:55:01 +07:00
<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 %}">
2024-01-29 15:22:13 +07:00
<i class="icons icon-home"></i>
2024-05-07 13:34:07 +07:00
<span class="title"> Home </span>
2024-01-29 15:22:13 +07:00
</a>
2024-01-25 17:37:49 +07:00
2024-01-29 15:22:13 +07:00
{% for _category in global.main_menu %}
{% assign _type = _category[0] %}
{% assign _menuArray = _category[1].menu %}
{% if _category[1].enable == 1 %}
2025-02-10 16:51:19 +07:00
<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 }}')">
2024-01-29 15:22:13 +07:00
<div class="flex items-center">
2025-02-08 22:55:01 +07:00
{% if _type == 'order' %} <i class="icons w-[20px] h-[20px] mr-[13px] icon-order"></i>
{% elsif _type == 'product' %} <i
class="icons w-[20px] h-[20px] mr-[13px] icon-product"></i>
{% elsif _type == 'customer' %}<i
class="icons w-[20px] h-[20px] mr-[13px] icon-customer"></i>
{% elsif _type == 'marketing' %}<i
class="icons w-[20px] h-[20px] mr-[13px] icon-marketing"></i>
{% elsif _type == 'investor_relation' %} <i
class="icons w-[20px] h-[20px] mr-[13px] icon-investor_relation"></i>
2024-01-29 15:22:13 +07:00
{% elsif _type == 'article' %} <i class="icons icon-content"></i>
2025-02-08 22:55:01 +07:00
{% elsif _type == 'job' %} <i class="icons w-[20px] h-[20px] mr-[13px] icon-job"></i>
{% elsif _type == 'pcbuilder' %} <i
class="icons w-[20px] h-[20px] mr-[13px] icon-pcbuilder"></i>
{% elsif _type == 'payinstall' %} <i
class="icons w-[20px] h-[20px] mr-[13px] icon-payinstall"></i>
{% elsif _type == 'distributor' %} <i
class="icons w-[20px] h-[20px] mr-[13px] icon-distributor"></i>
{% elsif _type == 'report' %}<i class="icons w-[20px] h-[20px] mr-[13px] icon-stats"></i>
{% elsif _type == 'system' %}<i class="icons w-[20px] h-[20px] mr-[13px] icon-system"></i>
2024-01-29 15:22:13 +07:00
{% endif %}
2025-02-17 16:51:08 +07:00
<span class="title text-[14px]"> {{ _category[1].name }} </span>
2024-01-29 15:22:13 +07:00
</div>
2024-05-07 13:34:07 +07:00
<i class="fa-solid fa-chevron-right"></i>
2025-02-10 16:51:19 +07:00
</div>
2024-01-29 15:22:13 +07:00
2025-02-17 16:51:08 +07:00
<div class="sub-menu text-[14px]" id="{{ _type }}">
2024-01-29 15:22:13 +07:00
{% for _item in _menuArray %}
2024-05-13 13:30:57 +07:00
<a href="{{ _item.url }}"
2025-02-08 22:55:01 +07:00
class="p-[8px_16px] flex items-center {% if _item.view == global.view and _item.module == global.module %}current {% endif %}">
2024-05-13 13:30:57 +07:00
{{_item.name }} </a>
2024-01-29 15:22:13 +07:00
{% endfor %}
</div>
2025-02-10 16:51:19 +07:00
<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>
2024-01-29 15:22:13 +07:00
{% endif %}
{% endfor %}
2025-02-08 22:55:01 +07:00
<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]">
2025-02-10 16:51:19 +07:00
<i class="icons w-[20px] h-[20px] mr-[13px] icon-account"></i>
2025-02-21 14:04:33 +07:00
<span class="title text-[14px]">Quản lý tài khoản </span>
2024-01-27 11:19:25 +07:00
</a>
2025-02-08 22:55:01 +07:00
<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]">
2025-02-10 16:51:19 +07:00
<i class="icons w-[20px] h-[20px] mr-[13px] icon-settings"></i>
2025-02-21 14:04:33 +07:00
<span class="title text-[14px]"> Cài đặt </span>
2024-01-29 15:22:13 +07:00
</a>
2025-02-24 10:09:33 +07:00
</div>
<div class="box-hover" id="js-hover-menu">
2024-01-27 11:19:25 +07:00
</div>
2024-01-29 15:22:13 +07:00
</div>
2025-02-21 14:04:33 +07:00
<div class="admin-content-container h-screen" id="js-admin-content-container">
2024-01-29 15:22:13 +07:00
<!-- Header -->
2025-02-21 14:04:33 +07:00
<div
class="admin-header-container flex items-center justify-between bg-white px-4 py-3 sticky top-0 z-[99] border-b-[1px] border-[#eef0f2]">
2025-02-17 16:51:08 +07:00
<div class="flex items-center">
<form class="w-[420px] relative w-[100%] menu-hide" id="js-form-search">
<div
class="content w-[100%] flex items-center border-[#ECECEC] border-[1px] rounded-[5px] focus-within:border-[#0041E8]">
<div class="inset-y-0 start-0 flex items-center ps-3 pointer-events-none">
<i class="icons icon-search"></i>
</div>
2024-01-27 11:19:25 +07:00
2025-02-17 16:51:08 +07:00
<input type="search" class="block h-[36px] rounded w-full" id="js-input-search"
placeholder="Tìm kiếm">
</div>
<div class="autocomplete-suggestions absolute bg-white w-[100%] shadow-[0_2px_7px_0_rgb(177_177_177)] hidden rounded-[4px]"
id="js-show-search">
<a href="" class="item line-clamp-1">Máy in mã vạch MH241</a>
<a href="" class="item line-clamp-1">Chăn hè đũi xơ đậu nành mã 32 Gấu xanh</a>
<a href="" class="item line-clamp-1">Máy đo độ bóng Horiba IG-320 (gloss meter)</a>
<a href="" class="item line-clamp-1">iPhone 11 Chính Hãng</a>
<a href="" class="item line-clamp-1">cpu core i3 1</a>
<a href="" class="item line-clamp-1">Máy in mã vạch MH241</a>
<a href="" class="item line-clamp-1">Chăn hè đũi xơ đậu nành mã 32 Gấu xanh</a>
<a href="" class="item line-clamp-1">Máy đo độ bóng Horiba IG-320 (gloss meter)</a>
<a href="" class="item line-clamp-1">iPhone 11 Chính Hãng</a>
<a href="" class="item line-clamp-1">cpu core i3 1</a>
</div>
</form>
</div>
2024-01-29 15:22:13 +07:00
2025-02-19 14:55:19 +07:00
<div class="admin-header-right flex items-center justify-end">
2024-01-29 15:22:13 +07:00
<a href="" title="Truy cập trung tâm hỗ trợ của Hurasoft">
<i class="icons header-support"></i>
</a>
<div
class="group relative cursor-pointer ml-[20px] mr-[35px] group [&_summary::-webkit-details-marker]:hidden">
<div class="relative flex">
<i class="icons icon-notification"></i>
<span
class="absolute bg-[#E00000] font-[500] h-[17px] leading-[17px] note right-[-5px] rounded-lg text-[#fff] text-[13px] text-center top-[-3px] w-[17px]">
0
</span>
</div>
<div
2025-02-21 15:17:06 +07:00
class="group-hover:block hidden absolute bg-white leading-[30px] note-list shadow whitespace-nowrap z-[-1] rounded-[4px] right-[-10px]">
2024-01-29 15:22:13 +07:00
<a href=""> Menu title </a>
<a href=""> Menu title </a>
<a href=""> Menu title </a>
<a href=""> Menu title </a>
</div>
2024-01-27 11:19:25 +07:00
</div>
2024-01-29 15:22:13 +07:00
<div class="group relative cursor-pointer group [&_summary::-webkit-details-marker]:hidden">
<div class="flex items-center">
<p class="m-0 mr-[10px]"> ducdt@hurasoft.com </p>
2024-01-27 11:19:25 +07:00
2024-01-29 15:22:13 +07:00
<img src="https://via.placeholder.com/72x72"
class="block rounded-[50%] w-[36px] h-[36px] mr-[8px]" />
2024-01-27 11:19:25 +07:00
2024-01-29 15:22:13 +07:00
<i class="fa-solid fa-sort-down text-[#C9C9C9] mb-[3px]"></i>
</div>
2024-01-27 11:19:25 +07:00
2024-01-29 15:22:13 +07:00
<div
2025-02-21 15:17:06 +07:00
class="group-hover:block hidden absolute bg-white leading-[30px] note-list shadow whitespace-nowrap z-[-1] rounded-[4px] right-0">
2024-01-29 15:22:13 +07:00
<a href="">Đổi mật khẩu</a>
<a href="">Thoát quản trị</a>
</div>
2024-01-27 11:19:25 +07:00
</div>
</div>
2024-01-25 17:37:49 +07:00
</div>
2024-01-29 15:22:13 +07:00
<!-- Content -->
{{ page_content }}
</div>
2024-05-11 10:11:24 +07:00
</div>
<div class="status-notificatiom">
<a href="javascript:void(0)" class="icon-close" onclick="AdminFunction.closeForm()"><i
class="fa fa-times"></i></a>
<div class="content flex flex-col items-center justify-center">
<i class="fa fa-check"></i>
<b>Cập nhật thành công</b>
<p>Đơn hàng #000-368 đã được cập nhật thành công</p>
</div>
2024-01-20 09:23:31 +07:00
</div>
2024-01-24 11:49:22 +07:00
2024-05-15 09:03:46 +07:00
<script src="{{ 'jquery.js' | asset_url }}"></script>
2025-02-11 16:22:18 +07:00
<script src="{{ 'global.js' | asset_url }}"></script>
2024-05-07 15:42:55 +07:00
{% include javascript/index %}
2024-01-18 23:13:02 +07:00
</body>
2024-01-29 15:22:13 +07:00
2024-02-27 13:31:27 +07:00
</html>