Files
2025-12-07 15:58:07 +07:00

170 lines
9.6 KiB
HTML

<div class="w-[100%] mb-[50px]">
<div class="text-sm breadcrumbs ml-[10px]">
<ul>
<li><a href="/admin/distributor">Danh sách đại lý</a></li>
<li class="text-[#0041E8]">Form thêm/sửa danh sách</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="flex items-center justify-between">
<h1 class="text-[20px] font-[700]">Form đại lý</h1>
<div class="flex items-center">
<a href="/admin/distributor/form"
class="group flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px] hover:bg-blue-700">
<span
class="w-[14.5px] group-hover:text-white group-hover:border-white h-[14.5px] border-[1px] rounded-[50%] border-[#6B7280] text-center leading-[10.5px] mr-[5px] text-[#6B7280]">+</span>
<span class="text-[#6B7280] group-hover:text-white">Thêm đại lý</span>
</a>
</div>
</div>
<p class="text-gray-500">Nhà Thuốc Hiệp Phát</p>
</div>
<div class="flex">
<div class="left w-[270px] mr-[10px]">
<div class="list-tab">
<a href="/admin/distributor/form"
class="item block w-[100%] h-[36px] text-white bg-[#0041E8] rounded-[10px] text-[13px] leading-[35px] px-[20px]">Thông
tin</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="block text-[20px] font-bold my-[10px]">Cập nhật lại</b>
<table class="">
<tr>
<td>Tên gọi</td>
<td>
<input type="text" name="" value="" placeholder="Têm gọi"
class="w-full input input-md input-bordered h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]">
</td>
</tr>
<tr>
<td class="align-top">Mô tả</td>
<td>
<textarea type="text" name="" value="" placeholder="Nội dung tóm tắt (nếu có)"
class="w-full textarea h-[70px] input-bordered rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]"></textarea>
</td>
</tr>
<tr>
<td>Tọa độ bản đồ</td>
<td>
<div class="grid grid-cols-2 gap-[30px]">
<div class="flex items-center">
<p class="whitespace-nowrap">Kinh độ</p>
<input type="text" name="" value="" placeholder="Kinh độ"
class="w-[200px] ml-[10px] input input-md input-bordered h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]">
</div>
<div class="flex items-center">
<p class="whitespace-nowrap">Vĩ độ</p>
<input type="text" name="" value="" placeholder="Vĩ độ"
class="w-[200px] ml-[10px] input input-md input-bordered h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]">
</div>
</div>
</td>
</tr>
<tr>
<td>Tỉnh/TP</td>
<td>
<select name=''
class="w-[50%] mr-[15px] select select-bordered h-[38px] min-h-[38px] rounded-[4px]">
<option value='' selected>Tỉnh/TP</option>
<option value=''>Hà nội</option>
</select>
</td>
</tr>
<tr>
<td>Quận huyện</td>
<td>
<select name=''
class="w-[50%] mr-[15px] select select-bordered h-[38px] min-h-[38px] rounded-[4px]">
<option value='' selected>Quận huyện</option>
<option value=''>Thị xã Đông Hòa</option>
</select>
</td>
</tr>
<tr>
<td class="align-top">Địa chỉ</td>
<td>
<textarea type="text" name="" value="" placeholder="Địa chỉ"
class="w-full textarea h-[70px] input-bordered rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]"></textarea>
</td>
</tr>
<tr>
<td>Điện thoại</td>
<td>
<input type="text" name="" value="" placeholder="Điện thoại"
class="w-full input input-md input-bordered h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]">
</td>
</tr>
<tr>
<td>Website</td>
<td>
<input type="text" name="" value="" placeholder=""
class="w-full input input-md input-bordered h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]">
</td>
</tr>
<tr>
<td>Người liên hệ</td>
<td>
<input type="text" name="" value="Nguyễn Thị Hiệp" placeholder=""
class="w-full input input-md input-bordered h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]">
</td>
</tr>
<tr>
<td>Email liên hệ</td>
<td>
<input type="text" name="" value="" placeholder=""
class="w-full input input-md input-bordered h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]">
</td>
</tr>
<tr>
<td>STT</td>
<td>
<input type="text" name="" value="" placeholder=""
class="w-[35%] input input-md input-bordered h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]">
</td>
</tr>
<tr>
<td>STT</td>
<td>
<input type="text" name="" value="" placeholder=""
class="w-[35%] input input-md input-bordered h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]">
</td>
</tr>
<tr>
<td>Trạng thái</td>
<td>
<div class="flex items-center">
<label class="inline-flex items-center cursor-pointer relative mr-[34px]">
<input type="radio" value="0" name="info[status]"
class="radio checked:bg-blue-500" checked="">
<span class="label-text ml-[10px]"> Hiển thị </span>
</label>
<label class="inline-flex items-center cursor-pointer relative pl-[30px] mr-[34px]">
<input type="radio" value="1" name="info[status]"
class="radio checked:bg-blue-500">
<span class="label-text ml-[10px]"> Ẩn hiển thị </span>
</label>
</div>
</td>
</tr>
</table>
</div>
<div class="bg-white p-[10px] rounded-[0_0_10px_10px] shadow-[0_1px_1px_0px_#0000001A]">
<input
class="btn w-[95px] h-[35px] min-h-[35px] bg-[#0041E8] rounded-[4px] mt-[10px] text-white cursor-pointer"
name="submit" type="submit" value="Cập nhật">
</div>
</div>
</div>
</div>
</div>