up
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<table class="mt-[15px] table-addon">
|
||||
<thead>
|
||||
<table class="mt-[15px] table">
|
||||
<thead class="bg-[#f6f6f6] text-[#000] text-[14px]">
|
||||
<tr>
|
||||
<th>STT</th>
|
||||
<th>Thông tin</th>
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
<span class="text-[#0041E8] font-[500]">Thêm thuộc tính mới</span>
|
||||
</a>
|
||||
|
||||
<table class="table-attribute mt-[20px]">
|
||||
<thead>
|
||||
<table class="table mt-[20px]">
|
||||
<thead class="bg-[#f6f6f6] text-[#000] text-[14px]">
|
||||
<tr>
|
||||
<th>STT</th>
|
||||
<th>Mã</th>
|
||||
|
||||
@@ -116,17 +116,19 @@
|
||||
<div class="flex mb-[10px]">
|
||||
<b class="w-[140px]">Phân loại</b>
|
||||
<div>
|
||||
<div class="check-form flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[scope]" value="0" checked="">
|
||||
<label for="" class="ml-[25px] text-[#6B7280]">Local - Chỉ áp dụng cho một số loại Sản
|
||||
phẩm</label>
|
||||
</div>
|
||||
<div class="check-form flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[scope]" value="1" checked="">
|
||||
<label for="" class="ml-[25px] text-[#6B7280]">Global - Áp dụng cho tất cả Sản phẩm
|
||||
(v.d: Xuất xứ, Màu sắc, Bảo hành)
|
||||
</label>
|
||||
</div>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[scope]" value="0" class="radio checked:bg-blue-500"
|
||||
checked="checked" />
|
||||
<span class="label-text ml-[25px] text-[#6B7280]">Local - Chỉ áp dụng cho một số loại
|
||||
Sản
|
||||
phẩm</span>
|
||||
</label>
|
||||
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[scope]" value="1" class="radio checked:bg-blue-500" />
|
||||
<span class="label-text ml-[25px] text-[#6B7280]">Global - Áp dụng cho tất cả Sản phẩm
|
||||
(v.d: Xuất xứ, Màu sắc, Bảo hành)</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<table class="table-brand mt-[15px]">
|
||||
<thead>
|
||||
<table class="table mt-[15px]">
|
||||
<thead class="bg-[#f6f6f6] text-[#000] text-[14px]">
|
||||
<tr>
|
||||
<th>STT</th>
|
||||
<th>ID</th>
|
||||
|
||||
@@ -18,22 +18,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style type="text/css">
|
||||
.tb-cat-row {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tb-cat-row td {
|
||||
padding: 1px
|
||||
}
|
||||
</style>
|
||||
|
||||
<table id='tb_padding' cellpadding=2 cellspacing=0 width='100%' border=1 bordercolor='#CCCCCC'
|
||||
class="table-list-category">
|
||||
<table id='tb_padding' cellpadding=2 cellspacing=0 width='100%' border=1 bordercolor='#CCCCCC' class="table">
|
||||
<tr style="background-color:#EEE; font-weight:bold;">
|
||||
<td>Danh mục</td>
|
||||
<td width=100px>Link web</td>
|
||||
<td width=40px>ID</td>
|
||||
<td width=60px class="whitespace-nowrap">ID</td>
|
||||
<td>Xem</td>
|
||||
<td width=100px>SP</td>
|
||||
<td width=100px>STT</td>
|
||||
@@ -58,7 +47,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script src="{{ 'RowExpand.js' | asset_url }}"></script>
|
||||
|
||||
|
||||
<script>
|
||||
function update_order(id, new_val) {
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
<span class="text-[#0041E8] font-[500]">Thêm nhóm cấu hình</span>
|
||||
</a>
|
||||
|
||||
<table class="table-config-group mt-[15px]">
|
||||
<thead>
|
||||
<table class="table mt-[15px]">
|
||||
<thead class="bg-[#f6f6f6] text-[#000] text-[14px]">
|
||||
<tr>
|
||||
<th>STT</th>
|
||||
<th>Thông tin</th>
|
||||
|
||||
@@ -113,9 +113,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<input type="checkbox" checked="checked"
|
||||
class="checkbox border-orange-400 [--chkbg:theme(colors.indigo.600)] [--chkfg:orange] checked:border-indigo-800" />
|
||||
<input type="checkbox" checked="checked" class="checkbox [--chkbg:oklch(var(--a))] [--chkfg:oklch(var(--p))]" />
|
||||
</div>
|
||||
@@ -273,18 +273,23 @@
|
||||
<label class="block w-[130px] font-[700] text-[14px] text-[#383C44]">Thuế VAT
|
||||
</label>
|
||||
<div class="flex items-center">
|
||||
<div class="flex items-center mr-[30px] w-[150px]">
|
||||
<input type="radio" name="info[hasVAT]" value="0" checked="">
|
||||
<label for="" class="ml-[25px]">Không hiển thị VAT</label>
|
||||
</div>
|
||||
<div class="flex items-center mr-[20px]">
|
||||
<input type="radio" name="info[hasVAT]" value="1">
|
||||
<label for="" class="ml-[25px]">Có VAT</label>
|
||||
</div>
|
||||
<div class="flex items-center mr-[20px]">
|
||||
<input type="radio" name="info[hasVAT]" value="2">
|
||||
<label for="" class="ml-[25px]">Chưa có VAT</label>
|
||||
</div>
|
||||
|
||||
<label class="cursor-pointer flex items-center mr-[20px] w-[160px]">
|
||||
<input type="radio" name="info[hasVAT]" value="0" class="radio checked:bg-blue-500"
|
||||
checked="checked" />
|
||||
<span class="label-text ml-[10px]">Không hiển thị VAT</span>
|
||||
</label>
|
||||
|
||||
<label class="cursor-pointer flex items-center mr-[20px]">
|
||||
<input type="radio" name="info[hasVAT]" value="1" class="radio checked:bg-blue-500" />
|
||||
<span class="label-text ml-[10px]">Có VAT</span>
|
||||
</label>
|
||||
|
||||
<label class="cursor-pointer flex items-center mr-[20px]">
|
||||
<input type="radio" name="info[hasVAT]" value="2" class="radio checked:bg-blue-500" />
|
||||
<span class="label-text ml-[10px]">Chưa có VAT</span>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -292,14 +297,17 @@
|
||||
<label class="block w-[130px] font-[700] text-[14px] text-[#383C44]">Hiển thị
|
||||
</label>
|
||||
<div class="flex items-center">
|
||||
<div class="flex items-center mr-[30px] w-[150px]">
|
||||
<input type="radio" name="info[status]" value="0" checked="">
|
||||
<label for="" class="ml-[25px]">Cho hiển thị</label>
|
||||
</div>
|
||||
<div class="flex items-center mr-[20px]">
|
||||
<input type="radio" name="info[status]" value="1">
|
||||
<label for="" class="ml-[25px]">Ẩn hiển thị</label>
|
||||
</div>
|
||||
|
||||
<label class="cursor-pointer flex items-center mr-[20px] w-[160px]">
|
||||
<input type="radio" name="info[status]" value="0" class="radio checked:bg-blue-500"
|
||||
checked="checked" />
|
||||
<span class="label-text ml-[10px]">Cho hiển thị</span>
|
||||
</label>
|
||||
|
||||
<label class="cursor-pointer flex items-center mr-[20px]">
|
||||
<input type="radio" name="info[status]" value="1" class="radio checked:bg-blue-500" />
|
||||
<span class="label-text ml-[10px]">Ẩn hiển thị</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -13,28 +13,27 @@
|
||||
<div class="list-category">
|
||||
|
||||
<div class="mb-[10px] flex items-center">
|
||||
<label class="style-checkbox">
|
||||
Màn hình máy tính
|
||||
<input type="checkbox" id="cate_1" onclick="AdminFunction.add_product_to_category(1)">
|
||||
<span class="checkmark"></span>
|
||||
<label class="cursor-pointer flex items-center" onclick="AdminFunction.add_product_to_category(1)">
|
||||
<input type="checkbox" name="" checked="checked" class="checkbox checkbox-success" />
|
||||
<span class="label-text ml-[5px]">Màn hình máy tính</span>
|
||||
</label>
|
||||
<div id="status_1" class="text-[13px] ml-[5px] flex items-center">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-[10px] flex items-center">
|
||||
<label class="style-checkbox">
|
||||
Màn hình máy tính
|
||||
<input type="checkbox" id="cate_1" onclick="AdminFunction.add_product_to_category(2)">
|
||||
<span class="checkmark"></span>
|
||||
<label class="cursor-pointer flex items-center" onclick="AdminFunction.add_product_to_category(2)">
|
||||
<input type="checkbox" name="" checked="checked" class="checkbox checkbox-success" />
|
||||
<span class="label-text ml-[5px]">Màn hình máy tính</span>
|
||||
</label>
|
||||
<div id="status_2" class="text-[13px] ml-[5px] flex items-center">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-[10px] flex items-center">
|
||||
<label class="style-checkbox">
|
||||
Màn hình máy tính
|
||||
<input type="checkbox" id="cate_1" onclick="AdminFunction.add_product_to_category(3)">
|
||||
<span class="checkmark"></span>
|
||||
<label class="cursor-pointer flex items-center" onclick="AdminFunction.add_product_to_category(3)">
|
||||
<input type="checkbox" name="" checked="checked" class="checkbox checkbox-success" />
|
||||
<span class="label-text ml-[5px]">Màn hình máy tính</span>
|
||||
</label>
|
||||
<div id="status_3" class="text-[13px] ml-[5px] flex items-center">
|
||||
</div>
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<table class="w-[100%] mt-[20px] product-list">
|
||||
<thead>
|
||||
<table class="w-[100%] mt-[20px] table">
|
||||
<thead class="bg-[#f6f6f6] text-[#000] text-[14px]">
|
||||
<tr>
|
||||
<th class="whitespace-nowrap">STT</th>
|
||||
<th>Ảnh</th>
|
||||
@@ -118,33 +118,43 @@
|
||||
</div>
|
||||
</td>
|
||||
<td class="align-text-top">
|
||||
<label class="style-checkbox mb-[7px]">Mới Hot (Hỏi nhiều)
|
||||
<input type="checkbox" name="new" {% if item.hot_type=="new" %}checked{% endif %}
|
||||
onclick="AdminFunction.update_product_hot({{item.id}})">
|
||||
<span class="checkmark"></span>
|
||||
|
||||
<label class="cursor-pointer flex items-center mb-[7px]"
|
||||
onclick="AdminFunction.update_product_hot({{item.id}})">
|
||||
<input type="checkbox" name="new" {% if item.hot_type=="new" %}checked="checked" {% endif %}
|
||||
class="checkbox checkbox-success" />
|
||||
<span class="label-text ml-[5px]">Mới Hot (Hỏi nhiều)</span>
|
||||
</label>
|
||||
<label class="style-checkbox mb-[7px]">HOT (hỏi
|
||||
nhiều)
|
||||
<input type="checkbox" name="hot" {% if item.hot_type=="hot" %}checked{% endif %}
|
||||
onclick="AdminFunction.update_product_hot({{item.id}})">
|
||||
<span class="checkmark"></span>
|
||||
|
||||
|
||||
<label class="cursor-pointer flex items-center mb-[7px]"
|
||||
onclick="AdminFunction.update_product_hot({{item.id}})">
|
||||
<input type="checkbox" name="hot" {% if item.hot_type=="hot" %}checked="checked" {% endif %}
|
||||
class="checkbox checkbox-success" />
|
||||
<span class="label-text ml-[5px]">Hot (Hỏi nhiều)</span>
|
||||
</label>
|
||||
<label class="style-checkbox mb-[7px]">Bán
|
||||
chạy
|
||||
<input type="checkbox" name="bestsale" {% if item.hot_type=="bestsale" %}checked{% endif %}
|
||||
onclick="AdminFunction.update_product_hot({{item.id}})">
|
||||
<span class="checkmark"></span>
|
||||
|
||||
<label class="cursor-pointer flex items-center mb-[7px]"
|
||||
onclick="AdminFunction.update_product_hot({{item.id}})">
|
||||
<input type="checkbox" name="bestsale" {% if item.hot_type=="bestsale" %}checked="checked"
|
||||
{% endif %} class="checkbox checkbox-success" />
|
||||
<span class="label-text ml-[5px]">Bán
|
||||
chạy</span>
|
||||
</label>
|
||||
<label class="style-checkbox mb-[7px]">Xả
|
||||
hàng (sale-off)
|
||||
<input type="checkbox" name="saleoff" {% if item.hot_type=="saleoff" %}checked{% endif %}
|
||||
onclick="AdminFunction.update_product_hot({{item.id}})">
|
||||
<span class="checkmark"></span>
|
||||
|
||||
<label class="cursor-pointer flex items-center mb-[7px]"
|
||||
onclick="AdminFunction.update_product_hot({{item.id}})">
|
||||
<input type="checkbox" name="saleoff" {% if item.hot_type=="saleoff" %}checked="checked" {%
|
||||
endif %} class="checkbox checkbox-success" />
|
||||
<span class="label-text ml-[5px]">Xả
|
||||
hàng (sale-off)</span>
|
||||
</label>
|
||||
<label class="style-checkbox mb-[7px]">Chỉ bán online
|
||||
<input type="checkbox" name="online-only" {% if item.hot_type=="online-only" %}checked{%
|
||||
endif %} onclick="AdminFunction.update_product_hot({{item.id}})">
|
||||
<span class="checkmark"></span>
|
||||
|
||||
<label class="cursor-pointer flex items-center mb-[7px]"
|
||||
onclick="AdminFunction.update_product_hot({{item.id}})">
|
||||
<input type="checkbox" name="online-only" {% if item.hot_type=="online-only"
|
||||
%}checked="checked" {% endif %} class="checkbox checkbox-success" />
|
||||
<span class="label-text ml-[5px]">Chỉ bán online</span>
|
||||
</label>
|
||||
|
||||
<div id="js-status-hottype-{{item.id}}" class="flex items-center mt-[5px]"></div>
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<table class="table-list-competitor">
|
||||
<thead>
|
||||
<table class="table">
|
||||
<thead class="bg-[#f6f6f6] text-[#000] text-[14px]">
|
||||
<tr>
|
||||
<th>STT</th>
|
||||
<th>Sản phẩm (Tổng số: 53)</th>
|
||||
@@ -42,9 +42,9 @@
|
||||
<p>-Mã kho: OCKM0008</p>
|
||||
<p>- Cập nhật: 25-01-2024, 9:46 am (29 ngày)</p>
|
||||
</td>
|
||||
<td class="w-[115px]">
|
||||
<td class="w-[130px]">
|
||||
<a href=""
|
||||
class="block w-[82px] h-[30px] bg-[#0041E8] leading-[30px] text-center text-white rounded-[4px]">Cập
|
||||
class="block btn w-[100px] bg-[#0041E8] h-[35px] leading-[35px] min-h-[35px] text-center text-white rounded-[4px]">Cập
|
||||
nhật</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -56,9 +56,9 @@
|
||||
<p>-Mã kho: OCKM0008</p>
|
||||
<p>- Cập nhật: 25-01-2024, 9:46 am (29 ngày)</p>
|
||||
</td>
|
||||
<td class="w-[115px]">
|
||||
<td class="w-[130px]">
|
||||
<a href=""
|
||||
class="block w-[82px] h-[30px] bg-[#0041E8] leading-[30px] text-center text-white rounded-[4px]">Cập
|
||||
class="block btn w-[100px] bg-[#0041E8] h-[35px] leading-[35px] min-h-[35px] text-center text-white rounded-[4px]">Cập
|
||||
nhật</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -70,9 +70,9 @@
|
||||
<p>-Mã kho: OCKM0008</p>
|
||||
<p>- Cập nhật: 25-01-2024, 9:46 am (29 ngày)</p>
|
||||
</td>
|
||||
<td class="w-[115px]">
|
||||
<td class="w-[130px]">
|
||||
<a href=""
|
||||
class="block w-[82px] h-[30px] bg-[#0041E8] leading-[30px] text-center text-white rounded-[4px]">Cập
|
||||
class="block btn w-[100px] bg-[#0041E8] h-[35px] leading-[35px] min-h-[35px] text-center text-white rounded-[4px]">Cập
|
||||
nhật</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<table class="table-spec mt-[15px]">
|
||||
<thead>
|
||||
<table class="table mt-[15px]">
|
||||
<thead class="bg-[#f6f6f6] text-[#000] text-[14px]">
|
||||
<tr>
|
||||
<th>STT</th>
|
||||
<th>Tên gọi/miêu tả</th>
|
||||
|
||||
Reference in New Issue
Block a user