diff --git a/config.py b/config.py index f6195fa..fae4a76 100644 --- a/config.py +++ b/config.py @@ -320,7 +320,7 @@ YOUTUBE_API_KEY = os.getenv('YOUTUBE_API_KEY', '') # ========================================== # 系統版本與路徑 # ========================================== -SYSTEM_VERSION = "V10.149" +SYSTEM_VERSION = "V10.150" LOG_FILE_PATH = os.path.join(BASE_DIR, 'logs/system.log') public_url = PUBLIC_URL # 用於模板顯示 diff --git a/routes/cicd_routes.py b/routes/cicd_routes.py index de238b4..8341373 100644 --- a/routes/cicd_routes.py +++ b/routes/cicd_routes.py @@ -121,7 +121,7 @@ ENVIRONMENTS = { @cicd_bp.route('/cicd') def cicd_dashboard(): """CI/CD Dashboard 主頁面""" - return render_template('cicd_dashboard.html') + return render_template('cicd_dashboard.html', active_page='cicd') # ============================================================================= # API 端點 diff --git a/routes/code_review_routes.py b/routes/code_review_routes.py index cf5497f..910f57f 100644 --- a/routes/code_review_routes.py +++ b/routes/code_review_routes.py @@ -104,4 +104,4 @@ def api_history(): @code_review_bp.route("/", methods=["GET"]) def dashboard(): - return render_template("code_review.html") + return render_template("code_review.html", active_page="code_review") diff --git a/routes/misc_routes.py b/routes/misc_routes.py index 8bb6f3b..383c14c 100644 --- a/routes/misc_routes.py +++ b/routes/misc_routes.py @@ -37,4 +37,4 @@ def test_url(): @misc_bp.route('/brand_assets') def brand_assets(): """顯示品牌資產庫""" - return render_template('brand_assets.html') + return render_template('brand_assets.html', active_page='brand_assets') diff --git a/templates/brand_assets.html b/templates/brand_assets.html index f7043d2..7ce0b43 100644 --- a/templates/brand_assets.html +++ b/templates/brand_assets.html @@ -1,62 +1,64 @@ - - +{% extends "ewoooc_base.html" %} - - - - WOOO TECH 品牌資產庫 - +{% block title %}品牌資產庫 - EwoooC{% endblock %} + +{% block extra_css %} - +{% endblock %} - +{% block content %} +

WOOO TECH 品牌資產庫

@@ -102,23 +105,23 @@
- Main Logo + Main Logo
SVG (向量)
- Main Logo JPG + Main Logo PNG
- JPG (白底)
+ PNG
@@ -127,9 +130,8 @@
其他格式
@@ -141,23 +143,23 @@
- Glass Logo + Glass Logo
- SVG (向量)
+ PNG
- Glass Logo JPG + Standard Logo
- JPG (白底)
+ 標準 PNG
@@ -169,29 +171,28 @@
- Gradient Logo + Gradient Logo
- SVG (向量)
+ PNG
- Gradient Logo JPG + Circle Logo
- JPG (白底)
+ 圓標 SVG
- - - \ No newline at end of file +
+{% endblock %} diff --git a/templates/cicd_dashboard.html b/templates/cicd_dashboard.html index c276578..11404ea 100644 --- a/templates/cicd_dashboard.html +++ b/templates/cicd_dashboard.html @@ -1,39 +1,43 @@ - - - - - - CI/CD Dashboard - MOMO Pro System - +{% extends "ewoooc_base.html" %} + +{% block title %}CI/CD Dashboard - EwoooC{% endblock %} + +{% block extra_head %} +{% endblock %} + +{% block extra_css %} - - +{% endblock %} + +{% block content %} +
@@ -637,8 +649,11 @@
+
- +{% endblock %} + +{% block extra_js %} - - +{% endblock %} diff --git a/templates/code_review.html b/templates/code_review.html index 6b7abbd..c8a940c 100644 --- a/templates/code_review.html +++ b/templates/code_review.html @@ -1,38 +1,39 @@ - - - - - - EwoooC — AI Code Review Dashboard +{% extends "ewoooc_base.html" %} + +{% block title %}AI Code Review - EwoooC{% endblock %} + +{% block extra_css %} - - +{% endblock %} + +{% block content %} +
@@ -380,7 +383,10 @@
+ +{% endblock %} +{% block extra_js %} - - +{% endblock %} diff --git a/templates/components/_ewoooc_shell.html b/templates/components/_ewoooc_shell.html index c008fc4..6b0063c 100644 --- a/templates/components/_ewoooc_shell.html +++ b/templates/components/_ewoooc_shell.html @@ -165,7 +165,7 @@ {# 群組 5: 系統(terra) #}
系統
- + 系統管理 14 diff --git a/templates/ewoooc_base.html b/templates/ewoooc_base.html index 6b4d5ea..b88a43f 100644 --- a/templates/ewoooc_base.html +++ b/templates/ewoooc_base.html @@ -352,7 +352,8 @@ 'obs_ppt_audit'] %} {% set _group_system = ['settings', 'system_settings', 'logs', 'crawler', 'user_management', 'login_history', 'change_password', - 'notification_templates', 'ai_automation_smoke'] %} + 'notification_templates', 'ai_automation_smoke', + 'brand_assets', 'code_review', 'cicd'] %} {% if _page in _group_monitor %}{% set _page_group = 'monitor' %} {% elif _page in _group_analytics %}{% set _page_group = 'analytics' %} {% elif _page in _group_ops %}{% set _page_group = 'ops' %}