feat: add Node ACS admin workflows
This commit is contained in:
@@ -140,6 +140,48 @@ a { color: inherit; text-decoration: none; }
|
||||
.modal-message { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
|
||||
.modal-input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; resize: vertical; }
|
||||
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
|
||||
.detail-modal {
|
||||
width: min(1120px, calc(100vw - 48px));
|
||||
max-height: calc(100vh - 48px);
|
||||
overflow: auto;
|
||||
}
|
||||
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
|
||||
.detail-status { margin-bottom: 12px; }
|
||||
.detail-form {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
.detail-form .form-group {
|
||||
min-width: 0;
|
||||
}
|
||||
.detail-form .group-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
.detail-form .field {
|
||||
grid-template-columns: 104px minmax(0, 1fr);
|
||||
}
|
||||
.detail-form .field input {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
.detail-form .checkbox-row {
|
||||
min-width: 0;
|
||||
}
|
||||
.detail-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 10px 16px;
|
||||
}
|
||||
.detail-item {
|
||||
display: grid;
|
||||
grid-template-columns: 112px minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
align-items: start;
|
||||
padding: 8px 0;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.detail-item span { color: var(--muted); font-size: 12px; font-weight: 700; }
|
||||
.detail-item strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
|
||||
|
||||
/* Public entrance kiosk */
|
||||
.kiosk { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--bg, #f1f5f9); }
|
||||
@@ -175,7 +217,7 @@ a { color: inherit; text-decoration: none; }
|
||||
.form-grid .span-2 { grid-column: 1 / -1; }
|
||||
.visit-form { gap: 8px; padding: 12px; margin-bottom: 0; }
|
||||
.form-group {
|
||||
border: 1px solid #cbd5e1;
|
||||
border: 2px solid #94a3b8;
|
||||
border-radius: 8px;
|
||||
padding: 10px 12px 0;
|
||||
margin: 0;
|
||||
@@ -244,6 +286,7 @@ a { color: inherit; text-decoration: none; }
|
||||
}
|
||||
.consent-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 12px; color: #334155; line-height: 1.35; }
|
||||
.consent-label input { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; }
|
||||
.consent-retention-warning { color: var(--red); }
|
||||
|
||||
/* Inline checkbox group (e.g. 전산실 다중 선택) */
|
||||
.checkbox-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 2px; }
|
||||
@@ -290,6 +333,8 @@ button:disabled { opacity: .55; cursor: not-allowed; }
|
||||
}
|
||||
.table th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: none; }
|
||||
.table tbody tr:hover { background: #f8fafc; }
|
||||
.clickable-row { cursor: pointer; }
|
||||
.clickable-row:focus-visible { outline: 2px solid #bfdbfe; outline-offset: -2px; }
|
||||
|
||||
/* ===== Badges ===== */
|
||||
.badge {
|
||||
@@ -325,6 +370,81 @@ button:disabled { opacity: .55; cursor: not-allowed; }
|
||||
.btn-link { background: none; border: none; color: var(--primary); font-weight: 600; }
|
||||
.row-actions { display: flex; gap: 10px; }
|
||||
|
||||
/* ===== Admin management ===== */
|
||||
.admin-tabs {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-bottom: 12px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.admin-tabs button {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
padding: 10px 12px;
|
||||
color: var(--muted);
|
||||
font-weight: 700;
|
||||
}
|
||||
.admin-tabs button.tab-active {
|
||||
color: var(--primary);
|
||||
border-bottom: 2px solid var(--primary);
|
||||
}
|
||||
.admin-filter-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.admin-filter-row input,
|
||||
.admin-filter-row select,
|
||||
.table select {
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
font: inherit;
|
||||
background: #fff;
|
||||
}
|
||||
.admin-filter-row input {
|
||||
min-width: 260px;
|
||||
}
|
||||
.admin-upload-panel {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.admin-upload-head,
|
||||
.admin-upload-controls,
|
||||
.admin-upload-summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.admin-upload-head {
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.admin-upload-head h3 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
.admin-upload-controls input[type="file"] {
|
||||
min-width: 280px;
|
||||
}
|
||||
.admin-upload-summary {
|
||||
margin: 12px 0;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
.admin-preview-table {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.admin-preview-table td {
|
||||
vertical-align: top;
|
||||
}
|
||||
.row-error {
|
||||
background: #fff7f7;
|
||||
}
|
||||
.text-danger {
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
/* ===== Report ===== */
|
||||
.report-row { display: flex; align-items: flex-end; gap: 16px; }
|
||||
.report-row .field { margin-bottom: 0; }
|
||||
@@ -362,6 +482,10 @@ button:disabled { opacity: .55; cursor: not-allowed; }
|
||||
.stat-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
.form-grid { grid-template-columns: 1fr; }
|
||||
.group-grid { grid-template-columns: 1fr; }
|
||||
.detail-grid,
|
||||
.detail-item {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.visit-form .field,
|
||||
.visit-form .field.span-2 {
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
Reference in New Issue
Block a user