style: 표/패널 UI 전면 통일 + 화면설명 드로어·글씨크기·탭 개선
표 디자인 - 모든 표를 가벼운 스타일로 통일(.data-table 경량화: 작은 회색 헤더·연한 구분선·hover) - 표/패널 바깥 테두리 둥글게(rounded-lg) 일괄 적용, 표 래퍼에 패딩 카드(p-4) 통일 - 표 헤더·데이터 정렬을 전 화면 좌측 기준으로 통일 - .data-table th/td text-align:left (전역), 흩어진 center/right 정렬 정리 - 재디자인 Tailwind 표(포장단위·단가·기본코드·담당자·업체·판매대행소·무료대상자·지정판매소)도 셀 좌측화 - 기본정보관리 등 나머지 소메뉴 표를 기본 코드 관리 스타일(가벼운 표·상태 pill)로 재디자인 워크스페이스/공통 - "이 화면 설명" → 새 탭 대신 우측 드로어 팝업(현재 화면과 동시에 보기, Esc·드래그 폭조절) - 상단바 글씨 크기 조절(A−/A+), 작업 내용에 zoom 적용 - 탭 최대치 도달 시 자동 삭제 대신 안내 토스트, "모두 닫기"(업무 현황 탭은 보존) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<section class="border-b border-gray-300 p-2 shrink-0 bg-control-panel">
|
||||
<span class="text-sm font-bold text-gray-700">주문 접수</span>
|
||||
</section>
|
||||
<div class="border border-gray-300 p-4 mt-2 bg-white">
|
||||
<div class="border border-gray-300 rounded-lg p-4 mt-2 bg-white">
|
||||
<form action="<?= mgmt_url('shop-orders/store') ?>" method="POST" class="space-y-4">
|
||||
<?= csrf_field() ?>
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-4">
|
||||
@@ -38,7 +38,7 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="border border-gray-300 p-2 bg-gray-50">
|
||||
<div class="border border-gray-300 rounded-lg p-2 bg-gray-50">
|
||||
<div class="text-sm font-bold text-gray-700 mb-2">지정판매소 정보</div>
|
||||
<table class="w-full text-sm">
|
||||
<tr><th class="text-left w-28 py-1">판매소 코드</th><td id="shop-info-code" class="py-1 text-gray-700">-</td></tr>
|
||||
@@ -73,19 +73,19 @@
|
||||
<label class="block text-sm font-bold text-gray-700">전화 주문 접수표</label>
|
||||
<button type="button" id="add-order-row" class="border border-gray-300 bg-white px-3 py-1 rounded-sm text-xs text-gray-700 hover:bg-gray-50">행 추가</button>
|
||||
</div>
|
||||
<div class="border border-gray-300 overflow-auto">
|
||||
<div class="border border-gray-300 rounded-lg p-4 overflow-auto">
|
||||
<table class="w-full data-table text-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-14">순번</th>
|
||||
<th class="w-48">품목</th>
|
||||
<th class="w-36">1박스(낱장/판매가)</th>
|
||||
<th class="w-36">1팩(낱장/판매가)</th>
|
||||
<th class="w-24">단가</th>
|
||||
<th class="w-28">주문수량</th>
|
||||
<th class="w-28">금액</th>
|
||||
<th class="w-32">포장(박스/팩/낱장)</th>
|
||||
<th class="w-20">행삭제</th>
|
||||
<th class="w-14 text-center">순번</th>
|
||||
<th class="w-48 text-left">품목</th>
|
||||
<th class="w-36 text-right">1박스(낱장/판매가)</th>
|
||||
<th class="w-36 text-right">1팩(낱장/판매가)</th>
|
||||
<th class="w-24 text-right">단가</th>
|
||||
<th class="w-28 text-right">주문수량</th>
|
||||
<th class="w-28 text-right">금액</th>
|
||||
<th class="w-32 text-right">포장(박스/팩/낱장)</th>
|
||||
<th class="w-20 text-center">행삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="order-rows">
|
||||
|
||||
@@ -18,22 +18,22 @@
|
||||
<a href="<?= mgmt_url('shop-orders') ?>" class="text-sm text-gray-500 hover:underline">초기화</a>
|
||||
</form>
|
||||
</section>
|
||||
<div class="border border-gray-300 overflow-auto mt-2">
|
||||
<div class="border border-gray-300 rounded-lg p-4 overflow-auto mt-2">
|
||||
<table class="w-full data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-16">번호</th>
|
||||
<th>판매소</th>
|
||||
<th>접수일</th>
|
||||
<th>배달일</th>
|
||||
<th>접수채널</th>
|
||||
<th>결제</th>
|
||||
<th>입금</th>
|
||||
<th>수령</th>
|
||||
<th>수량</th>
|
||||
<th>금액</th>
|
||||
<th class="w-20">상태</th>
|
||||
<th class="w-24">작업</th>
|
||||
<th class="w-16 text-center">번호</th>
|
||||
<th class="text-left">판매소</th>
|
||||
<th class="text-center">접수일</th>
|
||||
<th class="text-center">배달일</th>
|
||||
<th class="text-center">접수채널</th>
|
||||
<th class="text-center">결제</th>
|
||||
<th class="text-center">입금</th>
|
||||
<th class="text-center">수령</th>
|
||||
<th class="text-right">수량</th>
|
||||
<th class="text-right">금액</th>
|
||||
<th class="w-20 text-center">상태</th>
|
||||
<th class="w-24 text-center">작업</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="text-right">
|
||||
|
||||
Reference in New Issue
Block a user