모든 화면 크기에서 일관되고 안정적인 사용자 경험을 제공하도록 UI 컴포넌트를 전면 개선했습니다. 주요 변경사항: - 네비게이션 바: flex-wrap, rem 단위, sticky positioning 적용 - 사용자 정보 영역: max-width로 크기 제한, 텍스트 overflow 처리 - 공통 헤더: clamp()로 반응형 폰트, 반응형 패딩 적용 - 모든 관리 페이지: ES6 모듈 로딩 통일 (type="module") - 반응형 breakpoint: 1200px, 768px, 640px, 480px 개선 효과: ✅ 모든 페이지에서 일관된 헤더 표시 ✅ 사용자 정보 영역 늘어나는 문제 해결 ✅ 모든 화면 크기에서 최적화된 레이아웃 ✅ rem 단위 사용으로 접근성 개선 수정된 파일: - web-ui/components/navbar.html: 전면 리팩토링 - web-ui/css/common.css: 반응형 스타일 추가 - web-ui/pages/**/*.html: 모듈 로딩 및 버전 업데이트 (13개 파일) - web-ui/js/*.js: 모듈 시스템 개선 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
171 lines
6.3 KiB
HTML
171 lines
6.3 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/design-system.css">
|
||
<link rel="stylesheet" href="/css/daily-work-report.css">
|
||
<link rel="icon" type="image/png" href="/img/favicon.png">
|
||
|
||
<script type="module" src="/js/api-config.js?v=3"></script>
|
||
<script src="/js/auth-check.js" defer></script>
|
||
</head>
|
||
<body>
|
||
<div class="work-report-container">
|
||
<!-- 네비게이션 바 -->
|
||
<div id="navbar-container"></div>
|
||
|
||
<!-- 헤더 -->
|
||
<header class="work-report-header">
|
||
<h1 id="pageTitle">👤 개별 작업 보고서</h1>
|
||
<p class="subtitle" id="pageSubtitle">작업자의 일일 작업 내용을 입력하고 수정합니다.</p>
|
||
</header>
|
||
|
||
<!-- 메인 콘텐츠 -->
|
||
<main class="work-report-main">
|
||
<!-- 뒤로가기 버튼 -->
|
||
<a href="javascript:history.back()" class="back-button">
|
||
← 뒤로가기
|
||
</a>
|
||
|
||
<!-- 작업자 정보 카드 -->
|
||
<div class="worker-info-card" id="workerInfoCard">
|
||
<div class="worker-avatar-large">
|
||
<span id="workerInitial">작</span>
|
||
</div>
|
||
<div class="worker-info-details">
|
||
<h2 id="workerName">작업자명</h2>
|
||
<p id="workerJob">직종</p>
|
||
<p id="selectedDate">날짜</p>
|
||
</div>
|
||
<div class="worker-status-summary" id="workerStatusSummary">
|
||
<div class="status-item">
|
||
<span class="status-label">총 작업시간</span>
|
||
<span class="status-value" id="totalHours">0h</span>
|
||
</div>
|
||
<div class="status-item">
|
||
<span class="status-label">작업 건수</span>
|
||
<span class="status-value" id="workCount">0건</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 메시지 영역 -->
|
||
<div id="message-container"></div>
|
||
|
||
<!-- 기존 작업 목록 -->
|
||
<div class="existing-work-section" id="existingWorkSection">
|
||
<div class="section-header">
|
||
<h3>📋 기존 작업 목록</h3>
|
||
<button class="btn btn-primary" id="addNewWorkBtn">
|
||
➕ 새 작업 추가
|
||
</button>
|
||
</div>
|
||
<div id="existingWorkList">
|
||
<!-- 기존 작업들이 여기에 표시됩니다 -->
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 새 작업 추가 폼 -->
|
||
<div class="new-work-section" id="newWorkSection" style="display: none;">
|
||
<div class="section-header">
|
||
<h3>➕ 새 작업 추가</h3>
|
||
<button class="btn btn-secondary" id="cancelNewWorkBtn">
|
||
✖️ 취소
|
||
</button>
|
||
</div>
|
||
<div class="work-entry" id="newWorkEntry">
|
||
<div class="work-entry-grid">
|
||
<div class="form-field-group">
|
||
<label class="form-field-label">
|
||
<span class="form-field-icon">🏗️</span>
|
||
프로젝트
|
||
</label>
|
||
<select id="newProjectSelect" class="form-select" required>
|
||
<option value="">프로젝트를 선택하세요</option>
|
||
</select>
|
||
</div>
|
||
|
||
<div class="form-field-group">
|
||
<label class="form-field-label">
|
||
<span class="form-field-icon">⚙️</span>
|
||
작업 유형
|
||
</label>
|
||
<select id="newWorkTypeSelect" class="form-select" required>
|
||
<option value="">작업 유형을 선택하세요</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="form-field-group">
|
||
<label class="form-field-label">
|
||
<span class="form-field-icon">📊</span>
|
||
업무 상태
|
||
</label>
|
||
<select id="newWorkStatusSelect" class="form-select" required>
|
||
<option value="">업무 상태를 선택하세요</option>
|
||
</select>
|
||
</div>
|
||
|
||
<div class="error-type-section" id="newErrorTypeSection">
|
||
<label class="form-field-label">
|
||
<span class="form-field-icon">⚠️</span>
|
||
에러 유형
|
||
</label>
|
||
<select id="newErrorTypeSelect" class="form-select">
|
||
<option value="">에러 유형을 선택하세요</option>
|
||
</select>
|
||
</div>
|
||
|
||
<div class="time-input-section">
|
||
<label class="form-field-label">
|
||
<span class="form-field-icon">⏰</span>
|
||
작업 시간 (시간)
|
||
</label>
|
||
<input type="number" id="newWorkHours" class="time-input" step="0.25" min="0.25" max="24" value="1.00" required>
|
||
<div class="quick-time-buttons">
|
||
<button type="button" class="quick-time-btn" data-hours="0.5">0.5h</button>
|
||
<button type="button" class="quick-time-btn" data-hours="1">1h</button>
|
||
<button type="button" class="quick-time-btn" data-hours="2">2h</button>
|
||
<button type="button" class="quick-time-btn" data-hours="4">4h</button>
|
||
<button type="button" class="quick-time-btn" data-hours="8">8h</button>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="form-actions">
|
||
<button type="button" class="btn btn-success" id="saveNewWorkBtn">
|
||
💾 작업 저장
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 휴가 처리 섹션 -->
|
||
<div class="vacation-section" id="vacationSection">
|
||
<div class="section-header">
|
||
<h3>🏖️ 휴가 처리</h3>
|
||
</div>
|
||
<div class="vacation-buttons">
|
||
<button class="btn btn-warning vacation-process-btn" data-type="full">
|
||
🏖️ 연차 (8시간)
|
||
</button>
|
||
<button class="btn btn-warning vacation-process-btn" data-type="half-half">
|
||
🌤️ 반반차 (6시간)
|
||
</button>
|
||
<button class="btn btn-warning vacation-process-btn" data-type="half">
|
||
🌅 반차 (4시간)
|
||
</button>
|
||
</div>
|
||
</div>
|
||
|
||
</main>
|
||
</div>
|
||
|
||
<!-- 스크립트 -->
|
||
<script type="module" src="/js/load-navbar.js?v=5"></script>
|
||
<script type="module" src="/js/worker-individual-report.js?v=3"></script>
|
||
</body>
|
||
</html>
|