From 5c7730d4a1dee09e50479a7d137642b99abf5884 Mon Sep 17 00:00:00 2001 From: king Date: Sat, 30 May 2026 06:41:11 +0900 Subject: [PATCH] =?UTF-8?q?ui(cupang):=20=EB=8B=AC=EB=A0=A5=20=EC=83=81?= =?UTF-8?q?=EB=8B=A8=20=EC=84=A4=EC=A0=95=20=EB=B2=84=ED=8A=BC=EC=9D=84=20?= =?UTF-8?q?=EB=8B=AC=EB=A0=A5=20=EC=BB=AC=EB=9F=BC=20=EC=98=A4=EB=A5=B8?= =?UTF-8?q?=EC=AA=BD=20=EB=81=9D=EC=97=90=20=EC=A0=95=EB=A0=AC=20(Co-Autho?= =?UTF-8?q?red-By:=20Claude=20Opus=204.8=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cupang/templates/cupang/box_rules.html | 2 +- .../cupang/templates/cupang/centers.html | 2 +- .../cupang/templates/cupang/detail.html | 2 +- app/modules/cupang/templates/cupang/form.html | 4 ++-- .../cupang/templates/cupang/index.html | 21 +++++++++++-------- .../cupang/templates/cupang/products.html | 2 +- app/static/cupang.css | 13 ++++++++++++ app/templates/erp_base.html | 4 ++-- 8 files changed, 33 insertions(+), 17 deletions(-) diff --git a/app/modules/cupang/templates/cupang/box_rules.html b/app/modules/cupang/templates/cupang/box_rules.html index 5f2f76d..c0c55ff 100644 --- a/app/modules/cupang/templates/cupang/box_rules.html +++ b/app/modules/cupang/templates/cupang/box_rules.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/centers.html b/app/modules/cupang/templates/cupang/centers.html index c922698..6e64dd7 100644 --- a/app/modules/cupang/templates/cupang/centers.html +++ b/app/modules/cupang/templates/cupang/centers.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/detail.html b/app/modules/cupang/templates/cupang/detail.html index 343d15e..6e9f2a6 100644 --- a/app/modules/cupang/templates/cupang/detail.html +++ b/app/modules/cupang/templates/cupang/detail.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/form.html b/app/modules/cupang/templates/cupang/form.html index 44f9d16..25df759 100644 --- a/app/modules/cupang/templates/cupang/form.html +++ b/app/modules/cupang/templates/cupang/form.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
@@ -109,4 +109,4 @@ {% endblock %} -{% block scripts %}{% endblock %} +{% block scripts %}{% endblock %} diff --git a/app/modules/cupang/templates/cupang/index.html b/app/modules/cupang/templates/cupang/index.html index c0ae8ef..136e6b8 100644 --- a/app/modules/cupang/templates/cupang/index.html +++ b/app/modules/cupang/templates/cupang/index.html @@ -1,18 +1,21 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
- -
- + 신규 등록 - - 제품명 설정 - 입고센터 관리 - 박스 입수량 설정 - + +
diff --git a/app/modules/cupang/templates/cupang/products.html b/app/modules/cupang/templates/cupang/products.html index d904b16..9ef91f7 100644 --- a/app/modules/cupang/templates/cupang/products.html +++ b/app/modules/cupang/templates/cupang/products.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/static/cupang.css b/app/static/cupang.css index 931ee0a..d65bf26 100644 --- a/app/static/cupang.css +++ b/app/static/cupang.css @@ -6,6 +6,19 @@ .cpg-push-right { margin-left: auto; } /* 달력 상단 설정 버튼 그룹 — 우측 정렬 */ .cpg-settings-btns { margin-left: auto; display: inline-flex; gap: 8px; flex-wrap: wrap; } +/* 액션바를 달력 레이아웃(좌:달력 1fr / 우:리스트 320)과 같은 그리드로 + → 설정 버튼이 달력 컬럼 오른쪽 끝에 정렬 */ +.cpg-actions-grid { + display: grid; + grid-template-columns: minmax(0, 1fr) 320px; + gap: 16px; + margin-bottom: 16px; +} +.cpg-actions-main { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } +@media (max-width: 980px) { + .cpg-actions-grid { grid-template-columns: 1fr; } + .cpg-actions-spacer { display: none; } +} /* ── 레이아웃: 왼쪽 큰 달력 + 오른쪽 리스트 ── */ .cpg-layout { diff --git a/app/templates/erp_base.html b/app/templates/erp_base.html index 9324a27..84a5063 100644 --- a/app/templates/erp_base.html +++ b/app/templates/erp_base.html @@ -4,8 +4,8 @@ {{ page_title or "ERP" }} — DBX Corporation - - + + {% block head_extra %}{% endblock %}