feat(web): 감사 로그·발송 내역 관리 화면 추가
- AuditLogPage(/audit): 최근 관리 행위(승인/반려·블랙리스트) 조회. - DeliveryOutboxPage(/deliveries): 출입증 발송 내역 조회(성공/실패/전체 필터) + 실패건 수동 재발송. - api.ts/types에 listAudit·listDeliveries·retryDelivery + AuditLog·PassDelivery 타입 추가. - Layout 네비(ADMIN)와 App 라우팅(ADMIN 가드) 연결, common.css에 row-gap·cell-error 유틸 추가. 검증: tsc+vite 빌드 통과. 런타임 승인 후 GET /api/admin/audit·/deliveries 응답이 타입과 일치 확인. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -302,3 +302,9 @@ button:disabled { opacity: .55; cursor: not-allowed; }
|
||||
.form-grid { grid-template-columns: 1fr; }
|
||||
.nav { display: none; }
|
||||
}
|
||||
|
||||
/* inline row of controls (e.g. filter + refresh in page-head) */
|
||||
.row-gap { display: flex; gap: 8px; align-items: center; }
|
||||
|
||||
/* long delivery error text: keep the row compact, reveal full text on hover (title attr) */
|
||||
.cell-error { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--red, #c0392b); }
|
||||
|
||||
Reference in New Issue
Block a user