diff --git a/config.py b/config.py index b559d95..f6195fa 100644 --- a/config.py +++ b/config.py @@ -320,7 +320,7 @@ YOUTUBE_API_KEY = os.getenv('YOUTUBE_API_KEY', '') # ========================================== # 系統版本與路徑 # ========================================== -SYSTEM_VERSION = "V10.148" +SYSTEM_VERSION = "V10.149" LOG_FILE_PATH = os.path.join(BASE_DIR, 'logs/system.log') public_url = PUBLIC_URL # 用於模板顯示 diff --git a/routes/pchome_routes.py b/routes/pchome_routes.py index 0982353..adaac55 100644 --- a/routes/pchome_routes.py +++ b/routes/pchome_routes.py @@ -18,7 +18,7 @@ pchome_bp = Blueprint('pchome', __name__) @login_required def pchome_crawler_page(): """PChome 爬蟲管理頁面""" - return render_template('pchome_crawler.html') + return render_template('pchome_crawler.html', active_page='pchome_crawler') # PChome 24h 館別代碼 (完整中分類) diff --git a/routes/price_comparison_routes.py b/routes/price_comparison_routes.py index 49494d3..1bb833b 100644 --- a/routes/price_comparison_routes.py +++ b/routes/price_comparison_routes.py @@ -28,7 +28,7 @@ price_comparison_bp = Blueprint('price_comparison', __name__) @login_required def price_comparison_page(): """比價管理頁面""" - return render_template('price_comparison.html') + return render_template('price_comparison.html', active_page='price_comparison') # ============================================ diff --git a/routes/trend_routes.py b/routes/trend_routes.py index 3607945..2ab6218 100644 --- a/routes/trend_routes.py +++ b/routes/trend_routes.py @@ -34,7 +34,7 @@ trend_bp = Blueprint('trend', __name__) @login_required def trends_page(): """趨勢資料頁面""" - return render_template('trends.html') + return render_template('trends.html', active_page='trends') # ===== API 路由 ===== diff --git a/templates/ai_automation_smoke.html b/templates/ai_automation_smoke.html index d70098d..695a7a5 100644 --- a/templates/ai_automation_smoke.html +++ b/templates/ai_automation_smoke.html @@ -1,16 +1,16 @@ -{% extends 'base.html' %} +{% extends 'ewoooc_base.html' %} -{% block title %}AI 自動化 Smoke Dashboard - WOOO TECH{% endblock %} +{% block title %}AI 自動化 Smoke Dashboard - EwoooC{% endblock %} {% block extra_css %} {% endblock %} @@ -106,15 +129,15 @@
FOUR-AGENT CONTROL PLANE

AI 自動化 Smoke Dashboard

-

快速確認 EventRouter、AutoHeal、NemoTron、OpenClaw 與 ElephantAlpha 的閉環狀態。

+

快速確認 EventRouter、AutoHeal、NemoTron、OpenClaw 與 ElephantAlpha 的閉環狀態。

讀取中...
-
版本 {{ system_version }}
- - + 匯出 JSONL
- +
diff --git a/templates/components/_ewoooc_shell.html b/templates/components/_ewoooc_shell.html index b35b32a..c008fc4 100644 --- a/templates/components/_ewoooc_shell.html +++ b/templates/components/_ewoooc_shell.html @@ -113,7 +113,7 @@ {# 群組 4: AI 中樞(saffron) #}
AI 中樞
- + AI 助手 05 diff --git a/templates/ewoooc_base.html b/templates/ewoooc_base.html index 94ebcbe..6b4d5ea 100644 --- a/templates/ewoooc_base.html +++ b/templates/ewoooc_base.html @@ -345,6 +345,7 @@ {% set _group_analytics = ['sales', 'daily_sales', 'monthly', 'growth'] %} {% set _group_ops = ['vendor_stockout', 'auto_import', 'market_intel'] %} {% set _group_ai = ['ai_recommend', 'ai_history', 'ai_intelligence', + 'pchome_crawler', 'price_comparison', 'trends', 'obs_overview', 'obs_agent_orchestration', 'obs_business_intel', 'obs_host_health', 'obs_ai_calls', 'obs_budget', 'obs_promotion_review', 'obs_rag_queries', 'obs_quality_trend', diff --git a/templates/pchome_crawler.html b/templates/pchome_crawler.html index f67a8fa..e57cb64 100644 --- a/templates/pchome_crawler.html +++ b/templates/pchome_crawler.html @@ -1,6 +1,6 @@ -{% extends "base.html" %} +{% extends "ewoooc_base.html" %} -{% block title %}PChome 爬蟲 - Momo Pro{% endblock %} +{% block title %}PChome 爬蟲 - EwoooC{% endblock %} {% block content %}
diff --git a/templates/price_comparison.html b/templates/price_comparison.html index cb1b983..2de8354 100644 --- a/templates/price_comparison.html +++ b/templates/price_comparison.html @@ -1,6 +1,6 @@ -{% extends "base.html" %} +{% extends "ewoooc_base.html" %} -{% block title %}比價系統 - Momo Pro{% endblock %} +{% block title %}比價系統 - EwoooC{% endblock %} {% block content %}
diff --git a/templates/trends.html b/templates/trends.html index 6e6dc38..d0bc4cb 100644 --- a/templates/trends.html +++ b/templates/trends.html @@ -1,6 +1,6 @@ -{% extends "base.html" %} +{% extends "ewoooc_base.html" %} -{% block title %}趨勢資料 - WOOO TECH{% endblock %} +{% block title %}趨勢資料 - EwoooC{% endblock %} {% block content %}
日期