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

View File

@@ -11,7 +11,7 @@
<div class="list-filter flex items-center justify-between mt-3"> <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 <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> 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> <option value="">Chọn bộ lọc</option>
</select> </select>
</div> </div>
@@ -59,10 +59,10 @@
<option value="">Trạng thái</option> <option value="">Trạng thái</option>
</select> </select>
<div class="flex items-center mt-3 gap-3"> <div class="flex items-center mt-3 gap-3">
<a href="" class="btn btn-soft btn-xs btn-square btn-view"> <span <a href="" class="btn btn-soft btn-xs btn-square btn-view"> <i data-lucide="pencil"
class="iconify lucide--pencil"></span></a> class="size-3"></i></a>
<a href="" class="btn btn-soft btn-error btn-xs btn-square" title="Xóa"> <span <a href="" class="btn btn-soft btn-error btn-xs btn-square" title="Xóa"> <i
class="iconify lucide--trash-2 tw-rla"></span></a> data-lucide="trash-2" class="size-3"></i></a>
</div> </div>
</td> </td>
</tr> </tr>

View File

@@ -1,21 +1,21 @@
<div class="w-[100%]"> <div class="w-full">
<div class="m-[15px] p-[15px] rounded-[15px] bg-white shadow-[0_1px_1px_0_rgba(0,0,0,0.1)] overflow-x-auto"> <div class="p-3 rounded-sm bg-white shadow overflow-x-auto">
<h1 class="text-[24px] font-[700] mb-3">Nhóm khách hàng</h1> <h1 class="text-2xl font-bold mb-3">Nhóm khách hàng</h1>
<div class="flex items-center justify-end"> <div class="flex items-center justify-end gap-2">
<a href="/admin/customer/customer-group-add" class="border-[1px] border-[#0041E8] rounded-[4px] p-[5px]"> <a href="/admin/customer/customer-group-add" class="btn btn-outline btn-view btn-sm">
<i class="fa-solid fa-user-plus text-[#0041E8] mr-[5px]"></i> <i data-lucide="user-plus" class="size-4"></i>
<span class="text-[#0041E8] font-[500]">Thêm nhóm mới</span> <span class="">Thêm nhóm mới</span>
</a> </a>
<a href="/admin/customer" class="border-[1px] border-[#0041E8] rounded-[4px] p-[5px] ml-[10px]"> <a href="/admin/customer" class="btn btn-outline btn-view btn-sm">
<i class="fa-regular fa-clipboard text-[#0041E8] mr-[5px]"></i> <i data-lucide="clipboard" class="size-4"></i>
<span class="text-[#0041E8] font-[500]">Danh sách khách hàng</span> <span class="">Danh sách khách hàng</span>
</a> </a>
</div> </div>
<table class="table mt-[15px]"> <table class="table mt-5">
<thead class="bg-[#F6F6F6] text-[#000] text-[14px]"> <thead>
<tr> <tr class="bg-base-200 text-black font-bold">
<th class="w-[50px]">STT</th> <th class="w-[50px]">STT</th>
<th>Mã nhóm</th> <th>Mã nhóm</th>
<th>Tên gọi/miêu tả</th> <th>Tên gọi/miêu tả</th>
@@ -29,23 +29,20 @@
<td>0</td> <td>0</td>
<td>Khách vip</td> <td>Khách vip</td>
<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> danh sách</a>
</td> </td>
<td> <td>
<div class='list-btn flex items-center justify-center'> <div class='list-btn flex items-center justify-center gap-3'>
<a href="" <a href="" title=" Form sản phẩm" class="btn btn-soft btn-xs btn-square btn-view">
class='w-[30px] h-[30px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i <i data-lucide="pencil" class="size-3"></i>
class='icons icon-edit'></i></a> </a>
<a href="" <a href="" title=" Form sản phẩm" class="btn btn-soft btn-xs btn-square btn-view">
class='w-[30px] h-[30px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'> <i data-lucide="plus" class="size-3"></i>
<span </a>
class="w-[14px] h-[14px] border-[1px] rounded-[50%] border-[#0041E8] text-center leading-[11px] mr-[5px] text-[#0041E8]">+</span> <a href="" class="btn btn-soft btn-xs btn-square btn-error">
<i data-lucide="trash-2" class="size-3"></i>
</a> </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> </div>
</td> </td>
</tr> </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> <ul>
<li><a href="/admin/customer/customer-group">Nhóm khách hàng</a></li> <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> </ul>
</div> </div>
<div class="w-[1140px] my-0 mx-auto p-[0_15px]"> <div class="w-7xl mx-auto">
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] mb-[15px]"> <div class="bg-white p-3 rounded-sm shadow mt-5">
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
<div> <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> </div>
<a href="/admin/customer/customer-group-add" <a href="/admin/customer/customer-group-add" class="btn btn-outline btn-view btn-sm">
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px]"> <i data-lucide="circle-plus" class="size-4"></i>
<span <span class="">Thêm nhóm khách hàng</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> </a>
</div> </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 <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> </p>
</div> </div>
<div class="flex"> <div class="grid grid-cols-4 gap-5 mt-5">
<div class="left w-[270px] mr-[10px]"> <div class="left">
<div class="list-tab"> <div class="list-tab">
<a href="javascript:void(0)" <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> dung</a>
</div> </div>
</div> </div>
<div class="right w-[860px]"> <div class="right col-span-3">
<div <div class="bg-white p-3 rounded-sm shadow">
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">
<label class="font-bold text-base">Đặt tên nhóm khách hàng</label>
<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>
<input type="text" size="60" name="" placeholder="Đặt tên nhóm khách hàng" <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>
<div class="form-control mb-[15px] w-[100%] mr-[7px]"> <div class="form-control mt-5">
<label class="font-[600] text-[14px]">Đặt tên nhóm khách hàng</label> <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ự <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à _, a-z0-9 và _,
không dấu và không có không dấu và không có
dấu cách. Ví dụ: vip1, dai_ly dấu cách. Ví dụ: vip1, dai_ly
...)</span> ...)</span>
<input type="text" size="60" name="" placeholder="Đặt tên nhóm khách hàng" <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>
<div class="form-control mb-[15px] w-[100%] mr-[7px]"> <div class="form-control mt-5">
<label class="font-[600] mb-[5px] text-[14px]">Miêu tả (nếu có)</label> <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" <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> </div>
<div class="bg-white p-[10px] rounded-[0_0_10px_10px] shadow-[0_1px_1px_0px_#0000001A]"> <div class="bg-white p-3 rounded-sm shadow mt-5">
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer" <input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" /> value="Cập nhật" />
</div> </div>
</div> </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> <ul>
<li><a href="/admin/customer/customer-contact">Khách hàng liên hệ</a></li> <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> </ul>
</div> </div>
<div class="w-[1140px] my-0 mx-auto"> <div class="w-7xl mx-auto">
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] mb-[15px]"> <div class="bg-white p-3 rounded-sm shadow mt-5">
<h1 class="text-[20px] font-[700]">Thông tin khách hàng liên hệ</h1> <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> <p class="text-[#6B7280] mt-[3px]">Lê Văn Ninh</p>
</div> </div>
<div class="flex"> <div class="grid grid-cols-4 gap-5 mt-5">
<div class="left w-[270px] mr-[10px]"> <div class="left">
<div class="list-tab"> <div class="list-tab">
<a href="javascript:void(0)" <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> dung</a>
</div> </div>
</div> </div>
<div class="right w-[860px]"> <div class="right col-span-3">
<div <div class="bg-white p-3 rounded-sm shadow">
class="bg-white p-[10px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]"> <div class="">
<div class="mb-[25px]"> <b class="block text-xl font-bold">Thông tin liên hệ</b>
<b class="block text-[20px] mb-[15px]">Thông tin liên hệ</b> <div class="grid grid-cols-4 mt-3 gap-3">
<div class="flex items-center mb-[5px]"> <b class="">Họ tên:</b>
<b class="w-[150px]">Họ tên:</b> <p class="col-span-3">Lê Văn Ninh</p>
<p class="text-[#6B7280]">Lê Văn Ninh</p>
</div> </div>
<div class="flex items-center mb-[5px]"> <div class="grid grid-cols-4 mt-3 gap-3">
<b class="w-[150px]">Địa chỉ email:</b> <b class="">Địa chỉ email:</b>
<p class="text-[#6B7280]">no_email_1708170779@mail.com</p> <p class="col-span-3">no_email_1708170779@mail.com</p>
</div> </div>
<div class="flex items-center mb-[5px]"> <div class="grid grid-cols-4 mt-3 gap-3">
<b class="w-[150px]">Số điện thoại:</b> <b class="">Số điện thoại:</b>
<p class="text-[#6B7280]">0356723619</p> <p class="col-span-3">0356723619</p>
</div> </div>
<div class="flex items-center"> <div class="grid grid-cols-4 mt-3 gap-3">
<b class="w-[150px]">Thời gian liên hệ:</b> <b class="">Thời gian liên hệ:</b>
<p class="text-[#6B7280]">17-02-2024, 6:56 pm</p> <p class="col-span-3 ">17-02-2024, 6:56 pm</p>
</div> </div>
</div> </div>
<div class="mb-[25px]"> <div class="mt-5">
<b class="block text-[20px] mb-[10px]">Nội dung chi tiết</b> <b class="block text-[20px] mb-[10px]">Nội dung chi tiết</b>
<p class="text-[#6B7280]"> <p class="text-[#6B7280]">
Tìm sản phẩm cần định giá: Tìm sản phẩm cần định giá:
@@ -57,7 +56,7 @@
</p> </p>
</div> </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> <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ú" <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> 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> <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"> <div class="flex items-center justify-end mt-5 gap-3">
<a href="/admin/customer/customer_add" class="btn btn-outline btn-view"> <a href="/admin/customer/customer_add" class="btn btn-outline btn-view btn-sm">
<i class="iconify lucide--pencil"></i> <i data-lucide="pencil" class="size-4"></i>
<span class="">Thêm KH mới</span> <span class="">Thêm KH mới</span>
</a> </a>
<a href="admin/customer/customer-group" class="btn btn-outline btn-view"> <a href="admin/customer/customer-group" class="btn btn-outline btn-view btn-sm">
<i class="iconify lucide--users"></i> <i data-lucide="users" class="size-4"></i>
<span class="">Các nhóm KH</span> <span class="">Các nhóm KH</span>
</a> </a>
<a href="admin/customer/customer-newsletter" class="btn btn-outline btn-view"> <a href="admin/customer/customer-newsletter" class="btn btn-outline btn-view btn-sm">
<i class="iconify lucide--mail"></i> <i data-lucide="mail" class="size-4"></i>
<span class="">KH nhận bản tin</span> <span class="">KH nhận bản tin</span>
</a> </a>
<a href="" class="btn btn-outline btn-view"> <a href="" class="btn btn-outline btn-view btn-sm">
<i class="iconify lucide--file-x"></i> <i data-lucide="file-x" class="size-4"></i>
<span class="">Tải file excel</span> <span class="">Tải file excel</span>
</a> </a>
</div> </div>
@@ -30,7 +30,7 @@
<th>Email</th> <th>Email</th>
<th>Ngày đăng ký</th> <th>Ngày đăng ký</th>
<th>Thông tin khác</th> <th>Thông tin khác</th>
<th>Lựa chọn</th> <th class="w-[100px]">Lựa chọn</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -41,13 +41,13 @@
<td>19-07-2023, 4:45 pm</td> <td>19-07-2023, 4:45 pm</td>
<td>test reply</td> <td>test reply</td>
<td> <td>
<div class='list-btn flex items-center'> <div class='list-btn flex items-center gap-2'>
<a href="" <a href="" title=" Form sản phẩm" class="btn btn-soft btn-xs btn-square btn-view">
class='w-[32px] h-[32px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i <i data-lucide="pencil" class="size-3"></i>
class='icons icon-edit'></i></a> </a>
<a href="" <a href="" class="btn btn-soft btn-xs btn-square btn-error">
class='w-[32px] h-[32px] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i <i data-lucide="trash-2" class="size-3"></i>
class='icons icon-delete'></i></a> </a>
</div> </div>
</td> </td>
</tr> </tr>

View File

@@ -33,7 +33,7 @@
</td> </td>
<td class="text-end"> <td class="text-end">
<a href="" class="btn btn-soft btn-xs btn-square btn-error"> <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> </a>
</td> </td>
</tr> </tr>
@@ -51,7 +51,7 @@
</td> </td>
<td class="text-end"> <td class="text-end">
<a href="" class="btn btn-soft btn-xs btn-square btn-error"> <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> </a>
</td> </td>
</tr> </tr>
@@ -69,7 +69,7 @@
</td> </td>
<td class="text-end"> <td class="text-end">
<a href="" class="btn btn-soft btn-xs btn-square btn-error"> <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> </a>
</td> </td>
</tr> </tr>

View File

@@ -3,38 +3,38 @@
<h1 class="text-2xl font-bold mb-3">Danh sách khách hàng</h1> <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"> <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> 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 hàng đăng
</a> </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> đă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> </div>
<form action="" class="flex items-center p-3 rounded-sm shadow mt-3 gap-3"> <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)"> 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> </form>
<div class="list-filter flex flex-wrap items-center justify-between mt-3"> <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> <option value="">Sắp xếp khách hàng</option>
</select> </select>
<div class="flex items-center mb-3 gap-3"> <div class="flex items-center mb-3 gap-3">
<a href="/admin/customer/customer_add" class="btn btn-outline btn-view"> <a href="/admin/customer/customer_add" class="btn btn-outline btn-view btn-sm">
<i class="iconify lucide--circle-plus"></i> <i data-lucide="circle-plus" class="size-3"></i>
<span class="">Thêm KH mới</span> <span class="">Thêm KH mới</span>
</a> </a>
<a href="javascript:void(0)" class="btn btn-outline btn-view"> <a href="javascript:void(0)" class="btn btn-outline btn-view btn-sm">
<i class="iconify lucide--users"></i> <i data-lucide="users" class="size-3"></i>
<span class="">Các nhóm KH</span> <span class="">Các nhóm KH</span>
</a> </a>
<a href="javascript:void(0)" class="btn btn-outline btn-view"> <a href="javascript:void(0)" class="btn btn-outline btn-view btn-sm">
<i class="iconify lucide--file-x"></i> <i data-lucide="file-x" class="size-3"></i>
<span class="">Tải file excel</span> <span class="">Tải file excel</span>
</a> </a>
</div> </div>
@@ -72,10 +72,10 @@
<div class="badge badge-success badge-sm badge-soft">Hoạt động</div> <div class="badge badge-success badge-sm badge-soft">Hoạt động</div>
</td> </td>
<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>
<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>
<td> <td>
<p> <p>
@@ -89,19 +89,19 @@
<div class="flex items-center gap-3"> <div class="flex items-center gap-3">
<a href="/admin/product/form?id={{item.id}}" title="Form sản phẩm" <a href="/admin/product/form?id={{item.id}}" title="Form sản phẩm"
class="btn btn-soft btn-xs btn-square btn-view"> 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>
<a href="{{item.request_path}}" title="Xem tại web" target="_blank" <a href="{{item.request_path}}" title="Xem tại web" target="_blank"
class="btn btn-soft btn-xs btn-square btn-view"> 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> </a>
</div> </div>
<div class="flex items-center gap-3 mt-3"> <div class="flex items-center gap-3 mt-3">
<a href="" class="btn btn-soft btn-xs btn-square btn-view"> <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>
<a href="" class="btn btn-soft btn-xs btn-square btn-error"> <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> </a>
</div> </div>
</td> </td>
@@ -110,19 +110,17 @@
</table> </table>
</div> </div>
<div class="join mt-5 justify-center flex items-cente r"> <div class="join mt-5 justify-end flex items-center gap-1">
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item" <a href="" class="btn btn-ghost btn-circle btn-sm" aria-label="Pagination controls">
aria-label="Pagination controls"> <i data-lucide="chevron-left" class="size-4"></i>
<span class="iconify lucide--arrow-left"></span>
</a> </a>
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item">1</a> <a href="" class="btn btn-circle btn-sm btn-ghost">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-circle btn-sm btn-ghost 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-circle btn-sm btn-ghost">3</a>
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item">4</a> <a href="" class="btn btn-circle btn-sm btn-ghost">4</a>
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item">5</a> <a href="" class="btn btn-circle btn-sm btn-ghost">5</a>
<a href="" class="btn btn-square btn-sm btn-outline border-base-300 join-item" <a href="" class="btn btn-ghost btn-circle btn-sm" aria-label="Pagination controls">
aria-label="Pagination controls"> <i data-lucide="chevron-right" class="size-4"></i>
<span class="iconify lucide--arrow-right"></span>
</a> </a>
</div> </div>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -28,39 +28,36 @@
<div class="left"> <div class="left">
<div class="list-tab"> <div class="list-tab">
<a href="/admin/product/config_group_form" <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> dung</a>
<a href="/admin/product/config_group_attribute" <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> tính</a>
<a href="/admin/product/config_group_product" <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> phẩm</a>
</div> </div>
</div> </div>
<div class="right col-span-3"> <div class="right col-span-3">
<div <div class="bg-white p-3 rounded-sm shadow">
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-[10px]"> <div class="form-control mt-5">
<label class="font-[600] mb-[5px] text-[14px]">Tên nhóm</label> <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}}" <input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Tên nhóm" placeholder="Tên nhóm" class="w-full input rounded-sm shadow mt-3">
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
</div> </div>
<div class="form-control mb-[10px]"> <div class="form-control mt-5">
<label class="font-[600] mb-[5px] text-[14px]">Mô tả tóm tắt</label> <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}}" <textarea type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Tên nhóm" placeholder="Tên nhóm" class="w-full textarea rounded-sm shadow mt-3"></textarea>
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>
</div> </div>
</div> </div>
<div class="bg-white p-[10px] rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A]"> <div class="bg-white p-3 rounded-sm shadow mt-5">
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer" <input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" /> value="Cập nhật" />
</div> </div>
</div> </div>

View File

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

View File

@@ -3,14 +3,14 @@
<div class="shadow p-3 rounded-sm border border-base-200"> <div class="shadow p-3 rounded-sm border border-base-200">
<div class="flex items-center gap-3"> <div class="flex items-center gap-3">
<input type="text" size="60" name="info[title]" placeholder="" class="input input-md rounded-sm shadow"> <input type="text" size="60" name="info[title]" placeholder="" class="input input-sm rounded-sm shadow">
<a href="javascript:void(0)" class="btn btn-md btn-active">Tìm <a href="javascript:void(0)" class="btn btn-sm btn-active">Tìm
kiếm</a> kiếm</a>
</div> </div>
</div> </div>
<div class="flex items-center justify-between mt-5"> <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 Chọn danh mục để xem
</a> </a>
<select name="" id="" class="select select-md rounded-sm shadow w-32"> <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"> <div class="bg-white shadow p-3 rounded-sm">
<h1 class="text-2xl font-bold mb-3">Danh sách set</h1> <h1 class="text-2xl font-bold mb-3">Danh sách set</h1>
<div class="flex items-start justify-between gap-5"> <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. sẵn.
Các Các
mức giá giảm này 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 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 đã trong set mà bạn đã
thiết lập.</div> thiết lập.</div>
<a href="/admin/product/set_form" id="add-prod" class="btn btn-view btn-outline"> <a href="/admin/product/set_form" id="add-prod" class="btn btn-view btn-outline btn-sm">
<span class=" iconify lucide--circle-plus"></span> <span data-lucide="circle-plus" class="size-4"></span>
<span class="">Thêm <span class="">Thêm
set mới</span></a> set mới</span></a>
</div> </div>
@@ -26,13 +26,13 @@
<td>Thông tin</td> <td>Thông tin</td>
<td>Cập nhật</td> <td>Cập nhật</td>
<td>Sản phẩm sử dụng set này</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> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>1</td> <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> <p>Thẻ Nhớ cho các dòng CAM: CAEZ CAIM CAIS</p>
</td> </td>
<td> <td>
@@ -41,7 +41,7 @@
</td> </td>
<td> <td>
<div class="flex items-center gap-3"> <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 <a href="" class="btn btn-sm btn-active">Xem
danh sách</a> danh sách</a>
</div> </div>
@@ -50,10 +50,10 @@
<div class="flex items-center gap-3"> <div class="flex items-center gap-3">
<a href="" class="btn btn-sm btn-active">Chi <a href="" class="btn btn-sm btn-active">Chi
tiết</a> tiết</a>
<a href="" class='btn btn-sm btn-outline btn-view'><i <a href="" class='btn btn-sm btn-outline btn-view'><i data-lucide="pencil"
class="iconify lucide--pencil"></i></a> class="size-3"></i></a>
<a href="" class='btn btn-sm btn-outline btn-error'><i <a href="" class='btn btn-sm btn-outline btn-error'><i data-lucide="trash-2"
class='iconify lucide--trash'></i></a> class='size-3'></i></a>
</div> </div>
</td> </td>
</tr> </tr>

View File

@@ -3,8 +3,8 @@
<div class="shadow p-3 rounded-sm border border-base-200"> <div class="shadow p-3 rounded-sm border border-base-200">
<div class="flex items-center gap-3"> <div class="flex items-center gap-3">
<input type="text" size="60" name="info[title]" placeholder="" class="input input-md rounded-sm shadow"> <input type="text" size="60" name="info[title]" placeholder="" class="input input-sm rounded-sm shadow">
<a href="javascript:void(0)" class="btn btn-md btn-primary">Tìm <a href="javascript:void(0)" class="btn btn-sm btn-active">Tìm
kiếm</a> kiếm</a>
</div> </div>
</div> </div>
@@ -14,9 +14,9 @@
<b>Hướng dẫn:</b> <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> <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> </p>
<a href="/admin/product/spec-group" class="btn btn-md btn-outline btn-view flex items-center"> <a href="/admin/product/spec-group-add" class="btn btn-sm btn-outline btn-view flex items-center">
<i class="iconify lucide--circle-plus"></i> <i data-lucide="circle-plus" class="size-4"></i>
<span class="text-[#0041E8] whitespace-nowrap">Thêm nhóm mới</span> <span class="">Thêm nhóm mới</span>
</a> </a>
</div> </div>
<div class="overflow-x-auto sm:whitespace-nowrap mt-5 border border-base-200 rounded-sm"> <div class="overflow-x-auto sm:whitespace-nowrap mt-5 border border-base-200 rounded-sm">
@@ -32,14 +32,14 @@
<tr> <tr>
<td class="w-2">1</td> <td class="w-2">1</td>
<td> <td>
<a href="" class="name link-primary">Camera</a> <a href="" class="name link-active">Camera</a>
</td> </td>
<td class="w-12"> <td class="w-12">
<div class='list-btn flex items-center justify-center gap-3'> <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 <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 <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> </div>
</td> </td>
</tr> </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> <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">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><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> </ul>
</div> </div>
<div class="w-[1140px] my-0 mx-auto"> <div class="w-7xl mx-auto">
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] my-[15px]"> <div class="bg-white p-3 rounded-sm shadow mt-5">
<div> <div>
<h1 class="text-[20px] font-[700]">Cập nhật thông số kỹ thuật</h1> <h1 class="text-xl font-bold">Cập nhật thông số kỹ thuật</h1>
<span class="text-[#6B7280]">Thông tin chung</span> <span class="text-gray-500">Thông tin chung</span>
</div> </div>
</div> </div>
<div class="flex"> <div class="grid grid-cols-4 mt-5 gap-5">
<div class="left w-[270px] mr-[10px]"> <div class="left">
<div class="list-tab"> <div class="list-tab">
<a href="javascript:void(0)" <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> dung</a>
</div> </div>
</div> </div>
<div class="right w-[860px]"> <div class="right col-span-3">
<div <div class="bg-white p-3 rounded-sm shadow">
class="bg-white p-[15px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
<div class="form-control mb-[10px]"> <div class="form-control mt-5">
<label class="font-[600] mb-[5px] text-[14px]">Header</label> <label class="font-bold text-base">Header</label>
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}" <input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
placeholder="Thông tin chung" placeholder="Thông tin chung" class="w-full input rounded-sm shadow mt-3" />
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
</div> </div>
<div class="form-control mb-[10px]"> <div class="form-control mt-5">
<label class="font-[600] mb-[5px] text-[14px]">Tên thông số (*)</label> <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" <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>
<div class="form-control mb-[10px]"> <div class="form-control mt-5">
<label class="font-[600] mb-[5px] text-[14px]">Diễn dải</label> <label class="font-bold text-base">Diễn dải</label>
<textarea type="text" size="60" name="" placeholder="Diễn dải" <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>
<div class="form-control mb-[10px]"> <div class="form-control mt-5 flex items-center gap-3">
<label class="font-[600] mb-[5px] text-[14px]">Thứ tự hiển thị</label> <label class="font-bold text-base">Thứ tự hiển thị</label>
<input type="text" size="60" name="" placeholder="Thứ tự hiển thị" <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>
<div class="mb-[10px] flex items-center"> <div class="mt-5 flex items-center gap-5">
<label class="font-[600] mb-[5px] text-[14px] w-[170px]">Bắt buộc nhập cho sp</label> <label class="font-bold text-base">Bắt buộc nhập cho sp</label>
<div class="flex items-center"> <div class="flex items-center gap-3">
<div class="check-form flex items-center mb-[10px] mr-[20px]"> <label class="check-form cursor-pointer flex items-center gap-2">
<input type="radio" name="info[scope]" value="0" checked=""> <input type="radio" class="radio radio-active radio-sm" name="info[scope]" value="0"
<label for="" class="ml-[25px] text-[#6B7280]">Bắt buộc</label> checked="">
</div> <div for="" class="label-text text-[#6B7280]">Bắt buộc</div>
<div class="check-form flex items-center mb-[10px]"> </label>
<input type="radio" name="info[scope]" value="1"> <label class="check-form cursor-pointer flex items-center gap-2">
<label for="" class="ml-[25px] text-[#6B7280]">Không bắt buộc</label> <input type="radio" class="radio radio-active radio-sm" name="info[scope]" value="1">
</div> <div for="" class="label-text text-[#6B7280]">Không bắt buộc</div>
</label>
</div> </div>
</div> </div>
</div> </div>
<div class="bg-white p-[10px] shadow-[0px_1px_1px_0px_#0000001A] rounded-[0_0_10px_10px]"> <div class="bg-white p-3 shadow rounded-sm mt-5">
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer" <input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" /> value="Cập nhật" />
</div> </div>
</div> </div>
</div> </div>