checkbox
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
<div class="bg-white m-[16px_0_16px_16px] p-[20px_16px] rounded-[15px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] leading-[20px]">
|
||||
<div
|
||||
class="bg-white m-[16px_0_16px_16px] p-[20px_16px] rounded-[15px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] leading-[20px]">
|
||||
<p class="leading-[30px] text-[24px] font-bold m-[0_0_12px]"> Danh sách mặc cả giá </p>
|
||||
|
||||
<div class="flex flex-wrap mb-[20px] leading-[36px]">
|
||||
<a href="" style="background: #0041E8;color: #fff;" class="text-[#919699] font-[500] p-[0_20px] mr-[2px] bg-[#F6F6F6] rounded-[4px_4px_0_0] hover:bg-[#0041E8] hover:text-[#fff]">
|
||||
<a href="" style="background: #0041E8;color: #fff;"
|
||||
class="text-[#919699] font-[500] p-[0_20px] mr-[2px] bg-[#F6F6F6] rounded-[4px_4px_0_0] hover:bg-[#0041E8] hover:text-[#fff]">
|
||||
Chưa xử lý
|
||||
</a>
|
||||
|
||||
<a href="" class="text-[#919699] font-[500] p-[0_20px] mr-[2px] bg-[#F6F6F6] rounded-[4px_4px_0_0] hover:bg-[#0041E8] hover:text-[#fff]">
|
||||
<a href=""
|
||||
class="text-[#919699] font-[500] p-[0_20px] mr-[2px] bg-[#F6F6F6] rounded-[4px_4px_0_0] hover:bg-[#0041E8] hover:text-[#fff]">
|
||||
Thành công
|
||||
</a>
|
||||
|
||||
<a href="" class="text-[#919699] font-[500] p-[0_20px] mr-[2px] bg-[#F6F6F6] rounded-[4px_4px_0_0] hover:bg-[#0041E8] hover:text-[#fff]">
|
||||
<a href=""
|
||||
class="text-[#919699] font-[500] p-[0_20px] mr-[2px] bg-[#F6F6F6] rounded-[4px_4px_0_0] hover:bg-[#0041E8] hover:text-[#fff]">
|
||||
Hủy bỏ
|
||||
</a>
|
||||
</div>
|
||||
@@ -51,12 +54,20 @@
|
||||
|
||||
<td>
|
||||
<div id="status_1">
|
||||
<span class="text-[#6DC580] border-[#6DC580] bg-[#F0F9F2] rounded-[50px] border inline-block leading-[20px] text-[12px] font-[500] p-[0_8px] m-[0_7px_0px_0]"> Thành công </span>
|
||||
<span class="text-[#0041E8] border-[#0041E8] bg-[#F7F5FF] rounded-[50px] border inline-block leading-[20px] text-[12px] font-[500] p-[0_8px] m-[0_7px_0px_0]"> Chưa xử lý </span>
|
||||
<span class="text-[#E00000] border-[#E00000] bg-[#F9F2F2] rounded-[50px] border inline-block leading-[20px] text-[12px] font-[500] p-[0_8px] m-[0_7px_0px_0]"> Hủy bỏ </span>
|
||||
<span
|
||||
class="text-[#6DC580] border-[#6DC580] bg-[#F0F9F2] rounded-[50px] border inline-block leading-[20px] text-[12px] font-[500] p-[0_8px] m-[0_7px_0px_0]">
|
||||
Thành công </span>
|
||||
<span
|
||||
class="text-[#0041E8] border-[#0041E8] bg-[#F7F5FF] rounded-[50px] border inline-block leading-[20px] text-[12px] font-[500] p-[0_8px] m-[0_7px_0px_0]">
|
||||
Chưa xử lý </span>
|
||||
<span
|
||||
class="text-[#E00000] border-[#E00000] bg-[#F9F2F2] rounded-[50px] border inline-block leading-[20px] text-[12px] font-[500] p-[0_8px] m-[0_7px_0px_0]">
|
||||
Hủy bỏ </span>
|
||||
|
||||
<a href="javascript:edit_order_status(1)" title="Chỉnh sửa" class="icons inline-block w-[18px_!important] h-[18px_!important] bg-[transparent_!important] border-[transparent_!important] rounded-[0_!important]" style="background-position: -113px -88px;vertical-align: sub;"></a>
|
||||
</div>
|
||||
<a href="javascript:edit_order_status(1)" title="Chỉnh sửa"
|
||||
class="icons inline-block w-[18px_!important] h-[18px_!important] bg-[transparent_!important] border-[transparent_!important] rounded-[0_!important]"
|
||||
style="background-position: -113px -88px;vertical-align: sub;"></a>
|
||||
</div>
|
||||
|
||||
<p class="mt-[7px]"> Lúc 28-02-2015, 12:40 pm </p>
|
||||
</td>
|
||||
@@ -80,7 +91,7 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function edit_order_status(id){
|
||||
function edit_order_status(id) {
|
||||
$('#status_' + id).html(`
|
||||
<select class="min-w-[140px] w-[auto_!important]">
|
||||
<option> Trạng thái </option>
|
||||
@@ -90,5 +101,5 @@
|
||||
</select>
|
||||
`);
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
@@ -12,25 +12,33 @@
|
||||
</p>
|
||||
<div class="list-category">
|
||||
|
||||
<label class="style-checkbox mb-[10px]">
|
||||
Màn hình máy tính
|
||||
<input type="checkbox" name="new" checked>
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
<label class="style-checkbox mb-[10px]">
|
||||
Màn hình máy tính
|
||||
<input type="checkbox" name="new">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
<label class="style-checkbox mb-[10px]">
|
||||
Màn hình máy tính
|
||||
<input type="checkbox" name="new">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
<label class="style-checkbox mb-[10px]">
|
||||
Màn hình máy tính
|
||||
<input type="checkbox" name="new">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
<div id="status_3" class="text-[13px] ml-[5px] flex items-center">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user