feat(mgmt-perf): 업로드 영역 하단 배치, 업로드 삭제 API, 앱 내 밝은 배경

- 대시보드 조회를 위·엑셀 업로드를 아래로 재배치
- DELETE /api/mgmt-perf/upload/:id 및 최근 업로드 행 삭제 버튼
- dashboard.css 전역 body 어두운 배경을 body.mgmt-perf-standalone로 한정, 임베드는 투명
- mgmt_perf_embed에 standalone 클래스 유지

Made-with: Cursor
This commit is contained in:
2026-04-13 19:43:57 +09:00
parent 200632f580
commit 90358f05a7
6 changed files with 163 additions and 24 deletions

View File

@@ -18,12 +18,14 @@
--orange: #ff9800;
}
body {
/* 앱 셸(/dashboard/business-performance)에서는 styles.css의 body 배경을 쓰고, 단독 임베드 페이지에만 어두운 배경 */
body.mgmt-perf-standalone {
font-family: '맑은 고딕', 'Apple SD Gothic Neo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: linear-gradient(135deg, var(--blk) 0%, var(--blk2) 100%);
color: var(--blk);
line-height: 1.6;
padding: 20px;
min-height: 100vh;
}
.container {
@@ -412,12 +414,17 @@
}
.mgmt-perf-embed {
font-family: '맑은 고딕', 'Apple SD Gothic Neo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: linear-gradient(135deg, var(--blk) 0%, var(--blk2) 100%);
background: transparent;
color: var(--blk);
line-height: 1.6;
padding: 0;
border-radius: 0;
overflow-x: auto;
}
body.mgmt-perf-standalone .mgmt-perf-embed {
padding: 16px;
border-radius: 10px;
overflow-x: auto;
}
.mgmt-perf-embed .chart-wrapper {