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" %} -
- - -