From 7b96c6d9762afe81cdd71213e9e37139fcc8ff35 Mon Sep 17 00:00:00 2001 From: Tieptk Date: Tue, 7 May 2024 11:33:48 +0700 Subject: [PATCH] checkbox --- assets/script/main.js | 16 +++++++ template/order/bargain.html | 35 +++++++++----- .../product/form_components/category.html | 48 +++++++++++-------- 3 files changed, 67 insertions(+), 32 deletions(-) create mode 100644 assets/script/main.js diff --git a/assets/script/main.js b/assets/script/main.js new file mode 100644 index 0000000..b425752 --- /dev/null +++ b/assets/script/main.js @@ -0,0 +1,16 @@ +"use strict"; + +var AdminFunction = (function () { + function add_product_to_category(id) { + $('#status_' + id).html('Đang xử lý..'); + setTimeout(function () { + $('#status_' + id).html(''); + }, 1000) + } + + return { + add_product_to_category: add_product_to_category + } +})(); + + diff --git a/template/order/bargain.html b/template/order/bargain.html index 2a788a1..310d10e 100644 --- a/template/order/bargain.html +++ b/template/order/bargain.html @@ -1,16 +1,19 @@ -
+

Danh sách mặc cả giá

- @@ -51,12 +54,20 @@
- Thành công - Chưa xử lý - Hủy bỏ + + Thành công + + Chưa xử lý + + Hủy bỏ - -
+ +

Lúc 28-02-2015, 12:40 pm

@@ -80,7 +91,7 @@
\ No newline at end of file diff --git a/template/product/form_components/category.html b/template/product/form_components/category.html index c062ac9..40867b6 100644 --- a/template/product/form_components/category.html +++ b/template/product/form_components/category.html @@ -12,25 +12,33 @@

- - - - +
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
\ No newline at end of file