diff --git a/template/javascript/homepage.html b/template/javascript/homepage.html
index 6cd67fd..1a321f2 100644
--- a/template/javascript/homepage.html
+++ b/template/javascript/homepage.html
@@ -361,11 +361,11 @@
// Xóa class current ở tất cả các tab
document.querySelectorAll("#js-admin-home-tab a").forEach(function (el) {
- el.classList.remove("btn-active");
+ el.classList.remove("hura-btn-active");
});
// Gán class current vào tab đang click
- this.classList.add("btn-active");
+ this.classList.add("hura-btn-active");
// Lấy ID từ href để show nội dung
var id = this.getAttribute("href");
diff --git a/template/javascript/index.html b/template/javascript/index.html
index 16dc37f..5c70fd4 100644
--- a/template/javascript/index.html
+++ b/template/javascript/index.html
@@ -27,6 +27,10 @@
{% include javascript/product_form %}
+{% elsif global.module == 'marketing' %}
+
+{% include javascript/marketing_form %}
+
{% elsif global.module == 'brand' %}
{% include javascript/brand %}
diff --git a/template/javascript/marketing_form.html b/template/javascript/marketing_form.html
new file mode 100644
index 0000000..ce6c1be
--- /dev/null
+++ b/template/javascript/marketing_form.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/template/javascript/product_form.html b/template/javascript/product_form.html
index ea9a420..027b982 100644
--- a/template/javascript/product_form.html
+++ b/template/javascript/product_form.html
@@ -1,8 +1,10 @@
-
+
+
diff --git a/template/marketing/promotion.html b/template/marketing/promotion.html
index 4b1c2bd..f427b9d 100644
--- a/template/marketing/promotion.html
+++ b/template/marketing/promotion.html
@@ -1,17 +1,14 @@
-
-
+
+
Khuyến mại theo sản phẩm
-
@@ -19,26 +16,23 @@
phù
hợp cho từng khuyến mại
-
-
+
-
-
+
+
| STT |
Khuyến mại |
Thời gian |
@@ -53,7 +47,7 @@
- [Quà tặng] Phiếu mua hàng trị giá 100.000 VND
+ [Quà tặng] Phiếu mua hàng trị giá 100.000 VND
- Mô tả: Phiếu mua hàng
- Giá trị: 0 VND
@@ -70,22 +64,21 @@
|
- Xem
+ Xem
|
- |
diff --git a/template/marketing/promotion_add.html b/template/marketing/promotion_add.html
index 28abf76..ffe67d9 100644
--- a/template/marketing/promotion_add.html
+++ b/template/marketing/promotion_add.html
@@ -3,26 +3,22 @@
Form thêm/sửa khuyến mại
-
-
- {% if global.url contains 'id=' %}
-
-
Cập nhật
+
+
+
+ Tặng phiếu vệ sinh bảo dưỡng Laptop, PC miễn phí trọn đời trị giá 999.000đ (THEK417)
+
+
-