## 주요 변경사항
### 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>
174 lines
7.4 KiB
HTML
174 lines
7.4 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/common.css?v=1">
|
||
<link rel="stylesheet" href="/css/admin-settings.css?v=1">
|
||
<link rel="icon" type="image/png" href="/img/favicon.png">
|
||
<script src="/js/auth-check.js" defer></script>
|
||
</head>
|
||
<body>
|
||
<div class="work-report-container">
|
||
<!-- 네비게이션 바 -->
|
||
<div id="navbar-container"></div>
|
||
|
||
<!-- 메인 콘텐츠 -->
|
||
<main class="work-report-main">
|
||
<div class="dashboard-main">
|
||
<div class="page-header">
|
||
<div class="page-title-section">
|
||
<h1 class="page-title">
|
||
<span class="title-icon">⚙️</span>
|
||
관리자 설정
|
||
</h1>
|
||
<p class="page-description">시스템 사용자 계정 및 권한을 관리합니다</p>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 사용자 관리 섹션 -->
|
||
<div class="settings-section">
|
||
<div class="section-header">
|
||
<h2 class="section-title">
|
||
<span class="section-icon">👥</span>
|
||
사용자 계정 관리
|
||
</h2>
|
||
<button class="btn btn-primary" id="addUserBtn">
|
||
<span class="btn-icon">➕</span>
|
||
새 사용자 추가
|
||
</button>
|
||
</div>
|
||
|
||
<div class="users-container">
|
||
<div class="users-header">
|
||
<div class="search-box">
|
||
<input type="text" id="userSearch" placeholder="사용자 검색..." class="search-input">
|
||
<span class="search-icon">🔍</span>
|
||
</div>
|
||
<div class="filter-buttons">
|
||
<button class="filter-btn active" data-filter="all">전체</button>
|
||
<button class="filter-btn" data-filter="admin">관리자</button>
|
||
<button class="filter-btn" data-filter="leader">그룹장</button>
|
||
<button class="filter-btn" data-filter="user">작업자</button>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="users-table-container">
|
||
<table class="users-table">
|
||
<thead>
|
||
<tr>
|
||
<th>사용자명</th>
|
||
<th>아이디</th>
|
||
<th>역할</th>
|
||
<th>상태</th>
|
||
<th>최종 로그인</th>
|
||
<th>관리</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody id="usersTableBody">
|
||
<!-- 사용자 목록이 여기에 동적으로 생성됩니다 -->
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="empty-state" id="emptyState" style="display: none;">
|
||
<div class="empty-icon">👥</div>
|
||
<h3>등록된 사용자가 없습니다</h3>
|
||
<p>새 사용자를 추가해보세요.</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</main>
|
||
</div>
|
||
|
||
<!-- 사용자 추가/수정 모달 -->
|
||
<div id="userModal" class="modal-overlay" style="display: none;">
|
||
<div class="modal-container">
|
||
<div class="modal-header">
|
||
<h2 id="modalTitle">새 사용자 추가</h2>
|
||
<button class="modal-close-btn" onclick="closeUserModal()">×</button>
|
||
</div>
|
||
|
||
<div class="modal-body">
|
||
<form id="userForm">
|
||
<div class="form-group">
|
||
<label class="form-label">사용자명 *</label>
|
||
<input type="text" id="userName" class="form-control" required>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label class="form-label">아이디 *</label>
|
||
<input type="text" id="userId" class="form-control" required>
|
||
<small class="form-help">영문, 숫자만 사용 가능 (4-20자)</small>
|
||
</div>
|
||
|
||
<div class="form-group" id="passwordGroup">
|
||
<label class="form-label">비밀번호 *</label>
|
||
<input type="password" id="userPassword" class="form-control" required>
|
||
<small class="form-help">최소 6자 이상</small>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label class="form-label">역할 *</label>
|
||
<select id="userRole" class="form-control" required>
|
||
<option value="">역할 선택</option>
|
||
<option value="admin">관리자</option>
|
||
<option value="leader">그룹장</option>
|
||
<option value="user">작업자</option>
|
||
</select>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label class="form-label">이메일</label>
|
||
<input type="email" id="userEmail" class="form-control">
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label class="form-label">전화번호</label>
|
||
<input type="tel" id="userPhone" class="form-control">
|
||
</div>
|
||
</form>
|
||
</div>
|
||
|
||
<div class="modal-footer">
|
||
<button type="button" class="btn btn-secondary" onclick="closeUserModal()">취소</button>
|
||
<button type="button" class="btn btn-primary" id="saveUserBtn">저장</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 사용자 삭제 확인 모달 -->
|
||
<div id="deleteModal" class="modal-overlay" style="display: none;">
|
||
<div class="modal-container small">
|
||
<div class="modal-header">
|
||
<h2>사용자 삭제</h2>
|
||
<button class="modal-close-btn" onclick="closeDeleteModal()">×</button>
|
||
</div>
|
||
|
||
<div class="modal-body">
|
||
<div class="delete-warning">
|
||
<div class="warning-icon">⚠️</div>
|
||
<p>정말로 이 사용자를 삭제하시겠습니까?</p>
|
||
<p class="warning-text">삭제된 사용자는 복구할 수 없습니다.</p>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="modal-footer">
|
||
<button type="button" class="btn btn-secondary" onclick="closeDeleteModal()">취소</button>
|
||
<button type="button" class="btn btn-danger" id="confirmDeleteBtn">삭제</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 토스트 알림 -->
|
||
<div class="toast-container" id="toastContainer"></div>
|
||
|
||
<!-- JavaScript -->
|
||
<script type="module" src="/js/api-config.js?v=13"></script>
|
||
<script type="module" src="/js/load-navbar.js?v=4"></script>
|
||
<script src="/js/admin-settings.js?v=5"></script>
|
||
</body>
|
||
</html>
|