## 주요 변경사항
### 1. 미사용 페이지 아카이브 (24개)
- admin 폴더 전체 (8개) → .archived-admin/
- 분석 페이지 (5개) → .archived-*
- 공통 페이지 (5개) → .archived-*
- 대시보드 페이지 (2개) → .archived-*
- 기타 (4개) → .archived-*
### 2. 새로운 폴더 구조
```
pages/
├── dashboard.html (메인 대시보드)
├── work/ (작업 관련)
│ ├── report-create.html (작업보고서 작성)
│ ├── report-view.html (작업보고서 조회)
│ └── analysis.html (작업 분석)
├── admin/ (관리 기능)
│ ├── index.html (관리 메뉴 허브)
│ ├── projects.html (프로젝트 관리)
│ ├── workers.html (작업자 관리)
│ ├── codes.html (코드 관리)
│ └── accounts.html (계정 관리)
└── profile/ (프로필)
├── info.html (내 정보)
└── password.html (비밀번호 변경)
```
### 3. 파일명 개선
- group-leader.html → dashboard.html
- daily-work-report.html → work/report-create.html
- daily-work-report-viewer.html → work/report-view.html
- work-analysis.html → work/analysis.html
- work-management.html → admin/index.html
- project-management.html → admin/projects.html
- worker-management.html → admin/workers.html
- code-management.html → admin/codes.html
- my-profile.html → profile/info.html
- change-password.html → profile/password.html
- admin-settings.html → admin/accounts.html
### 4. 내부 링크 전면 수정
- navbar.html 프로필 메뉴 링크 업데이트
- dashboard.html 빠른 작업 링크 업데이트
- admin/* 페이지 간 링크 업데이트
- load-navbar.js 대시보드 경로 수정
영향받는 파일: 39개
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
317 lines
7.9 KiB
HTML
317 lines
7.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>👤 내 프로필 | (주)테크니컬코리아</title>
|
|
<link rel="stylesheet" href="/css/main-layout.css">
|
|
<script src="/js/auth-check.js" defer></script>
|
|
|
|
<style>
|
|
.profile-page {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.profile-header {
|
|
text-align: center;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.profile-avatar {
|
|
width: 120px;
|
|
height: 120px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 3rem;
|
|
color: white;
|
|
margin: 0 auto 20px;
|
|
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.profile-name {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: #333;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.profile-role {
|
|
font-size: 1.2rem;
|
|
color: #666;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.profile-cards {
|
|
display: grid;
|
|
gap: 24px;
|
|
}
|
|
|
|
.profile-card {
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 16px rgba(0,0,0,0.08);
|
|
padding: 28px;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.info-label {
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.info-value {
|
|
font-size: 1.05rem;
|
|
color: #333;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.action-btn {
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
text-decoration: none;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: #1976d2;
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: #1565c0;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: #f5f5f5;
|
|
color: #333;
|
|
border: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: #e0e0e0;
|
|
}
|
|
|
|
.btn-warning {
|
|
background: #ff9800;
|
|
color: white;
|
|
}
|
|
|
|
.btn-warning:hover {
|
|
background: #f57c00;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* 통계 카드 */
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: 16px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.stat-box {
|
|
background: #f5f5f5;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: #1976d2;
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.profile-page {
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
.profile-avatar {
|
|
width: 100px;
|
|
height: 100px;
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.profile-name {
|
|
font-size: 1.6rem;
|
|
}
|
|
|
|
.info-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.action-buttons {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.action-btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="main-layout-no-sidebar">
|
|
<div id="navbar-container"></div>
|
|
|
|
<div class="profile-page">
|
|
<div class="profile-header">
|
|
<div class="profile-avatar" id="profileAvatar">👤</div>
|
|
<h1 class="profile-name" id="profileName">사용자</h1>
|
|
<p class="profile-role" id="profileRole">역할</p>
|
|
</div>
|
|
|
|
<div class="profile-cards">
|
|
<!-- 기본 정보 -->
|
|
<div class="profile-card">
|
|
<h2 class="card-title">
|
|
<span>📋</span>
|
|
<span>기본 정보</span>
|
|
</h2>
|
|
<div class="info-grid">
|
|
<div class="info-item">
|
|
<span class="info-label">사용자 ID</span>
|
|
<span class="info-value" id="userId">-</span>
|
|
</div>
|
|
<div class="info-item">
|
|
<span class="info-label">사용자명</span>
|
|
<span class="info-value" id="username">-</span>
|
|
</div>
|
|
<div class="info-item">
|
|
<span class="info-label">이름</span>
|
|
<span class="info-value" id="fullName">-</span>
|
|
</div>
|
|
<div class="info-item">
|
|
<span class="info-label">권한 레벨</span>
|
|
<span class="info-value" id="accessLevel">-</span>
|
|
</div>
|
|
<div class="info-item">
|
|
<span class="info-label">작업자 ID</span>
|
|
<span class="info-value" id="workerId">-</span>
|
|
</div>
|
|
<div class="info-item">
|
|
<span class="info-label">가입일</span>
|
|
<span class="info-value" id="createdAt">-</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 활동 정보 -->
|
|
<div class="profile-card">
|
|
<h2 class="card-title">
|
|
<span>📊</span>
|
|
<span>활동 정보</span>
|
|
</h2>
|
|
<div class="info-grid">
|
|
<div class="info-item">
|
|
<span class="info-label">마지막 로그인</span>
|
|
<span class="info-value" id="lastLogin">-</span>
|
|
</div>
|
|
<div class="info-item">
|
|
<span class="info-label">이메일</span>
|
|
<span class="info-value" id="email">-</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 간단한 통계 (준비중) -->
|
|
<div class="stats-grid" style="margin-top: 24px; opacity: 0.5;">
|
|
<div class="stat-box">
|
|
<span class="stat-number">-</span>
|
|
<span class="stat-label">작업 보고서</span>
|
|
</div>
|
|
<div class="stat-box">
|
|
<span class="stat-number">-</span>
|
|
<span class="stat-label">이번 달 활동</span>
|
|
</div>
|
|
<div class="stat-box">
|
|
<span class="stat-number">-</span>
|
|
<span class="stat-label">팀 기여도</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 빠른 작업 -->
|
|
<div class="profile-card">
|
|
<h2 class="card-title">
|
|
<span>⚡</span>
|
|
<span>빠른 작업</span>
|
|
</h2>
|
|
<div class="action-buttons">
|
|
<a href="/pages/profile/change-password.html" class="action-btn btn-warning">
|
|
<span>🔐</span>
|
|
<span>비밀번호 변경</span>
|
|
</a>
|
|
<button class="action-btn btn-secondary" disabled>
|
|
<span>✏️</span>
|
|
<span>프로필 수정 (준비중)</span>
|
|
</button>
|
|
<button class="action-btn btn-secondary" disabled>
|
|
<span>⚙️</span>
|
|
<span>설정 (준비중)</span>
|
|
</button>
|
|
<a href="javascript:history.back()" class="action-btn btn-secondary">
|
|
<span>←</span>
|
|
<span>돌아가기</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="module" src="/js/load-navbar.js"></script>
|
|
<script type="module" src="/js/my-profile.js"></script>
|
|
</body>
|
|
</html> |