This commit is contained in:
2025-02-12 16:13:51 +07:00
parent c3c4efd679
commit 1315df5ebb
46 changed files with 817 additions and 673 deletions

View File

@@ -1,6 +1,9 @@
<form method="post" enctype="multipart/form-data" class="order-page-table w-[852px] bg-white p-[16px] rounded-[15px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] leading-[20px] block">
<form method="post" enctype="multipart/form-data"
class="order-page-table w-[852px] bg-white p-[16px] rounded-[15px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] leading-[20px] block">
<i class="block text-[#E00000] leading-[20px] mb-[20px]">
<b>Cảnh báo:</b> Vì các cài đặt sau sẽ được sử dụng ở biến global. Nên hệ thống sẽ cho phép tạo tối đa 20 giá trị và giới hạn số ký tự không quá 500 mỗi giá trị để đảm bảo website hoạt động tốt. Do vậy chỉ cài đặt các nội dung thật sự sẽ được hiển thị ở tất cả các nơi (v.d. Header/Footer).
<b>Cảnh báo:</b> Vì các cài đặt sau sẽ được sử dụng ở biến global. Nên hệ thống sẽ cho phép tạo tối đa 20 giá
trị và giới hạn số ký tự không quá 500 mỗi giá trị để đảm bảo website hoạt động tốt. Do vậy chỉ cài đặt các nội
dung thật sự sẽ được hiển thị ở tất cả các nơi (v.d. Header/Footer).
</i>
<div class="order-page-table">
@@ -20,11 +23,13 @@
<td align="center"> 1 </td>
<td> global.settings.builpc_category_special_offer </td>
<td> Danh sách khuyến mại theo từng danh mục trang Xây dựng cấu hình </td>
<td>
<td>
<textarea class="block border border-[#D8D8D8] w-[100%] p-[8px]">0000000000</textarea>
</td>
<td align="center">
<a href="" class="block border border-[#0041E8] text-[#0041E8] bg-[#F5F7FF] mb-[5px] rounded-[4px] leading-[32px] hover:bg-[#0041E8] hover:text-[#fff]">Cập nhật</a>
<a href=""
class="block border border-[#0041E8] text-[#0041E8] bg-[#F5F7FF] mb-[5px] rounded-[4px] leading-[32px] hover:bg-[#0041E8] hover:text-[#fff]">Cập
nhật</a>
<a href="javascript:void(0)" class="icons icon-delete" title="Xóa"></a>
</td>
</tr>
@@ -33,8 +38,10 @@
</table>
<div class="text-center mt-[15px]">
<a href="javascript:add_form_setting()" class="inline-flex items-center">
<span class="border-[1px] border-[#0041E8] h-[13px] w-[13px] leading-[10px] text-center rounded-[50%] mr-1">+</span>
<a href="javascript:add_form_setting()"
class="inline-flex items-center bg-[#F5F7FF] text-[#0041E8] p-[5px_10px] rounded-[4px] hover:bg-[#0041E8] hover:text-[#fff]">
<span
class="border-[1px] border-[#0041E8] h-[13px] w-[13px] leading-[10px] text-center rounded-[50%] mr-1 ">+</span>
<span> Thêm quản trị biến nội dung </span>
</a>
</div>
@@ -44,9 +51,9 @@
<script>
var $tb_setting = $('#js-tb-settings');
var current_index = $tb_setting.find("tr").length - 1;
var $row_tpl = `
var $tb_setting = $('#js-tb-settings');
var current_index = $tb_setting.find("tr").length - 1;
var $row_tpl = `
<tr>
<td>{index}</td>
<td colspan="4" id="js-new-{index}">

View File

@@ -20,8 +20,8 @@
<div class="w-[852px]">
<div class="p-[15px] bg-white rounded-[15px] shadow-[0px_1px_1px_0px_#0000001A]">
<b class="block text-[20px] mb-[10px]">Danh sách các tỉnh</b>
<table class="style-table">
<thead>
<table class="table">
<thead class="bg-[#f6f6f6] text-[14px] text-[#000] font-500">
<tr>
<th class="w-[50px]">STT</th>
<th>SystemID</th>
@@ -46,7 +46,7 @@
<div class="flex items-center justify-center">
<p>1</p>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center ml-[7px]'><i
class='w-[30px] h-[30px] rounded-[4px] text-center leading-[30px] flex items-center justify-center ml-[7px]'><i
class='icons icon-edit'></i></a>
</div>
</td>
@@ -66,7 +66,7 @@
<div class="flex items-center justify-center">
<p>1</p>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center ml-[7px]'><i
class='w-[30px] h-[30px] rounded-[4px] text-center leading-[30px] flex items-center justify-center ml-[7px]'><i
class='icons icon-edit'></i></a>
</div>
</td>

View File

@@ -3,8 +3,8 @@
<h1 class="text-[24px] font-[700] mb-[15px]">Tổng hợp các cài đặt cho website</h1>
<div class="mb-[30px]">
<b class="block mb-[10px]">Cài đặt hiển thị ngoài giao diện:</b>
<table class="style-table mt-[15px]">
<thead>
<table class="table mt-[15px]">
<thead class="bg-[#f6f6f6] text-[14px] text-[#000] font-500">
<tr>
<th class="w-[50px]">STT</th>
<th>Nội dung</th>
@@ -13,7 +13,7 @@
</thead>
<tbody>
<tr>
<td>1</td>
<td class="text-center">1</td>
<td>Header (logo, banner top)</td>
<td>
<a href="/admin/system/store-design"
@@ -22,7 +22,7 @@
</td>
</tr>
<tr>
<td>2</td>
<td class="text-center">2</td>
<td>Banner popup</td>
<td>
<a href="/admin/system/store-design/section=popup"
@@ -31,7 +31,7 @@
</td>
</tr>
<tr>
<td>3</td>
<td class="text-center">3</td>
<td>Ảnh/màu nền website</td>
<td>
<a href="/admin/system/store-design/section=background"
@@ -40,7 +40,7 @@
</td>
</tr>
<tr>
<td>4</td>
<td class="text-center">4</td>
<td>Thông tin cài đặt tùy biến khác</td>
<td>
<a href="/admin/system/store-design/section=other"
@@ -53,8 +53,8 @@
</div>
<div class="mb-[15px]">
<b class="block mb-[10px]">Cài đặt dùng cho hệ thống:</b>
<table class="style-table mt-[15px]">
<thead>
<table class="table mt-[15px]">
<thead class="bg-[#f6f6f6] text-[14px] text-[#000] font-500">
<tr>
<th class="w-[50px]">STT</th>
<th>Nội dung</th>
@@ -63,7 +63,7 @@
</thead>
<tbody>
<tr>
<td>1</td>
<td class="text-center">1</td>
<td>Cài đặt hiển thị</td>
<td>
<a href="/admin/system/setup"
@@ -72,7 +72,7 @@
</td>
</tr>
<tr>
<td>2</td>
<td class="text-center">2</td>
<td>Chi nhánh cửa hàng</td>
<td>
<a href="/admin/system/store-address"
@@ -81,7 +81,7 @@
</td>
</tr>
<tr>
<td>3</td>
<td class="text-center">3</td>
<td>Chặn IP xấu truy cập website</td>
<td>
<a href="/admin/system/ban-ip"
@@ -90,7 +90,7 @@
</td>
</tr>
<tr>
<td>4</td>
<td class="text-center">4</td>
<td>Email bán hàng/CSKH</td>
<td>
<a href="/admin/system/email"
@@ -99,7 +99,7 @@
</td>
</tr>
<tr>
<td>5</td>
<td class="text-center">5</td>
<td>Print/ Xuất Excel</td>
<td>
<a href="/admin/system/print"
@@ -108,7 +108,7 @@
</td>
</tr>
<tr>
<td>6</td>
<td class="text-center">6</td>
<td>Meta SEO trang chủ</td>
<td>
<a href="/admin/system/change-info"
@@ -117,7 +117,7 @@
</td>
</tr>
<tr>
<td>7</td>
<td class="text-center">7</td>
<td>Thông tin giới thiệu cửa hàng</td>
<td>
<a href="/admin/system/change-info"
@@ -126,7 +126,7 @@
</td>
</tr>
<tr>
<td>8</td>
<td class="text-center">8</td>
<td>Thông tin các tỉnh/thành/quận-huyện</td>
<td>
<a href="/admin/system/province-list"
@@ -135,7 +135,7 @@
</td>
</tr>
<tr>
<td>9</td>
<td class="text-center">9</td>
<td>Các phương thức thanh toán</td>
<td>
<a href="/admin/system/pay-method"
@@ -144,7 +144,7 @@
</td>
</tr>
<tr>
<td>10</td>
<td class="text-center">10</td>
<td>Các phương thức vận chuyển</td>
<td>
<a href="/admin/system/ship-method"
@@ -153,7 +153,7 @@
</td>
</tr>
<tr>
<td>11</td>
<td class="text-center">11</td>
<td>Cài đặt phí vận chuyển</td>
<td>
<a href="/admin/shipping2"

View File

@@ -64,12 +64,11 @@
<div class="flex items-center">
<b class="w-[200px]">Đây là 1 cửa hàng ?</b>
<div class="check-form flex items-center">
<input type="checkbox" name="" value="1" checked
class="checked:bg-[#0041E8] w-[18px] h-[18px] rounded-[4px]">
<span class="ml-[10px] text-[#6B7280]">Đây là 1 cửa hàng khách có thể tới
<label class="check-form flex items-center cursor-pointer">
<input type="checkbox" name="" value="1" checked class="checkbox checkbox-success">
<span class="ml-[10px] text-[#6B7280] label-text">Đây là 1 cửa hàng khách có thể tới
</span>
</div>
</label>
</div>
<input type="submit" value="Cập nhật"
@@ -80,8 +79,8 @@
<div
class="p-[15px] mb-[15px] bg-white border-t-[6px] border-[#FAFAFB] rounded-[0_0_15px_15px] shadow-[0px_1px_1px_0px_#0000001A]">
<b class="block text-[20px] mb-[10px]">Danh sách địa chỉ cửa hàng</b>
<table class="style-table mb-[15px]">
<thead>
<table class="table mb-[15px]">
<thead class="bg-[#f6f6f6] text-[14px] font-[500] text-[#000]">
<tr>
<th class="w-[50px]">STT</th>
<th class="w-[135px]">Tên gọi</th>
@@ -103,14 +102,14 @@
<td>
<div class='list-btn flex items-center'>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class='w-[30px] h-[30px] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class='icons icon-edit'></i></a>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#9E9E9E] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class="fa-regular fa-eye-slash text-[#9E9E9E]"></i></a>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#9E9E9E] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class='icons icon-remove'></i></a>
class='w-[32px] h-[32px] border-[1px] border-[#9E9E9E] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class='icons icon-delete'></i></a>
</div>
</td>
</tr>
@@ -124,14 +123,14 @@
<td>
<div class='list-btn flex items-center'>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class='w-[30px] h-[30px] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class='icons icon-edit'></i></a>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#9E9E9E] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class="fa-regular fa-eye-slash text-[#9E9E9E]"></i></a>
<a href=""
class='w-[30px] h-[30px] border-[1px] border-[#9E9E9E] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class='icons icon-remove'></i></a>
class='w-[32px] h-[32px] border-[1px] border-[#9E9E9E] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
class='icons icon-delete'></i></a>
</div>
</td>
</tr>