update
This commit is contained in:
@@ -1,58 +1,48 @@
|
||||
<div class="w-[100%]">
|
||||
<div class="m-[15px] px-[15px] py-[20px] rounded-[15px] bg-white shadow-[0_1px_1px_0_rgba(0,0,0,0.1)]">
|
||||
<h1 class="text-2xl font-[700] mb-3">Danh sách khách hàng</h1>
|
||||
<div class="w-full">
|
||||
<div class="m-4 px-4 py-5 rounded-lg bg-white shadow">
|
||||
<h1 class="text-2xl font-bold mb-3">Danh sách khách hàng</h1>
|
||||
|
||||
<div class="list-filter-account flex items-center">
|
||||
<a href="javacsript:void(0)"
|
||||
class="px-[30px] py-[6px] text-[#fff] mr-[5px] bg-[#0041E8] rounded-[4px_4px_0_0] hover:bg-[#0041E8] hover:text-white">Tất
|
||||
<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
|
||||
cả</a>
|
||||
<a href="javacsript:void(0)"
|
||||
class="px-[30px] py-[6px] text-[#919699] mr-[5px] bg-[#F6F6F6] rounded-[4px_4px_0_0] hover:bg-[#0041E8] hover:text-white">Khách
|
||||
<a href="javacsript:void(0)" class="btn btn-view btn-outline">Khách
|
||||
hàng đăng
|
||||
ký</a>
|
||||
<a href="javacsript:void(0)"
|
||||
class="px-[30px] py-[6px] text-[#919699] mr-[5px] bg-[#F6F6F6] rounded-[4px_4px_0_0] hover:bg-[#0041E8] hover:text-white">Chưa
|
||||
<a href="javacsript:void(0)" class="btn btn-view btn-outline">Chưa
|
||||
đăng ký</a>
|
||||
<a href="javacsript:void(0)"
|
||||
class="px-[30px] py-[6px] text-[#919699] mr-[5px] bg-[#F6F6F6] rounded-[4px_4px_0_0] hover:bg-[#0041E8] hover:text-white">VIP</a>
|
||||
<a href="javacsript:void(0)" class="btn btn-view btn-outline">VIP</a>
|
||||
</div>
|
||||
|
||||
<form action=""
|
||||
class="flex items-center p-[15px] rounded-[10px] shadow-[0_1px_1px_0_rgba(0,0,0,0.10)] mt-[15px] border-[1px] border-[#F6F6F6]">
|
||||
<input type="text" name=""
|
||||
class="w-[375px] h-[35px] rounded-[4px] input input-bordered mr-[10px] input-md shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"
|
||||
<form action="" class="flex items-center p-3 rounded-sm shadow mt-3 gap-3">
|
||||
<input type="text" name="" class="input input-bordered shadow"
|
||||
placeholder="Tìm khách hàng (* tên, email, điện thoại)">
|
||||
<button type="submit" class="px-[8px] py-[6px] rounded-[4px] text-white bg-[#0041E8]">Tìm kiếm</button>
|
||||
<button type="submit" class="btn btn-active">Tìm kiếm</button>
|
||||
</form>
|
||||
|
||||
<div class="list-filter flex flex-wrap items-center justify-between mt-[15px]">
|
||||
<select name="" id=""
|
||||
class="select w-[180px] h-[35px] min-h-[35px] p-[5px] border-[1px] border-[#D8D8D8] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mb-[15px]">
|
||||
<div class="list-filter flex flex-wrap items-center justify-between mt-3">
|
||||
<select name="" id="" class="select rounded-sm shadow mb-3">
|
||||
<option value="">Sắp xếp khách hàng</option>
|
||||
</select>
|
||||
|
||||
<div class="list flex items-center mb-[15px]">
|
||||
<a href="/admin/customer/customer_add" class="flex items-center p-[8px_15px] border-[1px] border-[#0041E8] rounded-[4px]
|
||||
text-[#0041E8] bg-[#F5F7FF] hover:text-white hover:bg-[#0041E8]">
|
||||
<i class="fa-solid fa-user-plus"></i>
|
||||
<span class="ml-[5px]">Thêm KH mới</span>
|
||||
<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>
|
||||
<span class="">Thêm KH mới</span>
|
||||
</a>
|
||||
<a href="javascript:void(0)" class="flex items-center p-[8px_15px] border-[1px] border-[#0041E8] rounded-[4px]
|
||||
text-[#0041E8] ml-[15px] bg-[#F5F7FF] hover:text-white hover:bg-[#0041E8]">
|
||||
<i class="fa-solid fa-user-group"></i>
|
||||
<span class="ml-[5px]">Các nhóm KH</span>
|
||||
<a href="javascript:void(0)" class="btn btn-outline btn-view">
|
||||
<i class="iconify lucide--users"></i>
|
||||
<span class="">Các nhóm KH</span>
|
||||
</a>
|
||||
<a href="javascript:void(0)" class="flex items-center p-[8px_15px] border-[1px] border-[#0041E8] rounded-[4px]
|
||||
text-[#0041E8] ml-[15px] bg-[#F5F7FF] hover:text-white hover:bg-[#0041E8]">
|
||||
<i class="fa-regular fa-file-excel"></i>
|
||||
<span class="ml-[5px]">Tải file excel</span>
|
||||
<a href="javascript:void(0)" class="btn btn-outline btn-view">
|
||||
<i class="iconify lucide--file-x"></i>
|
||||
<span class="">Tải file excel</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="overflow-x-auto sm:whitespace-nowrap">
|
||||
<table class="w-[100%] table">
|
||||
<thead class="bg-[#F6F6F6] text-[#000] text-[14px]">
|
||||
<tr>
|
||||
<div class="overflow-x-auto sm:whitespace-nowrap mt-5 border-base-200 shadow rounded-sm">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr class="bg-base-200 text-black font-bold">
|
||||
<th>STT</th>
|
||||
<th>ID</th>
|
||||
<th>Khách hàng</th>
|
||||
@@ -79,13 +69,13 @@
|
||||
Hà Nội
|
||||
</td>
|
||||
<td>
|
||||
<span class="w-[14px] h-[14px] bg-[#FFC700] block mx-auto my-0 rounded-[50%]"></span>
|
||||
<div class="badge badge-success badge-sm badge-soft">Hoạt động</div>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-[#0041E8]">0</span><span class="ml-[5px]">Thành công</span>
|
||||
<span class="text-primary">0<span class=" ml-2">Thành công</span></span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-[#0041E8]">0</span><span class="ml-[5px]">Thu</span>
|
||||
<span class="text-primary">0</span><span class="ml-2">Thu</span>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
@@ -96,24 +86,22 @@
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex items-center">
|
||||
<div class="flex items-center gap-3">
|
||||
<a href="/admin/product/form?id={{item.id}}" title="Form sản phẩm"
|
||||
class="w-[32px] h-[32px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px] mb-[5px]">
|
||||
<i class="icons icon-edit"></i>
|
||||
class="btn btn-soft btn-xs btn-square btn-view">
|
||||
<i class="iconify lucide--pencil"></i>
|
||||
</a>
|
||||
<a href="{{item.request_path}}" title="Xem tại web" target="_blank"
|
||||
class="w-[32px] h-[32px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px] mb-[5px]">
|
||||
<i class="fa-solid fa-lock text-[#0041E8]"></i>
|
||||
class="btn btn-soft btn-xs btn-square btn-view">
|
||||
<i class="iconify lucide--clock"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<a href=""
|
||||
class="w-[32px] h-[32px] border-[1px] border-[#9E9E9E] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px] mb-[5px]">
|
||||
<i class="fa-solid fa-globe text-[#9E9E9E]"></i>
|
||||
<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>
|
||||
</a>
|
||||
<a href=""
|
||||
class="w-[32px] h-[32px] border-[1px] border-[#9E9E9E] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px] mb-[5px]">
|
||||
<i class="icons icon-delete"></i>
|
||||
<a href="" class="btn btn-soft btn-xs btn-square btn-error">
|
||||
<i class="iconify lucide--trash-2"></i>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
@@ -122,18 +110,19 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="paging">
|
||||
<a href="">
|
||||
<i class="fas fa-chevron-left"></i>
|
||||
<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>
|
||||
</a>
|
||||
<a href="{{paging.url}}" class="active">
|
||||
1
|
||||
</a>
|
||||
<a href="{{paging.url}}">
|
||||
2
|
||||
</a>
|
||||
<a href="{{paging.url}}">
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user