From 464cb6b0373e4600c76a64328384f6444ebcc6be Mon Sep 17 00:00:00 2001 From: OoO Date: Wed, 6 May 2026 21:26:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=84=AA=E5=8C=96=E6=9A=96=E8=89=B2=E7=B3=BB?= =?UTF-8?q?=E7=B5=B1=E8=88=87=E9=9B=B2=E7=AB=AF=E5=8C=AF=E5=85=A5=E9=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/auto_import_routes.py | 2 +- templates/auto_import_index.html | 331 +++++++++++------------- templates/components/_ewoooc_shell.html | 30 +-- templates/ewoooc_base.html | 54 +++- web/static/css/ewoooc-tokens.css | 67 +++-- 5 files changed, 255 insertions(+), 229 deletions(-) diff --git a/routes/auto_import_routes.py b/routes/auto_import_routes.py index 675074f..c4b1ffd 100644 --- a/routes/auto_import_routes.py +++ b/routes/auto_import_routes.py @@ -18,7 +18,7 @@ logger = logging.getLogger(__name__) @auto_import_bp.route('/auto_import') def auto_import_index(): """自動匯入主頁""" - return render_template('auto_import_index.html') + return render_template('auto_import_index.html', active_page='auto_import') @auto_import_bp.route('/api/import_jobs', methods=['GET']) diff --git a/templates/auto_import_index.html b/templates/auto_import_index.html index 7b8c80b..dd609f8 100644 --- a/templates/auto_import_index.html +++ b/templates/auto_import_index.html @@ -1,267 +1,241 @@ - - +{% extends 'ewoooc_base.html' %} +{% block title %}當日業績報表匯入 - EwoooC{% endblock %} - - - - - 當日業績報表匯入 - WOOO TECH - - +{% block extra_css %} - +{% endblock %} - - - {% include 'components/_navbar.html' %} - -
+{% block ewooo_content %} +
-
-
+
+

當日業績報表匯入

-

+

支援兩種匯入方式:Google Drive 自動匯入(每 30 分鐘檢查)或 手動上傳

-
+
@@ -381,8 +355,9 @@
+{% endblock %} - +{% block extra_js %} - - - \ No newline at end of file +{% endblock %} diff --git a/templates/components/_ewoooc_shell.html b/templates/components/_ewoooc_shell.html index 7ae46a7..93ad4ef 100644 --- a/templates/components/_ewoooc_shell.html +++ b/templates/components/_ewoooc_shell.html @@ -19,8 +19,8 @@