ui(cupang): 입고센터 페이지 좌우 배치 + 목록 가나다순/900px 스크롤

- 추가 폼에서 정렬순서 입력란 제거(좌측), 센터 목록 우측
- 센터 목록 이름 오름차순, 프레임 900px 고정 내부 스크롤, 1열 행
- 행 편집은 이름 저장 + 활성/비활성 + 삭제 (정렬 입력 제거)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 04:39:47 +09:00
parent f9c1dc140b
commit 4113a034f4
3 changed files with 71 additions and 55 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ async def centers_page(request: Request) -> HTMLResponse:
if not isinstance(guard, tuple):
return guard
store, user = guard
centers = store.list_centers(include_inactive=True)
centers = sorted(store.list_centers(include_inactive=True), key=lambda c: c["name"])
# 사용 중 여부 표시
for c in centers:
c["in_use"] = store.center_in_use(center_id=c["id"])