diff --git a/config.py b/config.py index 57820d2..70c6f7e 100644 --- a/config.py +++ b/config.py @@ -320,7 +320,7 @@ YOUTUBE_API_KEY = os.getenv('YOUTUBE_API_KEY', '') # ========================================== # 系統版本與路徑 # ========================================== -SYSTEM_VERSION = "V10.145" +SYSTEM_VERSION = "V10.146" LOG_FILE_PATH = os.path.join(BASE_DIR, 'logs/system.log') public_url = PUBLIC_URL # 用於模板顯示 diff --git a/routes/notification_routes.py b/routes/notification_routes.py index 0c88015..c3baa9b 100644 --- a/routes/notification_routes.py +++ b/routes/notification_routes.py @@ -25,7 +25,8 @@ notification_bp = Blueprint('notification', __name__) def notification_templates_page(): """通知模板管理頁面""" return render_template('notification_templates.html', - system_version=SYSTEM_VERSION) + system_version=SYSTEM_VERSION, + active_page='notification_templates') # ========================================== diff --git a/routes/system_public_routes.py b/routes/system_public_routes.py index 1e8592c..890e3e7 100644 --- a/routes/system_public_routes.py +++ b/routes/system_public_routes.py @@ -229,7 +229,11 @@ def settings(): @system_public_bp.route('/system_settings') def system_settings_page(): """系統設定與匯入頁面""" - return render_template('system_settings.html', system_version=SYSTEM_VERSION) + return render_template( + 'system_settings.html', + system_version=SYSTEM_VERSION, + active_page='system_settings', + ) @system_public_bp.route('/ai_automation_smoke') diff --git a/routes/user_routes.py b/routes/user_routes.py index 855e713..db9a499 100644 --- a/routes/user_routes.py +++ b/routes/user_routes.py @@ -26,7 +26,7 @@ user_bp = Blueprint('user_bp', __name__) @admin_required def user_management(): """用戶管理頁面(僅管理員)""" - return render_template('user_management.html') + return render_template('user_management.html', active_page='user_management') @user_bp.route('/change_password') @@ -34,14 +34,18 @@ def user_management(): def change_password(): """修改密碼頁面""" password_requirements = get_password_requirements() - return render_template('change_password.html', password_requirements=password_requirements) + return render_template( + 'change_password.html', + password_requirements=password_requirements, + active_page='change_password', + ) @user_bp.route('/login_history') @admin_required def login_history_page(): """登入歷史頁面(僅管理員)""" - return render_template('login_history.html') + return render_template('login_history.html', active_page='login_history') # ========================================== diff --git a/templates/change_password.html b/templates/change_password.html index c640e64..ab42ff7 100644 --- a/templates/change_password.html +++ b/templates/change_password.html @@ -1,6 +1,6 @@ -{% extends "base.html" %} +{% extends "ewoooc_base.html" %} -{% block title %}修改密碼 - WOOO TECH{% endblock %} +{% block title %}修改密碼 - EwoooC{% endblock %} {% block content %}
集中管理備份、月總表、即時業績與一般 Excel 匯入。
將目前的系統程式碼與資料庫打包存檔 (目前版本: {{ system_version }})。
-將目前的系統程式碼與資料庫打包存檔。
此功能專用於匯入「月份總表數據分析」Excel。系統會自動根據「年」與「月」欄位,覆蓋更新該月份之歷史數據,適合大批量資料 (如 8 萬筆+)。
- -此功能專用於匯入「月份總表數據分析」Excel。系統會自動根據「年」與「月」欄位,覆蓋更新該月份之歷史數據,適合大批量資料。
+資料處理中,請稍候...
+請上傳檔名包含「即時業績」且為「全月」版本之 Excel。資料將自動匯入至專屬分析明細表。
- -資料處理中,請稍候...
請上傳檔名包含「即時業績」且為「全月」版本之 Excel。資料將自動匯入至專屬分析明細表。
+