From 46cd98c6eaf945ad872d2e88cceb7b39d4df9444 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Mon, 30 Mar 2026 14:45:02 +0900 Subject: [PATCH] =?UTF-8?q?feat(dashboard):=20=EC=83=81=EB=8B=A8=20?= =?UTF-8?q?=ED=97=A4=EB=8D=94=20=EC=A0=9C=EA=B1=B0=20+=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=ED=95=84=20=EC=B9=B4=EB=93=9C=20=EB=82=B4=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=EC=95=84=EC=9B=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 상단 헤더 바 제거, 프로필 카드 우측 상단에 로그아웃 버튼 배치. 대시보드 페이지에서 깔끔한 레이아웃 유지. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../web/css/production-dashboard.css | 8 ++++++ .../web/js/production-dashboard.js | 3 ++ system1-factory/web/pages/dashboard-new.html | 28 +++---------------- 3 files changed, 15 insertions(+), 24 deletions(-) diff --git a/system1-factory/web/css/production-dashboard.css b/system1-factory/web/css/production-dashboard.css index d47b87f..308a529 100644 --- a/system1-factory/web/css/production-dashboard.css +++ b/system1-factory/web/css/production-dashboard.css @@ -6,7 +6,15 @@ .pd-profile-card { background: linear-gradient(135deg, #9a3412, #ea580c); color: white; border-radius: 16px; padding: 20px; margin-bottom: 16px; + position: relative; } +.pd-logout-btn { + position: absolute; top: 16px; right: 16px; + background: rgba(255,255,255,0.2); border: none; border-radius: 50%; + width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; + color: rgba(255,255,255,0.8); font-size: 14px; cursor: pointer; transition: background 0.15s; +} +.pd-logout-btn:hover { background: rgba(255,255,255,0.3); color: white; } .pd-profile-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; } .pd-avatar { width: 48px; height: 48px; border-radius: 50%; diff --git a/system1-factory/web/js/production-dashboard.js b/system1-factory/web/js/production-dashboard.js index a7163b8..4462df5 100644 --- a/system1-factory/web/js/production-dashboard.js +++ b/system1-factory/web/js/production-dashboard.js @@ -72,6 +72,9 @@ function renderDashboard(data) { const otDays = overtime.overtime_days; card.innerHTML = ` +
${escHtml(initial)}
diff --git a/system1-factory/web/pages/dashboard-new.html b/system1-factory/web/pages/dashboard-new.html index 5caf923..ee8da1c 100644 --- a/system1-factory/web/pages/dashboard-new.html +++ b/system1-factory/web/pages/dashboard-new.html @@ -7,31 +7,11 @@ - + -
-
-
-
- - - - -

TK 공장관리

-
-
- -
-
- -
-
-
-
+ + @@ -55,6 +35,6 @@ - +