ui: 입고센터 드롭다운 가나다순, 사이드바 hover 개선, 달력 버튼 강조

- 출고 폼 입고센터 드롭다운 이름 오름차순 정렬
- 사이드바: is-active 메뉴는 hover 무변화, 그 외 진한 회색(#d9d9d9)
- 설정/센터/박스 페이지 "← 달력" → "◀◀ 달력", 검정 배경 흰 글씨(primary)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 04:35:35 +09:00
parent 17dfd23cfc
commit f9c1dc140b
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ def _form_context(request: Request, store: Any, user: dict[str, Any]) -> dict[st
"user": user, "user": user,
"is_admin": is_admin(user), "is_admin": is_admin(user),
"nav_items": build_erp_nav(user, active="cupang"), "nav_items": build_erp_nav(user, active="cupang"),
"centers": store.list_centers(), "centers": sorted(store.list_centers(), key=lambda c: c["name"]),
"box_rules": store.list_box_rules(), "box_rules": store.list_box_rules(),
"products": store.list_products(), "products": store.list_products(),
"ship_methods": list(SHIP_METHODS), "ship_methods": list(SHIP_METHODS),
@@ -6,7 +6,7 @@
<section class="cpg"> <section class="cpg">
<div class="erp-page-actions"> <div class="erp-page-actions">
<a class="erp-btn erp-btn-outline" href="/cupang/"> 달력</a> <a class="erp-btn erp-btn-primary" href="/cupang/">◀◀ 달력</a>
</div> </div>
<!-- 추가/수정 (product_code UNIQUE → upsert) --> <!-- 추가/수정 (product_code UNIQUE → upsert) -->
@@ -6,7 +6,7 @@
<section class="cpg"> <section class="cpg">
<div class="erp-page-actions"> <div class="erp-page-actions">
<a class="erp-btn erp-btn-outline" href="/cupang/"> 달력</a> <a class="erp-btn erp-btn-primary" href="/cupang/">◀◀ 달력</a>
</div> </div>
<!-- 추가 (슬림) --> <!-- 추가 (슬림) -->
@@ -6,7 +6,7 @@
<section class="cpg"> <section class="cpg">
<div class="erp-page-actions"> <div class="erp-page-actions">
<a class="erp-btn erp-btn-outline" href="/cupang/"> 달력</a> <a class="erp-btn erp-btn-primary" href="/cupang/">◀◀ 달력</a>
</div> </div>
<div class="cpg-prod-layout"> <div class="cpg-prod-layout">
+2 -1
View File
@@ -85,7 +85,8 @@ body.erp-app-body { background: var(--color-canvas-white); min-height: 100vh; }
text-decoration: none; text-decoration: none;
white-space: nowrap; white-space: nowrap;
} }
.erp-sidebar-item:hover:not(.is-disabled) { background: var(--color-ghost-gray); } /* 실행중(is-active) 메뉴는 hover 시 변화 없음. 그 외 메뉴만 진한 회색. */
.erp-sidebar-item:hover:not(.is-disabled):not(.is-active) { background: #d9d9d9; }
.erp-sidebar-item.is-active { .erp-sidebar-item.is-active {
background: var(--color-deep-black); background: var(--color-deep-black);
color: var(--color-canvas-white); color: var(--color-canvas-white);