diff --git a/tksafety/web/checklist.html b/tksafety/web/checklist.html index 03edd43..a580194 100644 --- a/tksafety/web/checklist.html +++ b/tksafety/web/checklist.html @@ -10,17 +10,17 @@ -
+
- +

TK 안전관리

-
-
- +
-
+
@@ -52,8 +52,8 @@
-

기본 체크리스트 항목

-
@@ -67,8 +67,8 @@ @@ -181,14 +181,14 @@
- +
- - + + diff --git a/tksafety/web/index.html b/tksafety/web/index.html index 90d2e89..6e40724 100644 --- a/tksafety/web/index.html +++ b/tksafety/web/index.html @@ -6,21 +6,21 @@ 방문 관리 - TK 안전관리 - + -
+
- +

TK 안전관리

-
-
- +
-
+
@@ -36,7 +36,7 @@
-
0
+
0
오늘 방문
@@ -55,7 +55,7 @@
-

방문 등록

+

방문 등록

@@ -112,7 +112,7 @@
@@ -154,7 +154,7 @@
-
@@ -164,7 +164,7 @@
-

오늘 방문 현황

+

오늘 방문 현황

- +
- - + + diff --git a/tksafety/web/static/css/tksafety.css b/tksafety/web/static/css/tksafety.css index 2a0dee0..a741cb9 100644 --- a/tksafety/web/static/css/tksafety.css +++ b/tksafety/web/static/css/tksafety.css @@ -5,13 +5,13 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; b /* Input */ .input-field { border: 1px solid #e2e8f0; transition: border-color 0.15s; outline: none; } -.input-field:focus { border-color: #f97316; box-shadow: 0 0 0 3px rgba(249,115,22,0.1); } +.input-field:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); } /* Toast */ .toast-message { transition: opacity 0.3s; } /* Nav active */ -.nav-link.active { background: rgba(249,115,22,0.15); color: #ea580c; font-weight: 600; } +.nav-link.active { background: rgba(59,130,246,0.15); color: #2563eb; font-weight: 600; } /* Stat card */ .stat-card { background: white; border-radius: 0.75rem; padding: 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,0.08); } @@ -57,7 +57,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; b /* Checklist tabs */ .checklist-tab { border-bottom-color: transparent; color: #6b7280; } .checklist-tab:hover { color: #374151; background: #f9fafb; } -.checklist-tab.active { border-bottom-color: #ea580c; color: #ea580c; font-weight: 600; } +.checklist-tab.active { border-bottom-color: #2563eb; color: #2563eb; font-weight: 600; } /* Responsive */ @media (max-width: 768px) { diff --git a/tksafety/web/static/js/tksafety-core.js b/tksafety/web/static/js/tksafety-core.js index 1f1a43a..5a41821 100644 --- a/tksafety/web/static/js/tksafety-core.js +++ b/tksafety/web/static/js/tksafety-core.js @@ -50,7 +50,7 @@ async function api(path, opts = {}) { function showToast(msg, type = 'success') { document.querySelector('.toast-message')?.remove(); const el = document.createElement('div'); - el.className = `toast-message fixed bottom-4 right-4 px-4 py-3 rounded-lg text-white z-[10000] shadow-lg ${type==='success'?'bg-orange-500':'bg-red-500'}`; + el.className = `toast-message fixed bottom-4 right-4 px-4 py-3 rounded-lg text-white z-[10000] shadow-lg ${type==='success'?'bg-blue-500':'bg-red-500'}`; el.innerHTML = `${escapeHtml(msg)}`; document.body.appendChild(el); setTimeout(() => { el.classList.add('opacity-0'); setTimeout(() => el.remove(), 300); }, 3000); diff --git a/tksafety/web/static/js/tksafety-training.js b/tksafety/web/static/js/tksafety-training.js index 6490420..7f49a7d 100644 --- a/tksafety/web/static/js/tksafety-training.js +++ b/tksafety/web/static/js/tksafety-training.js @@ -33,7 +33,7 @@ function renderPendingTraining() { ${r.visit_time ? String(r.visit_time).substring(0, 5) : '-'} ${escapeHtml(r.purpose_name || '-')} - diff --git a/tksafety/web/static/js/tksafety-visit.js b/tksafety/web/static/js/tksafety-visit.js index 93c6e62..643bfff 100644 --- a/tksafety/web/static/js/tksafety-visit.js +++ b/tksafety/web/static/js/tksafety-visit.js @@ -30,7 +30,7 @@ function renderVisitTable(visits) { tbody.innerHTML = visits.map(v => { const companyName = v.partner_company_name || v.company_name || '-'; const safetyIcon = v.safety_education_yn - ? '' + ? '' : ''; const actions = v.status === 'checked_in' ? `` @@ -75,7 +75,7 @@ function initCompanySearch() { dropdown.innerHTML = '
검색 결과 없음
'; } else { dropdown.innerHTML = items.map(c => - `
+ `
${escapeHtml(c.company_name)} ${c.business_number ? `${c.business_number}` : ''}
` diff --git a/tksafety/web/training.html b/tksafety/web/training.html index 3439fbf..b95aa19 100644 --- a/tksafety/web/training.html +++ b/tksafety/web/training.html @@ -10,17 +10,17 @@ -
+
- +

TK 안전관리

-
-
- +
-
+
@@ -35,7 +35,7 @@
-

안전교육 대기 (승인된 신청)

+

안전교육 대기 (승인된 신청)

@@ -58,7 +58,7 @@
-

교육 완료 이력

+

교육 완료 이력

@@ -125,7 +125,7 @@
-
diff --git a/tksafety/web/visit-management.html b/tksafety/web/visit-management.html index c370f16..a836633 100644 --- a/tksafety/web/visit-management.html +++ b/tksafety/web/visit-management.html @@ -10,17 +10,17 @@ -
+
- +

TK 안전관리

-
-
- +
-
+
@@ -56,7 +56,7 @@
-

출입 신청 관리

+

출입 신청 관리

@@ -77,7 +77,7 @@
-
diff --git a/tksafety/web/visit-request.html b/tksafety/web/visit-request.html index d2950b7..8379a4d 100644 --- a/tksafety/web/visit-request.html +++ b/tksafety/web/visit-request.html @@ -10,17 +10,17 @@ -
+
- +

TK 안전관리

-
-
- +
-
+
@@ -35,7 +35,7 @@
-

출입 신청

+

출입 신청

@@ -86,7 +86,7 @@
-
@@ -95,7 +95,7 @@
-

내 신청 현황

+

내 신청 현황