diff --git a/config.py b/config.py index 2205b73..c5c8a3b 100644 --- a/config.py +++ b/config.py @@ -320,7 +320,7 @@ YOUTUBE_API_KEY = os.getenv('YOUTUBE_API_KEY', '') # ========================================== # 系統版本與路徑 # ========================================== -SYSTEM_VERSION = "V10.179" +SYSTEM_VERSION = "V10.180" LOG_FILE_PATH = os.path.join(BASE_DIR, 'logs/system.log') public_url = PUBLIC_URL # 用於模板顯示 diff --git a/routes/ai_routes.py b/routes/ai_routes.py index 7ed185f..f42ace1 100644 --- a/routes/ai_routes.py +++ b/routes/ai_routes.py @@ -93,6 +93,7 @@ def ai_recommend(): product_categories = load_product_categories() return render_template('ai_recommend.html', + active_page='ai_recommend', ai_status=ai_status, ollama_status=ai_status['ollama']['connected'], gemini_status=ai_status['gemini']['connected'], @@ -724,7 +725,7 @@ def api_batch_generate_copy(): @login_required def ai_history_page(): """AI 歷史記錄頁面""" - return render_template('ai_history.html') + return render_template('ai_history.html', active_page='ai_history') @ai_bp.route('/api/ai/history') diff --git a/routes/system_public_routes.py b/routes/system_public_routes.py index 38f412d..35240ef 100644 --- a/routes/system_public_routes.py +++ b/routes/system_public_routes.py @@ -331,7 +331,7 @@ def ai_automation_smoke_daily_summary_send(): @system_public_bp.route('/logs') def show_logs(): - return render_template('logs.html') + return render_template('logs.html', active_page='logs') @system_public_bp.route('/api/logs') diff --git a/templates/ai_history.html b/templates/ai_history.html index 896bf69..2869c1c 100644 --- a/templates/ai_history.html +++ b/templates/ai_history.html @@ -1,5 +1,5 @@ {% extends 'ewoooc_base.html' %} -{% block title %}AI 生成歷史 - WOOO TECH{% endblock %} +{% block title %}AI 生成歷史 · EwoooC{% endblock %} {% block ewooo_content %}