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