update
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user