From 74e33efa5531524d4bb8987ad1ee556f25a358a7 Mon Sep 17 00:00:00 2001 From: king Date: Mon, 31 Aug 2026 12:12:18 +0900 Subject: [PATCH] =?UTF-8?q?feat(cupang):=20=EC=84=BC=ED=84=B0=20=EC=95=8C?= =?UTF-8?q?=EB=A6=BC=EC=9D=84=20=EA=B0=80=EC=9A=B4=EB=8D=B0=20=ED=8C=9D?= =?UTF-8?q?=EC=97=85=EC=9C=BC=EB=A1=9C,=20=EA=B7=B8=EB=A3=B9=20=ED=97=A4?= =?UTF-8?q?=EB=8D=94/=EB=AA=A9=EB=A1=9D=20=EA=B5=AC=EB=B6=84=20=EA=B0=95?= =?UTF-8?q?=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 브라우저 기본 alert/confirm 은 상단에 붙고 URL 이 그대로 보여 어수선했다. 기존 .cpg-modal 스타일을 재사용해 화면 가운데 팝업으로 바꾸고, 삭제 확인도 같은 팝업(빨간 확인 버튼)으로 통일했다. ESC·배경 클릭으로 닫힘. 목록은 헤더와 항목이 같은 평면에 있어 구분이 약했다. 그룹을 테두리 있는 패널로 만들고 헤더에 회색 바 + 카운트 배지 + 접기 캐럿을 뒀다. 센터명은 고정폭 글꼴로 정렬감을 주고, 비활성은 취소선으로 표시. --- .../cupang/templates/cupang/box_calc.html | 2 +- .../cupang/templates/cupang/box_rules.html | 2 +- .../cupang/templates/cupang/centers.html | 141 ++++++++++++++---- .../cupang/templates/cupang/detail.html | 2 +- app/modules/cupang/templates/cupang/form.html | 2 +- .../cupang/templates/cupang/index.html | 2 +- .../cupang/templates/cupang/products.html | 2 +- app/static/cupang.css | 99 ++++++++---- 8 files changed, 188 insertions(+), 64 deletions(-) diff --git a/app/modules/cupang/templates/cupang/box_calc.html b/app/modules/cupang/templates/cupang/box_calc.html index e82bbd6..c28f5f8 100644 --- a/app/modules/cupang/templates/cupang/box_calc.html +++ b/app/modules/cupang/templates/cupang/box_calc.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/box_rules.html b/app/modules/cupang/templates/cupang/box_rules.html index e1b6b7b..8a59f6b 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 3d668ba..b84dace 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 %}
@@ -27,32 +27,33 @@ 지역별로 묶어 표시. 이름 변경은 지원하지 않음 — 삭제 후 새로 등록. - +
{% for g in center_groups %} -
-
+
+ +
+ {% for c in g["items"] %} +
+ + {{ c.name }} + +
+ + +
+ +
+
+ {% endfor %}
- {% for c in g["items"] %} -
- - {{ c.name }} - -
- - -
-
- -
-
-
- {% endfor %} -
+
{% endfor %} @@ -61,20 +62,103 @@
+ + + + +