This commit is contained in:
2025-12-10 19:20:39 +07:00
parent 1afcb2364e
commit 7df4c3405f
23 changed files with 429 additions and 465 deletions

View File

@@ -21,7 +21,7 @@
<div class="list-filter flex items-center justify-between mt-5">
<p>Tổng số: <b>1.996</b></p>
<select name="" id="" class="select select-bordered rounded-sm shadow w-64">
<select name="" id="" class="select select-bordered rounded-sm shadow w-[150px]">
<option value="">Chọn bộ lọc</option>
</select>
</div>
@@ -36,7 +36,7 @@
<th>Tác giả</th>
<th>Sản phẩm</th>
<th>Nội dung</th>
<th>Lựa chọn</th>
<th class="w-[120px]">Lựa chọn</th>
</tr>
</thead>
<tbody>
@@ -63,24 +63,24 @@
<div class="flex items-center gap-3">
<a href="javascript:void(0)" onclick="js_list_reply_comment.showModal()"
class="btn btn-soft btn-xs btn-square btn-view">
<i class="iconify lucide--pointer"></i>
<i data-lucide="pointer" class="size-3"></i>
</a>
<a href="" class="btn btn-soft btn-xs btn-square btn-view">
<i class="iconify lucide--pencil"></i>
<i data-lucide="pencil" class="size-3"></i>
</a>
<a href="" class="btn btn-soft btn-xs btn-square btn-view">
<i class="iconify lucide--crown"></i>
<i data-lucide="crown" class="size-3"></i>
</a>
</div>
<div class="flex items-center mt-3 gap-3">
<a href="" class="btn btn-soft btn-xs btn-square btn-view">
<i class="iconify lucide--plus"></i>
<i data-lucide="plus" class="size-3"></i>
</a>
<a href="" class="btn btn-soft btn-xs btn-square btn-error">
<i class="iconify lucide--ban"></i>
<i data-lucide="ban" class="size-3"></i>
</a>
<a href="" class="btn btn-soft btn-xs btn-square btn-error">
<i class="iconify lucide--trash-2"></i>
<i data-lucide="trash-2" class="size-3"></i>
</a>
</div>
</td>

View File

@@ -1,173 +1,168 @@
<div class="w-[100%] mb-[50px]">
<div class="w-full mb-[50px]">
<div class="text-sm breadcrumbs ml-[10px]">
<div class="text-sm breadcrumbs">
<ul>
<li><a href="/admin/customer">Danh sách khách hàng</a></li>
<li class="text-[#0041E8]">Form thêm khách hàng</li>
<li class="text-active">Form thêm khách hàng</li>
</ul>
</div>
<div class="w-[1140px] my-0 mx-auto p-[0_15px]">
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] mb-[15px]">
<div class="w-7xl mx-auto">
<div class="bg-white p-3 rounded-sm shadow mt-5">
<div class="flex items-center justify-between">
<div>
<h1 class="text-[20px] font-[700]">Cập nhật lại khách hàng</h1>
<span class="text-[#6B7280]">Khách hàng: Nguyễn Duy Thành</span>
</div>
<a href="/admin/customer/customer-add"
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px]">
<span
class="w-[14px] h-[14px] border-[1px] rounded-[50%] border-[#6B7280] text-center leading-[11px] mr-[5px] text-[#6B7280]">+</span>
<span class="text-[#6B7280]">Thêm khách hàng mới</span>
<a href="/admin/customer/customer-add" class="btn btn-outline btn-view btn-sm">
<span data-lucide="circle-plus" class="size-4">+</span>
<span class="">Thêm khách hàng mới</span>
</a>
</div>
</div>
<div class="flex">
<div class="left w-[270px] mr-[10px]">
<div class="grid grid-cols-4 gap-5 mt-5">
<div class="left">
<div class="list-tab">
<a href="javascript:void(0)"
class="item block w-[100%] h-[36px] text-white bg-[#0041E8] rounded-[10px] text-[13px] leading-[35px] px-[10px]">Nội
class="item block w-full text-white bg-[#0041E8] rounded-sm text-[13px] p-2 font-bold">Nội
dung</a>
</div>
</div>
<div class="right w-[860px]">
<div
class="bg-white p-[10px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
<b class="text-[20px] mb-[10px] block">Thông tin khách hàng</b>
<div class="flex items-center my-[10px]">
<b class="text-[#383C44] mr-[10px]">Thuộc tính khách hàng</b>
<a href="/admin/customer/customer-group" class="text-[#0041E8]">Quản lý nhóm khách hàng</a>
<div class="right col-span-3">
<div class="bg-white p-3 rounded-sm shadow ">
<b class="text-xl block">Thông tin khách hàng</b>
<div class="flex items-center my-2">
<b class="text-gray-500 mr-2">Thuộc tính khách hàng</b>
<a href="/admin/customer/customer-group" class="text-active">Quản lý nhóm khách hàng</a>
</div>
<div class="flex items-center">
<label class="flex items-center mb-[10px] w-[20%] cursor-pointer">
<div class="flex items-center gap-5 mt-5">
<label class="flex items-center cursor-pointer">
<input type="checkbox" name="change_url_on_update" value="1" checked
class="checkbox checkbox-success">
<span class="label-text ml-[10px] text-[#6B7280]">Mua lẻ</span>
class="checkbox checkbox-active checkbox-sm rounded-sm">
<span class="label-text ml-2 text-gray-500">Mua lẻ</span>
</label>
<label class="flex items-center mb-[10px] w-[20%] cursor-pointer">
<label class="flex items-center cursor-pointer">
<input type="checkbox" name="change_url_on_update" value="1"
class="checkbox checkbox-success">
<span class="label-text ml-[10px] text-[#6B7280]">Khách HCM</span>
class="checkbox checkbox-active checkbox-sm rounded-sm">
<span class="label-text ml-2 text-gray-500">Khách HCM</span>
</label>
<label class="flex items-center mb-[10px] w-[20%] cursor-pointer">
<label class="flex items-center cursor-pointer">
<input type="checkbox" name="change_url_on_update" value="1"
class="checkbox checkbox-success">
<span class="label-text ml-[10px] text-[#6B7280]">Khách VIP</span>
class="checkbox checkbox-active checkbox-sm rounded-sm">
<span class="label-text ml-2 text-gray-500">Khách VIP</span>
</label>
</div>
<div class="flex items-center justify-between">
<div class="form-control mb-[15px] w-[100%] mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Tên khách hàng</label>
<div class="grid grid-cols-2 gap-5 mt-5">
<div class="form-control">
<label class="font-bold text-base">Tên khách hàng</label>
<input type="text" size="60" name="" placeholder="Tên khách hàng"
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input input-bordered input-md rounded-sm shadow mt-3">
</div>
<div class="mb-[15px] w-[100%] ml-[7px]">
<label class="block font-[600] mb-[5px] text-[14px]">Sinh nhật</label>
<div class="flex items-center justify-between">
<div class="input-date w-[100%] mr-[7px]">
<div class="">
<label class="block font-bold text-base">Sinh nhật</label>
<div class="grid grid-cols-3 gap-5 mt-3">
<div class="input-date">
<input type="day" name="" placeholder="Ngày"
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input input-md rounded-sm shadow">
</div>
<div class="input-date w-[100%] mx-[7px]">
<div class="input-date">
<input type="day" name="" placeholder="Tháng"
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input input-md rounded-sm shadow">
</div>
<div class="input-date w-[100%] ml-[7px]">
<div class="input-date">
<input type="day" name="" placeholder="Năm"
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input input-md rounded-sm shadow">
</div>
</div>
</div>
</div>
<div class="mb-[15px] flex items-center">
<label class="w-[120px] font-[600] text-[14px]">Giới tính</label>
<div class="flex items-center mt-5">
<label class="w-[120px] font-bold text-base">Giới tính</label>
<div class="flex items-center">
<label class="cursor-pointer flex items-center mr-[25px]">
<input type="radio" name="info[sex]" value="0" class="radio checked:bg-blue-500"
<label class="cursor-pointer flex items-center mr-[25px] gap-2">
<input type="radio" name="info[sex]" value="0" class="radio radio-active radio-sm"
checked="checked" />
<span class="label-text ml-[10px] text-[#6B7280]">Nam</span>
<span class="label-text">Nam</span>
</label>
<label class="cursor-pointer flex items-center">
<input type="radio" name="info[sex]" value="1" class="radio checked:bg-blue-500" />
<span class="label-text ml-[10px] text-[#6B7280]">Nữ</span>
<label class="cursor-pointer flex items-center gap-2">
<input type="radio" name="info[sex]" value="1" class="radio radio-active radio-sm" />
<span class="label-text">Nữ</span>
</label>
</div>
</div>
<div class="mb-[15px] flex items-center justify-between">
<div class="form-control w-[100%] mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Địa chỉ Email</label>
<div class="mt-5 grid grid-cols-3 gap-5">
<div class="form-control">
<label class="font-bold text-base">Địa chỉ Email</label>
<input type="text" size="60" name="" placeholder="Địa chỉ Email"
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input input-bordered input-md rounded-sm shadow mt-3" />
</div>
<div class="form-control w-[100%] mx-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Điện thoại nhà</label>
<div class="form-control">
<label class="font-bold text-base">Điện thoại nhà</label>
<input type="text" size="60" name="" placeholder="Điện thoại nhà"
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input input-bordered input-md rounded-sm shadow mt-3" />
</div>
<div class="form-control w-[100%] ml-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Điện thoại di động</label>
<div class="form-control">
<label class="font-bold text-base">Điện thoại di động</label>
<input type="text" size="60" name="" placeholder="Điện thoại di động"
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input input-bordered input-md rounded-sm shadow mt-3" />
</div>
</div>
<div class="mb-[15px] flex items-center justify-between">
<div class="form-control w-[100%] mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Tỉnh/TP</label>
<select name=""
class="w-[100%] select select-bordered h-[35px] min-h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
<div class="mt-5 grid grid-cols-2 gap-5">
<div class="form-control">
<label class="font-bold text-base">Tỉnh/TP</label>
<select name="" class="w-full select select-bordered rounded-sm shadow mt-3">
<option value="">Hà nội</option>
</select>
</div>
<div class="form-control w-[100%] ml-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Quận huyện</label>
<select name=""
class="w-[100%] select select-bordered h-[35px] min-h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
<div class="form-control">
<label class="font-bold text-base">Quận huyện</label>
<select name="" class="w-full select select-bordered rounded-sm shadow mt-3">
<option value="">Quận Ba Đình</option>
</select>
</div>
</div>
<div class="form-control mb-[15px] w-[100%]">
<label class="font-[600] mb-[5px] text-[14px]">Địa chỉ</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Địa chỉ</label>
<textarea type="text" size="60" name="" placeholder="Địa chỉ"
class="w-[100%] h-[120px] textarea textarea-bordered rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>
class="w-full h-[120px] textarea textarea-bordered rounded-sm shadow mt-3"></textarea>
</div>
<div class="form-control mb-[15px] w-[100%]">
<label class="font-[600] mb-[5px] text-[14px]">Tên công ty</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Tên công ty</label>
<input type="text" size="60" name="" placeholder="Tên công ty"
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]" />
class="w-full h-[35px] input input-bordered input-md rounded-sm shadow mt-3" />
</div>
<div class="form-control mb-[15px] w-[100%]">
<label class="font-[600] mb-[5px] text-[14px]">Mã số thuế</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Mã số thuế</label>
<input type="text" size="60" name="" placeholder="Mã số thuế"
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]" />
class="w-full h-[35px] input input-bordered input-md rounded-sm shadow mt-3" />
</div>
<div class="form-control mb-[15px] w-[100%]">
<label class="font-[600] mb-[5px] text-[14px]">Địa chỉ công ty</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Địa chỉ công ty</label>
<input type="text" size="60" name="" placeholder="Địa chỉ công ty"
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]" />
class="w-full h-[35px] input input-bordered input-md rounded-sm shadow mt-3" />
</div>
<div class="form-control mb-[15px] w-[100%]">
<label class="font-[600] mb-[5px] text-[14px]">Ghi chú về khách hàng này</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Ghi chú về khách hàng này</label>
<textarea type="text" size="60" name="" placeholder="Ghi chú về khách hàng này"
class="w-[100%] h-[120px] textarea textarea-bordered rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>
class="w-full h-[120px] textarea textarea-bordered rounded-sm shadow mt-3"></textarea>
</div>
</div>
<div class="bg-white p-[10px] rounded-[0_0_10px_10px] shadow-[0_1px_1px_0px_#0000001A]">
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer"
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" />
<div class="bg-white p-3 rounded-sm shadow mt-5">
<input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
value="Cập nhật" />
</div>
</div>

View File

@@ -11,7 +11,7 @@
<div class="list-filter flex items-center justify-between mt-3">
<p>Tổng hợp các liên hệ của khách hàng từ form liên hệ trên trang <a href="" class="text-primary">liên
hệ</a> của website</p>
<select name="" id="" class="select select-bordered rounded-sm shadow">
<select name="" id="" class="select select-bordered rounded-sm shadow w-[150px]">
<option value="">Chọn bộ lọc</option>
</select>
</div>
@@ -59,10 +59,10 @@
<option value="">Trạng thái</option>
</select>
<div class="flex items-center mt-3 gap-3">
<a href="" class="btn btn-soft btn-xs btn-square btn-view"> <span
class="iconify lucide--pencil"></span></a>
<a href="" class="btn btn-soft btn-error btn-xs btn-square" title="Xóa"> <span
class="iconify lucide--trash-2 tw-rla"></span></a>
<a href="" class="btn btn-soft btn-xs btn-square btn-view"> <i data-lucide="pencil"
class="size-3"></i></a>
<a href="" class="btn btn-soft btn-error btn-xs btn-square" title="Xóa"> <i
data-lucide="trash-2" class="size-3"></i></a>
</div>
</td>
</tr>

View File

@@ -1,21 +1,21 @@
<div class="w-[100%]">
<div class="m-[15px] p-[15px] rounded-[15px] bg-white shadow-[0_1px_1px_0_rgba(0,0,0,0.1)] overflow-x-auto">
<h1 class="text-[24px] font-[700] mb-3">Nhóm khách hàng</h1>
<div class="w-full">
<div class="p-3 rounded-sm bg-white shadow overflow-x-auto">
<h1 class="text-2xl font-bold mb-3">Nhóm khách hàng</h1>
<div class="flex items-center justify-end">
<a href="/admin/customer/customer-group-add" class="border-[1px] border-[#0041E8] rounded-[4px] p-[5px]">
<i class="fa-solid fa-user-plus text-[#0041E8] mr-[5px]"></i>
<span class="text-[#0041E8] font-[500]">Thêm nhóm mới</span>
<div class="flex items-center justify-end gap-2">
<a href="/admin/customer/customer-group-add" class="btn btn-outline btn-view btn-sm">
<i data-lucide="user-plus" class="size-4"></i>
<span class="">Thêm nhóm mới</span>
</a>
<a href="/admin/customer" class="border-[1px] border-[#0041E8] rounded-[4px] p-[5px] ml-[10px]">
<i class="fa-regular fa-clipboard text-[#0041E8] mr-[5px]"></i>
<span class="text-[#0041E8] font-[500]">Danh sách khách hàng</span>
<a href="/admin/customer" class="btn btn-outline btn-view btn-sm">
<i data-lucide="clipboard" class="size-4"></i>
<span class="">Danh sách khách hàng</span>
</a>
</div>
<table class="table mt-[15px]">
<thead class="bg-[#F6F6F6] text-[#000] text-[14px]">
<tr>
<table class="table mt-5">
<thead>
<tr class="bg-base-200 text-black font-bold">
<th class="w-[50px]">STT</th>
<th>Mã nhóm</th>
<th>Tên gọi/miêu tả</th>
@@ -29,23 +29,20 @@
<td>0</td>
<td>Khách vip</td>
<td>
<a href="" class="p-[5px_10px_5px_10px] text-white text-center bg-[#0041E8] rounded-[4px]">Xem
<a href="" class="btn btn-active btn-sm">Xem
danh sách</a>
</td>
<td>
<div class='list-btn flex items-center justify-center'>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class='icons icon-edit'></i></a>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'>
<span
class="w-[14px] h-[14px] border-[1px] rounded-[50%] border-[#0041E8] text-center leading-[11px] mr-[5px] text-[#0041E8]">+</span>
<div class='list-btn flex items-center justify-center gap-3'>
<a href="" title=" Form sản phẩm" class="btn btn-soft btn-xs btn-square btn-view">
<i data-lucide="pencil" class="size-3"></i>
</a>
<a href="" title=" Form sản phẩm" class="btn btn-soft btn-xs btn-square btn-view">
<i data-lucide="plus" class="size-3"></i>
</a>
<a href="" class="btn btn-soft btn-xs btn-square btn-error">
<i data-lucide="trash-2" class="size-3"></i>
</a>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#9E9E9E] rounded-[4px] text-center leading-[30px] flex items-center justify-center'><i
class='icons icon-remove'></i></a>
</div>
</td>
</tr>

View File

@@ -1,23 +1,21 @@
<div class="w-[100%] mb-[50px]">
<div class="w-full mb-[50px]">
<div class="text-sm breadcrumbs ml-[10px]">
<div class="text-sm breadcrumbs">
<ul>
<li><a href="/admin/customer/customer-group">Nhóm khách hàng</a></li>
<li class="text-[#0041E8]">Form sửa nhóm khách hàng</li>
<li class="text-active">Form sửa nhóm khách hàng</li>
</ul>
</div>
<div class="w-[1140px] my-0 mx-auto p-[0_15px]">
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] mb-[15px]">
<div class="w-7xl mx-auto">
<div class="bg-white p-3 rounded-sm shadow mt-5">
<div class="flex items-center justify-between">
<div>
<h1 class="text-[20px] font-[700]">Cập nhật nhóm khách hàng</h1>
<h1 class="text-xl font-bold">Cập nhật nhóm khách hàng</h1>
</div>
<a href="/admin/customer/customer-group-add"
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px]">
<span
class="w-[14px] h-[14px] border-[1px] rounded-[50%] border-[#6B7280] text-center leading-[11px] mr-[5px] text-[#6B7280]">+</span>
<span class="text-[#6B7280]">Thêm nhóm khách hàng</span>
<a href="/admin/customer/customer-group-add" class="btn btn-outline btn-view btn-sm">
<i data-lucide="circle-plus" class="size-4"></i>
<span class="">Thêm nhóm khách hàng</span>
</a>
</div>
<p class="text-[#6B7280] mt-[5px]">Hướng dẫn: Nhóm khách hàng bao gồm các khách hàng cùng chia sẻ một số đặc
@@ -30,43 +28,41 @@
</p>
</div>
<div class="flex">
<div class="left w-[270px] mr-[10px]">
<div class="grid grid-cols-4 gap-5 mt-5">
<div class="left">
<div class="list-tab">
<a href="javascript:void(0)"
class="item block w-[100%] h-[36px] text-white bg-[#0041E8] rounded-[10px] text-[13px] leading-[35px] px-[10px]">Nội
class="item block w-full text-white bg-[#0041E8] rounded-sm text-[13px] p-2">Nội
dung</a>
</div>
</div>
<div class="right w-[860px]">
<div
class="bg-white p-[10px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
<div class="form-control mb-[15px] w-[100%] mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Đặt tên nhóm khách hàng</label>
<div class="right col-span-3">
<div class="bg-white p-3 rounded-sm shadow">
<div class="form-control">
<label class="font-bold text-base">Đặt tên nhóm khách hàng</label>
<input type="text" size="60" name="" placeholder="Đặt tên nhóm khách hàng"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input rounded-sm shadow mt-3" />
</div>
<div class="form-control mb-[15px] w-[100%] mr-[7px]">
<label class="font-[600] text-[14px]">Đặt tên nhóm khách hàng</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Đặt tên nhóm khách hàng</label>
<span class="text-[#6B7280] mb-[5px]">(* Dùng phân biệt từng nhóm, Mã chỉ bao gồm các ký tự
a-z0-9 và _,
không dấu và không có
dấu cách. Ví dụ: vip1, dai_ly
...)</span>
<input type="text" size="60" name="" placeholder="Đặt tên nhóm khách hàng"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input rounded-sm shadow mt-3">
</div>
<div class="form-control mb-[15px] w-[100%] mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Miêu tả (nếu có)</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Miêu tả (nếu có)</label>
<textarea type="text" size="60" name="" placeholder="Đặt tên nhóm khách hàng"
class="w-[100%] h-[120px] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>
class="w-full h-[120px] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-sm shadow mt-3"></textarea>
</div>
</div>
<div class="bg-white p-[10px] rounded-[0_0_10px_10px] shadow-[0_1px_1px_0px_#0000001A]">
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer"
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" />
<div class="bg-white p-3 rounded-sm shadow mt-5">
<input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
value="Cập nhật" />
</div>
</div>
</div>

View File

@@ -1,50 +1,49 @@
<div class="w-[100%] mb-[50px]">
<div class="w-full mb-[50px]">
<div class="text-sm breadcrumbs ml-[10px]">
<div class="text-sm breadcrumbs">
<ul>
<li><a href="/admin/customer/customer-contact">Khách hàng liên hệ</a></li>
<li class="text-[#0041E8]">Thông tin khách hàng liên hệ</li>
<li class="text-active">Thông tin khách hàng liên hệ</li>
</ul>
</div>
<div class="w-[1140px] my-0 mx-auto">
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] mb-[15px]">
<h1 class="text-[20px] font-[700]">Thông tin khách hàng liên hệ</h1>
<div class="w-7xl mx-auto">
<div class="bg-white p-3 rounded-sm shadow mt-5">
<h1 class="text-xl font-bold">Thông tin khách hàng liên hệ</h1>
<p class="text-[#6B7280] mt-[3px]">Lê Văn Ninh</p>
</div>
<div class="flex">
<div class="left w-[270px] mr-[10px]">
<div class="grid grid-cols-4 gap-5 mt-5">
<div class="left">
<div class="list-tab">
<a href="javascript:void(0)"
class="item block w-[100%] h-[36px] text-white bg-[#0041E8] rounded-[10px] text-[13px] leading-[35px] px-[10px]">Nội
class="item block w-full text-white bg-[#0041E8] rounded-sm text-[13px] p-2 font-bold">Nội
dung</a>
</div>
</div>
<div class="right w-[860px]">
<div
class="bg-white p-[10px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
<div class="mb-[25px]">
<b class="block text-[20px] mb-[15px]">Thông tin liên hệ</b>
<div class="flex items-center mb-[5px]">
<b class="w-[150px]">Họ tên:</b>
<p class="text-[#6B7280]">Lê Văn Ninh</p>
<div class="right col-span-3">
<div class="bg-white p-3 rounded-sm shadow">
<div class="">
<b class="block text-xl font-bold">Thông tin liên hệ</b>
<div class="grid grid-cols-4 mt-3 gap-3">
<b class="">Họ tên:</b>
<p class="col-span-3">Lê Văn Ninh</p>
</div>
<div class="flex items-center mb-[5px]">
<b class="w-[150px]">Địa chỉ email:</b>
<p class="text-[#6B7280]">no_email_1708170779@mail.com</p>
<div class="grid grid-cols-4 mt-3 gap-3">
<b class="">Địa chỉ email:</b>
<p class="col-span-3">no_email_1708170779@mail.com</p>
</div>
<div class="flex items-center mb-[5px]">
<b class="w-[150px]">Số điện thoại:</b>
<p class="text-[#6B7280]">0356723619</p>
<div class="grid grid-cols-4 mt-3 gap-3">
<b class="">Số điện thoại:</b>
<p class="col-span-3">0356723619</p>
</div>
<div class="flex items-center">
<b class="w-[150px]">Thời gian liên hệ:</b>
<p class="text-[#6B7280]">17-02-2024, 6:56 pm</p>
<div class="grid grid-cols-4 mt-3 gap-3">
<b class="">Thời gian liên hệ:</b>
<p class="col-span-3 ">17-02-2024, 6:56 pm</p>
</div>
</div>
<div class="mb-[25px]">
<div class="mt-5">
<b class="block text-[20px] mb-[10px]">Nội dung chi tiết</b>
<p class="text-[#6B7280]">
Tìm sản phẩm cần định giá:
@@ -57,7 +56,7 @@
</p>
</div>
<div class="form-control mb-[15px] w-[100%] mr-[7px]">
<div class="form-control mt-5">
<label class="font-[600] mb-[5px] text-[14px]">Cập nhật ghi chú</label>
<textarea type="text" size="60" name="" placeholder="Cập nhật ghi chú"
class="w-[100%] h-[120px] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>

View File

@@ -3,20 +3,20 @@
<h1 class="text-2xl font-bold mb-3">Khách hàng góp ý</h1>
<div class="flex items-center justify-end mt-5 gap-3">
<a href="/admin/customer/customer_add" class="btn btn-outline btn-view">
<i class="iconify lucide--pencil"></i>
<a href="/admin/customer/customer_add" class="btn btn-outline btn-view btn-sm">
<i data-lucide="pencil" class="size-4"></i>
<span class="">Thêm KH mới</span>
</a>
<a href="admin/customer/customer-group" class="btn btn-outline btn-view">
<i class="iconify lucide--users"></i>
<a href="admin/customer/customer-group" class="btn btn-outline btn-view btn-sm">
<i data-lucide="users" class="size-4"></i>
<span class="">Các nhóm KH</span>
</a>
<a href="admin/customer/customer-newsletter" class="btn btn-outline btn-view">
<i class="iconify lucide--mail"></i>
<a href="admin/customer/customer-newsletter" class="btn btn-outline btn-view btn-sm">
<i data-lucide="mail" class="size-4"></i>
<span class="">KH nhận bản tin</span>
</a>
<a href="" class="btn btn-outline btn-view">
<i class="iconify lucide--file-x"></i>
<a href="" class="btn btn-outline btn-view btn-sm">
<i data-lucide="file-x" class="size-4"></i>
<span class="">Tải file excel</span>
</a>
</div>
@@ -30,7 +30,7 @@
<th>Email</th>
<th>Ngày đăng ký</th>
<th>Thông tin khác</th>
<th>Lựa chọn</th>
<th class="w-[100px]">Lựa chọn</th>
</tr>
</thead>
<tbody>
@@ -41,13 +41,13 @@
<td>19-07-2023, 4:45 pm</td>
<td>test reply</td>
<td>
<div class='list-btn flex items-center'>
<a href=""
class='w-[32px] h-[32px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class='icons icon-edit'></i></a>
<a href=""
class='w-[32px] h-[32px] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class='icons icon-delete'></i></a>
<div class='list-btn flex items-center gap-2'>
<a href="" title=" Form sản phẩm" class="btn btn-soft btn-xs btn-square btn-view">
<i data-lucide="pencil" class="size-3"></i>
</a>
<a href="" class="btn btn-soft btn-xs btn-square btn-error">
<i data-lucide="trash-2" class="size-3"></i>
</a>
</div>
</td>
</tr>

View File

@@ -33,7 +33,7 @@
</td>
<td class="text-end">
<a href="" class="btn btn-soft btn-xs btn-square btn-error">
<i class="iconify lucide--trash-2"></i>
<i data-lucide="trash-2" class="size-3"></i>
</a>
</td>
</tr>
@@ -51,7 +51,7 @@
</td>
<td class="text-end">
<a href="" class="btn btn-soft btn-xs btn-square btn-error">
<i class="iconify lucide--trash-2"></i>
<i data-lucide="trash-2" class="size-3"></i>
</a>
</td>
</tr>
@@ -69,7 +69,7 @@
</td>
<td class="text-end">
<a href="" class="btn btn-soft btn-xs btn-square btn-error">
<i class="iconify lucide--trash-2"></i>
<i data-lucide="trash-2" class="size-3"></i>
</a>
</td>
</tr>

View File

@@ -3,38 +3,38 @@
<h1 class="text-2xl font-bold mb-3">Danh sách khách hàng</h1>
<div class="list-filter-account flex items-center mt-3 gap-3">
<a href="javacsript:void(0)" class="btn btn-view btn-outline">Tất
<a href="javacsript:void(0)" class="btn btn-view btn-outline btn-sm">Tất
cả</a>
<a href="javacsript:void(0)" class="btn btn-view btn-outline">Khách
<a href="javacsript:void(0)" class="btn btn-view btn-outline btn-sm">Khách
hàng đăng
</a>
<a href="javacsript:void(0)" class="btn btn-view btn-outline">Chưa
<a href="javacsript:void(0)" class="btn btn-view btn-outline btn-sm">Chưa
đăng ký</a>
<a href="javacsript:void(0)" class="btn btn-view btn-outline">VIP</a>
<a href="javacsript:void(0)" class="btn btn-view btn-outline btn-sm">VIP</a>
</div>
<form action="" class="flex items-center p-3 rounded-sm shadow mt-3 gap-3">
<input type="text" name="" class="input input-bordered shadow"
<input type="text" name="" class="input input-bordered shadow input-sm"
placeholder="Tìm khách hàng (* tên, email, điện thoại)">
<button type="submit" class="btn btn-active">Tìm kiếm</button>
<button type="submit" class="btn btn-active btn-sm">Tìm kiếm</button>
</form>
<div class="list-filter flex flex-wrap items-center justify-between mt-3">
<select name="" id="" class="select rounded-sm shadow mb-3">
<select name="" id="" class="select select-sm rounded-sm shadow mb-3 w-[170px]">
<option value="">Sắp xếp khách hàng</option>
</select>
<div class="flex items-center mb-3 gap-3">
<a href="/admin/customer/customer_add" class="btn btn-outline btn-view">
<i class="iconify lucide--circle-plus"></i>
<a href="/admin/customer/customer_add" class="btn btn-outline btn-view btn-sm">
<i data-lucide="circle-plus" class="size-3"></i>
<span class="">Thêm KH mới</span>
</a>
<a href="javascript:void(0)" class="btn btn-outline btn-view">
<i class="iconify lucide--users"></i>
<a href="javascript:void(0)" class="btn btn-outline btn-view btn-sm">
<i data-lucide="users" class="size-3"></i>
<span class="">Các nhóm KH</span>
</a>
<a href="javascript:void(0)" class="btn btn-outline btn-view">
<i class="iconify lucide--file-x"></i>
<a href="javascript:void(0)" class="btn btn-outline btn-view btn-sm">
<i data-lucide="file-x" class="size-3"></i>
<span class="">Tải file excel</span>
</a>
</div>
@@ -72,10 +72,10 @@
<div class="badge badge-success badge-sm badge-soft">Hoạt động</div>
</td>
<td>
<span class="text-primary">0<span class=" ml-2">Thành công</span></span>
<span class="text-active">0<span class=" ml-2">Thành công</span></span>
</td>
<td>
<span class="text-primary">0</span><span class="ml-2">Thu</span>
<span class="text-active">0</span><span class="ml-2">Thu</span>
</td>
<td>
<p>
@@ -89,19 +89,19 @@
<div class="flex items-center gap-3">
<a href="/admin/product/form?id={{item.id}}" title="Form sản phẩm"
class="btn btn-soft btn-xs btn-square btn-view">
<i class="iconify lucide--pencil"></i>
<i data-lucide="pencil" class="size-3"></i>
</a>
<a href="{{item.request_path}}" title="Xem tại web" target="_blank"
class="btn btn-soft btn-xs btn-square btn-view">
<i class="iconify lucide--clock"></i>
<i data-lucide="clock" class="size-3"></i>
</a>
</div>
<div class="flex items-center gap-3 mt-3">
<a href="" class="btn btn-soft btn-xs btn-square btn-view">
<i class="iconify lucide--globe"></i>
<i data-lucide="globe" class="size-3"></i>
</a>
<a href="" class="btn btn-soft btn-xs btn-square btn-error">
<i class="iconify lucide--trash-2"></i>
<i data-lucide="trash-2" class="size-3"></i>
</a>
</div>
</td>
@@ -110,19 +110,17 @@
</table>
</div>
<div class="join mt-5 justify-center flex items-cente r">
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item"
aria-label="Pagination controls">
<span class="iconify lucide--arrow-left"></span>
<div class="join mt-5 justify-end flex items-center gap-1">
<a href="" class="btn btn-ghost btn-circle btn-sm" aria-label="Pagination controls">
<i data-lucide="chevron-left" class="size-4"></i>
</a>
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item">1</a>
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item btn-active">2</a>
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item">3</a>
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item">4</a>
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item">5</a>
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item"
aria-label="Pagination controls">
<span class="iconify lucide--arrow-right"></span>
<a href="" class="btn btn-circle btn-sm btn-ghost">1</a>
<a href="" class="btn btn-circle btn-sm btn-ghost btn-active">2</a>
<a href="" class="btn btn-circle btn-sm btn-ghost">3</a>
<a href="" class="btn btn-circle btn-sm btn-ghost">4</a>
<a href="" class="btn btn-circle btn-sm btn-ghost">5</a>
<a href="" class="btn btn-ghost btn-circle btn-sm" aria-label="Pagination controls">
<i data-lucide="chevron-right" class="size-4"></i>
</a>
</div>

View File

@@ -36,7 +36,7 @@
<th>Tác giả</th>
<th>Sản phẩm</th>
<th>Nội dung</th>
<th>Lựa chọn</th>
<th class="w-[120px]">Lựa chọn</th>
</tr>
</thead>
<tbody>
@@ -63,24 +63,24 @@
<div class="flex items-center gap-3">
<a href="javascript:void(0)" onclick="js_list_reply_comment.showModal()"
class="btn btn-soft btn-xs btn-square btn-view">
<i class="iconify lucide--pointer"></i>
<i data-lucide="pointer" class="size-3"></i>
</a>
<a href="" class="btn btn-soft btn-xs btn-square btn-view">
<i class="iconify lucide--pencil"></i>
<i data-lucide="pencil" class="size-3"></i>
</a>
<a href="" class="btn btn-soft btn-xs btn-square btn-view">
<i class="iconify lucide--crown"></i>
<i data-lucide="crown" class="size-3"></i>
</a>
</div>
<div class="flex items-center mt-3 gap-3">
<a href="" class="btn btn-soft btn-xs btn-square btn-view">
<i class="iconify lucide--plus"></i>
<i data-lucide="plus" class="size-3"></i>
</a>
<a href="" class="btn btn-soft btn-xs btn-square btn-error">
<i class="iconify lucide--ban"></i>
<i data-lucide="ban" class="size-3"></i>
</a>
<a href="" class="btn btn-soft btn-xs btn-square btn-error">
<i class="iconify lucide--trash-2"></i>
<i data-lucide="trash-2" class="size-3"></i>
</a>
</div>
</td>

View File

@@ -20,7 +20,7 @@
<th>Thông tin</th>
<th>Giá</th>
<th>Sản phẩm</th>
<th>Cập nhật</th>
<th class="w-[150px]">Cập nhật</th>
</tr>
</thead>
<tbody>

View File

@@ -20,7 +20,7 @@
<th class="w-[30%]">Danh mục đang có</th>
<th>Thứ tự</th>
<th>Trạng thái</th>
<th>Cập nhật</th>
<th class="w-[120px]">Cập nhật</th>
</tr>
</thead>
<tbody>

View File

@@ -45,7 +45,7 @@
<th>Logo</th>
<th>Số Sản phẩm</th>
<th>Cài đặt</th>
<th>Cập nhật</th>
<th class="w-[150px]">Cập nhật</th>
</tr>
</thead>
<tbody>

View File

@@ -24,7 +24,7 @@
<td>STT</td>
<td>Hiển thị nội dung</td>
<td>Thuộc tính</td>
<td>Cập nhật</td>
<td class="w-[150px]">Cập nhật</td>
</tr>
{{page.category_list}}

View File

@@ -37,7 +37,7 @@
<td>Tên gọi/miêu tả</td>
<td>Sản phẩm</td>
<td>Lượt xem</td>
<td>Cập nhật</td>
<td class="w-[150px]">Cập nhật</td>
</tr>
</thead>
<tbody>

View File

@@ -10,7 +10,7 @@
<div class="flex items-center justify-end mt-5 mb-3">
<a href=" /admin/product/config_group_form" class=" btn btn-sm btn-outline btn-view">
<i class="iconify lucide--circle-plus">+</i>
<i data-lucide="circle-plus" class="size-4"></i>
<span class="">Thêm nhóm cấu hình</span>
</a>
</div>
@@ -19,9 +19,9 @@
<table class="table">
<thead>
<tr class="bg-base-200 font-bold text-black">
<th>STT</th>
<th class="w-[50px]">STT</th>
<th>Thông tin</th>
<th>Cập nhật</th>
<th class="w-[80px]">Cập nhật</th>
</tr>
</thead>
<tbody>

View File

@@ -1,138 +1,122 @@
<div class="w-[100%] mb-[50px]">
<div class="w-full mb-[50px]">
<div class="text-sm breadcrumbs ml-[10px]">
<div class="text-sm breadcrumbs">
<ul>
<li><a href="/admin/product/config_group">Nhóm cấu hình sản phẩm</a></li>
<li class="text-[#0041E8]">Form thêm/sửa cấu hình</li>
<li class="text-active">Form thêm/sửa cấu hình</li>
</ul>
</div>
<div class="w-[1140px] my-0 mx-auto">
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] my-[15px]">
<div class="w-7xl mx-auto">
<div class="bg-white p-3 rounded-sm shadow mt-5">
<div class="flex items-center justify-between">
<h1 class="text-[20px] font-[700]">Cập nhật cấu hình sản phẩm</h1>
<div class="flex items-center ">
<a href="/admin/brand/add"
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px]">
<span
class="w-[14px] h-[14px] border-[1px] rounded-[50%] border-[#6B7280] text-center leading-[12px] mr-[5px] text-[#6B7280]">+</span>
<span class="text-[#6B7280]">Thêm sp mới</span>
<h1 class="text-xl font-bold">Cập nhật cấu hình sản phẩm</h1>
<div class="flex items-center gap-3 ">
<a href="/admin/brand/add" class="btn btn-sm btn-outline btn-view">
<i data-lucide="plus" class="size-4"></i>
<span>Thêm sp mới</span>
</a>
<a href="/admin/brand/add"
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px] ml-[10px]">
<i class="fa-solid fa-copy text-[#6B7280] mr-[3px]"></i>
<span class="text-[#6B7280]">Tạo sp tương tự</span>
<a href="/admin/brand/add" class="btn btn-sm btn-outline btn-view">
<i data-lucide="copy" class="size-4"></i>
<span>Tạo sp tương tự</span>
</a>
</div>
</div>
</div>
<div class="flex">
<div class="left w-[270px] mr-[10px]">
<div class="grid grid-cols-4 gap-5 mt-5">
<div class="left">
<div class="list-tab">
<a href="/admin/product/config_group_form"
class="item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] rounded-[10px_10px_0_0] text-[13px] leading-[35px] px-[10px]">Nội
class="item block w-full text-[#6B7280] bg-white rounded-[10px_10px_0_0] shadow-[0px_-1px_1px_0px_#0000001A] text-[13px] p-2">Nội
dung</a>
<a href="/admin/product/config_group_attribute"
class=" item block w-[100%] h-[36px] text-[#fff] bg-[#0041E8] text-[13px] leading-[35px] px-[10px] font-500">Thuộc
class=" item block w-full text-[#fff] bg-[#0041E8] text-[13px] font-500 p-2">Thuộc
tính</a>
<a href="/admin/product/config_group_product"
class=" item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] text-[13px] leading-[35px] px-[10px] font-500 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
class=" item block w-full text-[#6B7280] bg-white text-[13px] font-500 p-2 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
phẩm</a>
</div>
</div>
<div class="right w-[860px]">
<div class="right col-span-3">
<div
class="bg-white p-[10px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
<b class="block font-[20px] mb-[10px]">Thuộc tính</b>
<div class="flex items-center mb-[10px]">
<div class="form-control mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Cập nhật</label>
<div class="bg-white p-3 rounded-sm shadow">
<b class="block font-xl">Thuộc tính</b>
<div class="grid grid-cols-2 gap-5 mt-5">
<div class="form-control">
<label class="font-bold text-base">Cập nhật</label>
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Cập nhật"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
placeholder="Cập nhật" class="w-full input rounded-sm shadow mt-3">
</div>
<div class="form-control ml-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Thứ tự</label>
<div class="form-control">
<label class="font-bold text-base">Thứ tự</label>
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Thứ tự"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
placeholder="Thứ tự" class="w-full input rounded-sm shadow mt-3">
</div>
</div>
</div>
<div class="bg-white p-[10px] shadow-[0px_1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
<b class="block font-[20px] mb-[10px]">Thuộc tính</b>
<div class="bg-white p-3 rounded-sm shadow mt-5">
<b class="block font-xl">Thuộc tính</b>
<div class="flex items-center mb-[10px]">
<div class="form-control mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Giá trị</label>
<div class="grid grid-cols-3 gap-3 mt-5">
<div class="form-control">
<label class="font-bold text-base">Giá trị</label>
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Giá trị"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
placeholder="Giá trị" class="w-full input rounded-sm shadow mt-3">
</div>
<div class="form-control mx-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Mô tả</label>
<div class="form-control">
<label class="font-bold text-base">Mô tả</label>
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Mô tả"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
placeholder="Mô tả" class="w-full input rounded-sm shadow mt-3">
</div>
<div class="form-control ml-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Thứ tự</label>
<div class="form-control">
<label class="font-bold text-base">Thứ tự</label>
<input type="text" size="60" name="info[title]" id="title" value="0" placeholder="Thứ tự"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input rounded-sm shadow mt-3">
</div>
</div>
<div class="flex items-center mb-[10px]">
<div class="form-control mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Giá trị</label>
<div class="form-control">
<label class="font-bold text-base">Giá trị</label>
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Giá trị"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
placeholder="Giá trị" class="w-full input rounded-sm shadow mt-3">
</div>
<div class="form-control mx-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Mô tả</label>
<div class="form-control">
<label class="font-bold text-base">Mô tả</label>
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Mô tả"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
placeholder="Mô tả" class="w-full input rounded-sm shadow mt-3">
</div>
<div class="form-control ml-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Thứ tự</label>
<div class="form-control">
<label class="font-bold text-base">Thứ tự</label>
<input type="text" size="60" name="info[title]" id="title" value="0" placeholder="Thứ tự"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input rounded-sm shadow mt-3">
</div>
</div>
<div class="flex items-center mb-[10px]">
<div class="form-control mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Giá trị</label>
<div class="form-control">
<label class="font-bold text-base">Giá trị</label>
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Giá trị"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
placeholder="Giá trị" class="w-full input rounded-sm shadow mt-3">
</div>
<div class="form-control mx-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Mô tả</label>
<div class="form-control">
<label class="font-bold text-base">Mô tả</label>
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Mô tả"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
placeholder="Mô tả" class="w-full input rounded-sm shadow mt-3">
</div>
<div class="form-control ml-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Thứ tự</label>
<div class="form-control">
<label class="font-bold text-base">Thứ tự</label>
<input type="text" size="60" name="info[title]" id="title" value="0" placeholder="Thứ tự"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input rounded-sm shadow mt-3">
</div>
</div>
<a href="javascript:void(0)" class="flex items-center text-center justify-center mt-[20px]">
<span
class="font-[500] w-[15px] h-[15px] border-[1px] rounded-[50%] border-[#0041E8] text-center leading-[12px] mr-[5px] text-[#0041E8]">+</span>
<span class="text-[#0041E8] font-[500]">Thêm giá trị</span>
<a href="javascript:void(0)"
class="flex items-center text-center justify-center mt-5 gap-2 text-active">
<i data-lucide="circle-plus" class="size-4 mt-0.5"></i>
<span class="text-active font-bold">Thêm giá trị</span>
</a>
</div>
<div class="bg-white p-[10px] rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A]">
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer"
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" />
<div class="bg-white p-3 rounded-sm shadow mt-5">
<input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
value="Cập nhật" />
</div>
</div>

View File

@@ -28,39 +28,36 @@
<div class="left">
<div class="list-tab">
<a href="/admin/product/config_group_form"
class="item block w-[100%] h-[36px] text-white bg-[#0041E8] rounded-[10px_10px_0_0] text-[13px] leading-[35px] px-[10px]">Nội
class="item block w-full text-[13px] font-bold text-white bg-[#0041E8] rounded-[10px_10px_0_0] p-2">Nội
dung</a>
<a href="/admin/product/config_group_attribute"
class=" item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] text-[13px] leading-[35px] px-[10px] font-500">Thuộc
class=" item block w-full text-[#6B7280] bg-white text-[13px] p-2 font-500 border-t-1 border-base-100">Thuộc
tính</a>
<a href="/admin/product/config_group_product"
class=" item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] text-[13px] leading-[35px] px-[10px] font-500 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
class=" item block w-full text-[#6B7280] bg-white text-[13px] p-2 font-500 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
phẩm</a>
</div>
</div>
<div class="right col-span-3">
<div
class="bg-white p-[10px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
<div class="bg-white p-3 rounded-sm shadow">
<div class="form-control mb-[10px]">
<label class="font-[600] mb-[5px] text-[14px]">Tên nhóm</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Tên nhóm</label>
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Tên nhóm"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
placeholder="Tên nhóm" class="w-full input rounded-sm shadow mt-3">
</div>
<div class="form-control mb-[10px]">
<label class="font-[600] mb-[5px] text-[14px]">Mô tả tóm tắt</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Mô tả tóm tắt</label>
<textarea type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Tên nhóm"
class="w-[100%] h-[120px] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>
placeholder="Tên nhóm" class="w-full textarea rounded-sm shadow mt-3"></textarea>
</div>
</div>
<div class="bg-white p-[10px] rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A]">
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer"
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" />
<div class="bg-white p-3 rounded-sm shadow mt-5">
<input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
value="Cập nhật" />
</div>
</div>

View File

@@ -7,80 +7,79 @@
</ul>
</div>
<div class="w-[1140px] my-0 mx-auto">
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] my-[15px]">
<div class="w-7xl mx-auto">
<div class="bg-white p-3 rounded-sm shadow mt-5">
<div class="flex items-center justify-between">
<h1 class="text-[20px] font-[700]">Cập nhật cấu hình sản phẩm</h1>
<div class="flex items-center ">
<a href="/admin/brand/add"
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px]">
<span
class="w-[14px] h-[14px] border-[1px] rounded-[50%] border-[#6B7280] text-center leading-[12px] mr-[5px] text-[#6B7280]">+</span>
<span class="text-[#6B7280]">Thêm sp mới</span>
<h1 class="text-xl font-bold">Cập nhật cấu hình sản phẩm</h1>
<div class="flex items-center gap-3 ">
<a href="/admin/brand/add" class="btn btn-sm btn-outline btn-view">
<i data-lucide="plus" class="size-4"></i>
<span>Thêm sp mới</span>
</a>
<a href="/admin/brand/add"
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px] ml-[10px]">
<i class="fa-solid fa-copy text-[#6B7280] mr-[3px]"></i>
<span class="text-[#6B7280]">Tạo sp tương tự</span>
<a href="/admin/brand/add" class="btn btn-sm btn-outline btn-view">
<i data-lucide="copy" class="size-4"></i>
<span>Tạo sp tương tự</span>
</a>
</div>
</div>
</div>
<div class="flex">
<div class="left w-[270px] mr-[10px]">
<div class="grid grid-cols-4 gap-5 mt-5">
<div class="left">
<div class="list-tab">
<a href="/admin/product/config_group_form"
class="item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] rounded-[10px_10px_0_0] text-[13px] leading-[35px] px-[10px]">Nội
class="item block w-full text-[#6B7280] bg-white rounded-[10px_10px_0_0] shadow-[0px_-1px_1px_0px_#0000001A] text-[13px] p-2">Nội
dung</a>
<a href="/admin/product/config_group_attribute"
class=" item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] text-[13px] leading-[35px] px-[10px] font-500">Thuộc
class=" item block w-full text-[#6B7280] bg-white text-[13px] font-500 p-2">Thuộc
tính</a>
<a href="/admin/product/config_group_product"
class=" item block w-[100%] h-[36px] text-[#fff] bg-[#0041E8] text-[13px] leading-[35px] px-[10px] font-500 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
class=" item block w-full text-[#fff] font-bold bg-[#0041E8] text-[13px] p-2 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
phẩm</a>
</div>
</div>
<div class="right w-[860px]">
<div class="bg-white h-[400px] p-[10px] rounded-[10px] shadow-[0px_1px_1px_0px_#0000001A]">
<div class="right col-span-3">
<div class="bg-white p-3 rounded-sm shadow">
<table class="table-config-pro">
<thead>
<tr>
<th>STT</th>
<th>Sản phẩm</th>
<th>Thuộc tính</th>
<th>Công cụ</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>
<a href="" class="name">Tai nghe Bluetooth True Wireless WIWU TWS12 Màu Hồng</a>
</td>
<td>
<div class="flex items-center">
<p>Màu sắc</p>
<select name="" id="">
<option value="">Hồng</option>
<option value="">Tím</option>
</select>
</div>
</td>
<td class="w-[120px]">
<div class='list-btn flex items-center'>
<a href=""
class="w-[86px] h-[30px] leading-[30px] mr-[5px] bg-[#0041E8] text-center text-white rounded-[4px]">Cập
nhật</a>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#9E9E9E] rounded-[4px] text-center leading-[30px] flex items-center justify-center'><i
class='icons icon-remove'></i></a>
</div>
</td>
</tr>
</tbody>
</table>
<div class="border border-base-200 rounded-sm">
<table class="table">
<thead>
<tr class="bg-base-300 text-black font-bold">
<th>STT</th>
<th>Sản phẩm</th>
<th>Thuộc tính</th>
<th>Công cụ</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>
<a href="" class="text-active">Tai nghe Bluetooth True Wireless WIWU TWS12 Màu
Hồng</a>
</td>
<td>
<div class="flex items-center gap-2">
<p class="whitespace-nowrap">Màu sắc</p>
<select name="" id="" class="select select-sm">
<option value="">Hồng</option>
<option value="">Tím</option>
</select>
</div>
</td>
<td class="w-[120px]">
<div class='list-btn flex items-center gap-2'>
<a href="" class="btn btn-active btn-sm">Cập
nhật</a>
<a href="" class="btn btn-soft btn-xs btn-error btn-square">
<i data-lucide="trash-2" class="size-3 text-red-400"></i>
</a>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>

View File

@@ -3,14 +3,14 @@
<div class="shadow p-3 rounded-sm border border-base-200">
<div class="flex items-center gap-3">
<input type="text" size="60" name="info[title]" placeholder="" class="input input-md rounded-sm shadow">
<a href="javascript:void(0)" class="btn btn-md btn-active">Tìm
<input type="text" size="60" name="info[title]" placeholder="" class="input input-sm rounded-sm shadow">
<a href="javascript:void(0)" class="btn btn-sm btn-active">Tìm
kiếm</a>
</div>
</div>
<div class="flex items-center justify-between mt-5">
<a href="javascript:void(0)" onclick="js_list_category.showModal()" class="btn btn-outline btn-view">
<a href="javascript:void(0)" onclick="js_list_category.showModal()" class="btn btn-outline btn-view btn-sm">
Chọn danh mục để xem
</a>
<select name="" id="" class="select select-md rounded-sm shadow w-32">

View File

@@ -1,7 +1,7 @@
<div class="bg-white shadow p-3 rounded-sm">
<h1 class="text-2xl font-bold mb-3">Danh sách set</h1>
<div class="flex items-start justify-between gap-5">
<div><b>Giới thiệu:</b> "Combo Set" là một "set" (danh sách) các sản phẩm được cài giảm giá
<div class="text-[13px]"><b>Giới thiệu:</b> "Combo Set" là một "set" (danh sách) các sản phẩm được cài giảm giá
sẵn.
Các
mức giá giảm này
@@ -13,8 +13,8 @@
iPhone có thể áp dựng set này. Như vậy xem website có thể chọn mua iPhone và mua thêm 1 số sản phẩm
trong set mà bạn đã
thiết lập.</div>
<a href="/admin/product/set_form" id="add-prod" class="btn btn-view btn-outline">
<span class=" iconify lucide--circle-plus"></span>
<a href="/admin/product/set_form" id="add-prod" class="btn btn-view btn-outline btn-sm">
<span data-lucide="circle-plus" class="size-4"></span>
<span class="">Thêm
set mới</span></a>
</div>
@@ -26,13 +26,13 @@
<td>Thông tin</td>
<td>Cập nhật</td>
<td>Sản phẩm sử dụng set này</td>
<td>Quản lý</td>
<td class="w-[200px]">Quản lý</td>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>(ID: 658) <a href="" class=" name font-bold link-primary">Thẻ Nhớ CAEZ CAIM CAIS</a>
<td>(ID: 658) <a href="" class=" name font-bold link-active">Thẻ Nhớ CAEZ CAIM CAIS</a>
<p>Thẻ Nhớ cho các dòng CAM: CAEZ CAIM CAIS</p>
</td>
<td>
@@ -41,7 +41,7 @@
</td>
<td>
<div class="flex items-center gap-3">
<p class="mr-[10px]">137 sp</p>
<p class="">137 sp</p>
<a href="" class="btn btn-sm btn-active">Xem
danh sách</a>
</div>
@@ -50,10 +50,10 @@
<div class="flex items-center gap-3">
<a href="" class="btn btn-sm btn-active">Chi
tiết</a>
<a href="" class='btn btn-sm btn-outline btn-view'><i
class="iconify lucide--pencil"></i></a>
<a href="" class='btn btn-sm btn-outline btn-error'><i
class='iconify lucide--trash'></i></a>
<a href="" class='btn btn-sm btn-outline btn-view'><i data-lucide="pencil"
class="size-3"></i></a>
<a href="" class='btn btn-sm btn-outline btn-error'><i data-lucide="trash-2"
class='size-3'></i></a>
</div>
</td>
</tr>

View File

@@ -3,8 +3,8 @@
<div class="shadow p-3 rounded-sm border border-base-200">
<div class="flex items-center gap-3">
<input type="text" size="60" name="info[title]" placeholder="" class="input input-md rounded-sm shadow">
<a href="javascript:void(0)" class="btn btn-md btn-primary">Tìm
<input type="text" size="60" name="info[title]" placeholder="" class="input input-sm rounded-sm shadow">
<a href="javascript:void(0)" class="btn btn-sm btn-active">Tìm
kiếm</a>
</div>
</div>
@@ -14,9 +14,9 @@
<b>Hướng dẫn:</b>
<span class="ml-1">Nhóm thông số kỹ thuật được ghép cho từng sản phẩm cụ thể</span>
</p>
<a href="/admin/product/spec-group" class="btn btn-md btn-outline btn-view flex items-center">
<i class="iconify lucide--circle-plus"></i>
<span class="text-[#0041E8] whitespace-nowrap">Thêm nhóm mới</span>
<a href="/admin/product/spec-group-add" class="btn btn-sm btn-outline btn-view flex items-center">
<i data-lucide="circle-plus" class="size-4"></i>
<span class="">Thêm nhóm mới</span>
</a>
</div>
<div class="overflow-x-auto sm:whitespace-nowrap mt-5 border border-base-200 rounded-sm">
@@ -32,14 +32,14 @@
<tr>
<td class="w-2">1</td>
<td>
<a href="" class="name link-primary">Camera</a>
<a href="" class="name link-active">Camera</a>
</td>
<td class="w-12">
<div class='list-btn flex items-center justify-center gap-3'>
<a href="" class='btn btn-soft btn-xs btn-square btn-outline btn-view'><i
class='iconify lucide--pencil'></i></a>
data-lucide="pencil" class="size-3"></i></a>
<a href="" class='btn btn-soft btn-xs btn-square btn-outline btn-error'><i
class='iconify lucide--trash-2'></i></a>
data-lucide="trash-2" class="size-3"></i></a>
</div>
</td>
</tr>

View File

@@ -1,75 +1,74 @@
<div class="w-[100%] mb-[50px]">
<div class="w-full mb-[50px]">
<div class="text-sm breadcrumbs ml-[10px]">
<div class="text-sm breadcrumbs">
<ul>
<li><a href="/admin/product/spec-group">Nhóm thông số kỹ thuật</a></li>
<li><a href="/admin/product/spec-group-info">Thông tin nhóm thông số kỹ thuật</a></li>
<li class="text-[#0041E8]">Form thông số kỹ thuật</li>
<li class="text-active">Form thông số kỹ thuật</li>
</ul>
</div>
<div class="w-[1140px] my-0 mx-auto">
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] my-[15px]">
<div class="w-7xl mx-auto">
<div class="bg-white p-3 rounded-sm shadow mt-5">
<div>
<h1 class="text-[20px] font-[700]">Cập nhật thông số kỹ thuật</h1>
<span class="text-[#6B7280]">Thông tin chung</span>
<h1 class="text-xl font-bold">Cập nhật thông số kỹ thuật</h1>
<span class="text-gray-500">Thông tin chung</span>
</div>
</div>
<div class="flex">
<div class="left w-[270px] mr-[10px]">
<div class="grid grid-cols-4 mt-5 gap-5">
<div class="left">
<div class="list-tab">
<a href="javascript:void(0)"
class="item block w-[100%] h-[36px] text-white bg-[#0041E8] rounded-[10px] text-[13px] leading-[35px] px-[10px]">Nội
class="item block w-full text-white bg-[#0041E8] rounded-sm text-[13px] p-2">Nội
dung</a>
</div>
</div>
<div class="right w-[860px]">
<div
class="bg-white p-[15px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
<div class="right col-span-3">
<div class="bg-white p-3 rounded-sm shadow">
<div class="form-control mb-[10px]">
<label class="font-[600] mb-[5px] text-[14px]">Header</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Header</label>
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Thông tin chung"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
placeholder="Thông tin chung" class="w-full input rounded-sm shadow mt-3" />
</div>
<div class="form-control mb-[10px]">
<label class="font-[600] mb-[5px] text-[14px]">Tên thông số (*)</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Tên thông số (*)</label>
<input type="text" size="60" name="" placeholder="Hãng sản xuất"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-full input rounded-sm shadow mt-3" />
</div>
<div class="form-control mb-[10px]">
<label class="font-[600] mb-[5px] text-[14px]">Diễn dải</label>
<div class="form-control mt-5">
<label class="font-bold text-base">Diễn dải</label>
<textarea type="text" size="60" name="" placeholder="Diễn dải"
class="w-[100%] h-[120px] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>
class="w-full textarea rounded-sm shadow mt-3"></textarea>
</div>
<div class="form-control mb-[10px]">
<label class="font-[600] mb-[5px] text-[14px]">Thứ tự hiển thị</label>
<div class="form-control mt-5 flex items-center gap-3">
<label class="font-bold text-base">Thứ tự hiển thị</label>
<input type="text" size="60" name="" placeholder="Thứ tự hiển thị"
class="w-[50%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
class="w-[30%] input rounded-sm shadow" />
</div>
<div class="mb-[10px] flex items-center">
<label class="font-[600] mb-[5px] text-[14px] w-[170px]">Bắt buộc nhập cho sp</label>
<div class="flex items-center">
<div class="check-form flex items-center mb-[10px] mr-[20px]">
<input type="radio" name="info[scope]" value="0" checked="">
<label for="" class="ml-[25px] text-[#6B7280]">Bắt buộc</label>
</div>
<div class="check-form flex items-center mb-[10px]">
<input type="radio" name="info[scope]" value="1">
<label for="" class="ml-[25px] text-[#6B7280]">Không bắt buộc</label>
</div>
<div class="mt-5 flex items-center gap-5">
<label class="font-bold text-base">Bắt buộc nhập cho sp</label>
<div class="flex items-center gap-3">
<label class="check-form cursor-pointer flex items-center gap-2">
<input type="radio" class="radio radio-active radio-sm" name="info[scope]" value="0"
checked="">
<div for="" class="label-text text-[#6B7280]">Bắt buộc</div>
</label>
<label class="check-form cursor-pointer flex items-center gap-2">
<input type="radio" class="radio radio-active radio-sm" name="info[scope]" value="1">
<div for="" class="label-text text-[#6B7280]">Không bắt buộc</div>
</label>
</div>
</div>
</div>
<div class="bg-white p-[10px] shadow-[0px_1px_1px_0px_#0000001A] rounded-[0_0_10px_10px]">
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer"
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" />
<div class="bg-white p-3 shadow rounded-sm mt-5">
<input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
value="Cập nhật" />
</div>
</div>
</div>