jamesLeeeeeee commited on
Commit
0f7d155
·
verified ·
1 Parent(s): 33ce322

샘플로 몇개 넣어서 확인가능해야하지 않을까?

Browse files
Files changed (4) hide show
  1. components/header.js +1 -0
  2. deployment.html +44 -4
  3. index.html +3 -0
  4. sample.html +263 -0
components/header.js CHANGED
@@ -48,6 +48,7 @@ class CustomHeader extends HTMLElement {
48
  <a href="/deployment.html" class="nav-link font-medium">작업 배포</a>
49
  <a href="/admin-detail.html" class="nav-link font-medium">관리 상세</a>
50
  <a href="/worker.html" class="nav-link font-medium">작업자</a>
 
51
  </div>
52
  <div class="flex items-center space-x-4">
53
  <button class="bg-undefined-500 hover:bg-undefined-600 text-white px-4 py-2 rounded-full text-sm font-medium transition-all duration-300">
 
48
  <a href="/deployment.html" class="nav-link font-medium">작업 배포</a>
49
  <a href="/admin-detail.html" class="nav-link font-medium">관리 상세</a>
50
  <a href="/worker.html" class="nav-link font-medium">작업자</a>
51
+ <a href="/sample.html" class="nav-link font-medium">샘플 데이터</a>
52
  </div>
53
  <div class="flex items-center space-x-4">
54
  <button class="bg-undefined-500 hover:bg-undefined-600 text-white px-4 py-2 rounded-full text-sm font-medium transition-all duration-300">
deployment.html CHANGED
@@ -82,30 +82,70 @@
82
  <!-- 대기 문서 -->
83
  <div class="bg-gray-50 rounded-xl p-4">
84
  <h3 class="font-semibold text-gray-800 mb-4 text-center">대기 문서 📥</h3>
85
- <div id="waitingColumn" class="space-y-4 min-h-96">
 
 
 
 
 
 
 
 
 
86
  </div>
87
  </div>
 
88
 
89
  <!-- 배포 중 -->
90
  <div class="bg-blue-50 rounded-xl p-4">
91
  <h3 class="font-semibold text-blue-800 mb-4 text-center">배포 중 🚀</h3>
92
- <div id="deployingColumn" class="space-y-4 min-h-96">
 
 
 
 
 
 
 
 
 
93
  </div>
94
  </div>
 
95
 
96
  <!-- 진행 중 -->
97
  <div class="bg-yellow-50 rounded-xl p-4">
98
  <h3 class="font-semibold text-yellow-800 mb-4 text-center">진행 중 ⚡</h3>
99
- <div id="progressColumn" class="space-y-4 min-h-96">
 
 
 
 
 
 
 
 
 
100
  </div>
101
  </div>
 
102
 
103
  <!-- 완료 -->
104
  <div class="bg-green-50 rounded-xl p-4">
105
  <h3 class="font-semibold text-green-800 mb-4 text-center">완료 ✅</h3>
106
- <div id="completedColumn" class="space-y-4 min-h-96">
 
 
 
 
 
 
 
 
 
107
  </div>
108
  </div>
 
109
  </div>
110
  </main>
111
 
 
82
  <!-- 대기 문서 -->
83
  <div class="bg-gray-50 rounded-xl p-4">
84
  <h3 class="font-semibold text-gray-800 mb-4 text-center">대기 문서 📥</h3>
85
+ <div id="waitingColumn" class="space-y-4 min-h-96">
86
+ <div class="document-card bg-white rounded-lg p-4 shadow-md border border-gray-200 cursor-move" draggable="true" data-document-id="1">
87
+ <div class="flex justify-between items-start mb-2">
88
+ <span class="text-sm font-medium text-gray-700">건축 도면 #2456</span>
89
+ <span class="priority-badge bg-red-100 text-red-800 px-2 py-1 rounded-full text-xs">높음</span>
90
+ </div>
91
+ <div class="text-xs text-gray-500 mb-2">도면</div>
92
+ <div class="flex justify-between items-center">
93
+ <span class="text-xs text-gray-400">마감: 2024-03-15</span>
94
+ <button class="worker-select-btn text-xs bg-primary-500 text-white px-2 py-1 rounded">작업자 선택</button>
95
  </div>
96
  </div>
97
+ </div>
98
 
99
  <!-- 배포 중 -->
100
  <div class="bg-blue-50 rounded-xl p-4">
101
  <h3 class="font-semibold text-blue-800 mb-4 text-center">배포 중 🚀</h3>
102
+ <div id="deployingColumn" class="space-y-4 min-h-96">
103
+ <div class="document-card bg-white rounded-lg p-4 shadow-md border border-gray-200 cursor-move" draggable="true" data-document-id="2">
104
+ <div class="flex justify-between items-start mb-2">
105
+ <span class="text-sm font-medium text-gray-700">시공 계획서 #1890</span>
106
+ <span class="priority-badge bg-yellow-100 text-yellow-800 px-2 py-1 rounded-full text-xs">보통</span>
107
+ </div>
108
+ <div class="text-xs text-gray-500 mb-2">계획서</div>
109
+ <div class="flex justify-between items-center">
110
+ <span class="text-xs text-gray-400">마감: 2024-03-20</span>
111
+ <button class="worker-select-btn text-xs bg-primary-500 text-white px-2 py-1 rounded">재배포</button>
112
  </div>
113
  </div>
114
+ </div>
115
 
116
  <!-- 진행 중 -->
117
  <div class="bg-yellow-50 rounded-xl p-4">
118
  <h3 class="font-semibold text-yellow-800 mb-4 text-center">진행 중 ⚡</h3>
119
+ <div id="progressColumn" class="space-y-4 min-h-96">
120
+ <div class="document-card bg-white rounded-lg p-4 shadow-md border border-gray-200 cursor-move" draggable="true" data-document-id="3">
121
+ <div class="flex justify-between items-start mb-2">
122
+ <span class="text-sm font-medium text-gray-700">공사 명세서 #3124</span>
123
+ <span class="priority-badge bg-green-100 text-green-800 px-2 py-1 rounded-full text-xs">낮음</span>
124
+ </div>
125
+ <div class="text-xs text-gray-500 mb-2">명세서</div>
126
+ <div class="flex justify-between items-center">
127
+ <span class="text-xs text-gray-400">마감: 2024-03-25</span>
128
+ <button class="worker-select-btn text-xs bg-primary-500 text-white px-2 py-1 rounded">작업자 변경</button>
129
  </div>
130
  </div>
131
+ </div>
132
 
133
  <!-- 완료 -->
134
  <div class="bg-green-50 rounded-xl p-4">
135
  <h3 class="font-semibold text-green-800 mb-4 text-center">완료 ✅</h3>
136
+ <div id="completedColumn" class="space-y-4 min-h-96">
137
+ <div class="document-card bg-white rounded-lg p-4 shadow-md border border-gray-200 cursor-move" draggable="true" data-document-id="4">
138
+ <div class="flex justify-between items-start mb-2">
139
+ <span class="text-sm font-medium text-gray-700">안전 계획서 #4567</span>
140
+ <span class="priority-badge bg-red-100 text-red-800 px-2 py-1 rounded-full text-xs">높음</span>
141
+ </div>
142
+ <div class="text-xs text-gray-500 mb-2">계획서</div>
143
+ <div class="flex justify-between items-center">
144
+ <span class="text-xs text-gray-400">마감: 2024-03-12</span>
145
+ <button class="worker-select-btn text-xs bg-primary-500 text-white px-2 py-1 rounded">검수 대기</button>
146
  </div>
147
  </div>
148
+ </div>
149
  </div>
150
  </main>
151
 
index.html CHANGED
@@ -86,6 +86,9 @@
86
  <a href="/worker.html" class="bg-green-500 hover:bg-green-600 text-white px-8 py-3 rounded-full font-semibold transition-all duration-300 transform hover:scale-105">
87
  작업자 로그인
88
  </a>
 
 
 
89
  </div>
90
  </div>
91
  </main>
 
86
  <a href="/worker.html" class="bg-green-500 hover:bg-green-600 text-white px-8 py-3 rounded-full font-semibold transition-all duration-300 transform hover:scale-105">
87
  작업자 로그인
88
  </a>
89
+ <a href="/sample.html" class="bg-purple-500 hover:bg-purple-600 text-white px-8 py-3 rounded-full font-semibold transition-all duration-300 transform hover:scale-105">
90
+ 샘플 데이터
91
+ </a>
92
  </div>
93
  </div>
94
  </main>
sample.html ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="ko">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>샘플 데이터 - OCR 정밀 교정 공방</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <link rel="stylesheet" href="style.css">
9
+ <script src="https://cdn.tailwindcss.com"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script>
12
+ tailwind.config = {
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ 'primary': {
17
+ 50: '#f0f9ff',
18
+ 100: '#e0f2fe',
19
+ 200: '#bae6fd',
20
+ 300: '#7dd3fc',
21
+ 400: '#38bdf8',
22
+ 500: '#0ea5e9',
23
+ 600: '#0284c7',
24
+ 700: '#0369a1',
25
+ 800: '#075985',
26
+ 900: '#0c4a6e',
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ </script>
33
+ </head>
34
+ <body class="bg-gradient-to-br from-primary-50 to-primary-100 min-h-screen">
35
+ <custom-header></custom-header>
36
+
37
+ <main class="container mx-auto px-4 py-8">
38
+ <div class="text-center mb-12">
39
+ <h1 class="text-4xl font-bold text-primary-900 mb-4">샘플 데이터 📊</h1>
40
+ <p class="text-lg text-primary-700 max-w-2xl mx-auto">
41
+ 실제 작업 환경을 경험할 수 있는 샘플 데이터입니다. OCR 텍스트 수정과 공정/공종 라벨링을 연습해보세요.
42
+ </p>
43
+ </div>
44
+
45
+ <!-- 샘플 문서 섹션 -->
46
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-12">
47
+ <!-- 샘플 1 -->
48
+ <div class="bg-white/80 backdrop-blur-sm rounded-2xl p-6 shadow-lg border border-primary-200">
49
+ <div class="w-12 h-12 bg-primary-500 rounded-full flex items-center justify-center mb-4">
50
+ <i data-feather="file-text" class="text-white"></i>
51
+ </div>
52
+ <h3 class="text-xl font-semibold text-primary-900 mb-2">건축 도면 샘플</h3>
53
+ <p class="text-primary-700 mb-4">건축 도면에서 추출된 OCR 텍스트를 수정하고 공종을 라벨링합니다.</p>
54
+ <div class="ocr-container mb-4">
55
+ <div class="ocr-text-area">
56
+ 건축허가 신청서
57
+
58
+ 신청인: 홍길동
59
+ 주소: 서울시 강남구 테헤란로 123
60
+
61
+ 건물용도: 업무시설
62
+ 대지면적: 1,200㎡
63
+ 건축면적: 800㎡
64
+ 연면적: 3,600㎡
65
+
66
+ 구조: 철근콘크리트조
67
+ 규모: 지하 2층, 지상 10층
68
+
69
+ 공사개요:
70
+ - 지하주차장 시설
71
+ - 친환경 설계 적용
72
+ - 지진에 강한 구조 설계
73
+
74
+ 허가신청일: 2024년 3월 1일
75
+ </div>
76
+ </div>
77
+ <div class="space-y-3">
78
+ <div>
79
+ <label class="block text-sm text-primary-600 mb-1">공정 선택</label>
80
+ <select class="process-select">
81
+ <option>기본설계</option>
82
+ <option>실시설계</option>
83
+ <option>인허가</option>
84
+ <option>공사준비</option>
85
+ <option>시공</option>
86
+ <option>준공검사</option>
87
+ </select>
88
+ </div>
89
+ <div>
90
+ <label class="block text-sm text-primary-600 mb-1">공종 선택</label>
91
+ <select class="process-select">
92
+ <option>토공사</option>
93
+ <option>콘크리트공사</option>
94
+ <option>철근공사</option>
95
+ <option>목공사</option>
96
+ <option>도장공사</option>
97
+ </select>
98
+ </div>
99
+ <button class="w-full bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 rounded-lg font-medium transition-all duration-300">
100
+ 샘플 작업 시작
101
+ </button>
102
+ </div>
103
+ </div>
104
+ </div>
105
+
106
+ <!-- 샘플 2 -->
107
+ <div class="bg-white/80 backdrop-blur-sm rounded-2xl p-6 shadow-lg border border-primary-200">
108
+ <div class="w-12 h-12 bg-green-500 rounded-full flex items-center justify-center mb-4">
109
+ <i data-feather="clipboard" class="text-white"></i>
110
+ </div>
111
+ <h3 class="text-xl font-semibold text-primary-900 mb-2">시공 계획서 샘플</h3>
112
+ <p class="text-primary-700 mb-4">시공 계획서의 OCR 텍스트를 교정하고 적절한 공정을 라벨링합니다.</p>
113
+ <div class="ocr-container mb-4">
114
+ <div class="ocr-text-area">
115
+ 시공계획서
116
+
117
+ 프로젝트명: ABC 빌딩 신축공사
118
+ 시공사: ㈜한국건설
119
+ 공사기간: 2024.03.01 ~ 2024.12.31
120
+
121
+ 주요공정:
122
+ 1. 가설공사 (3월)
123
+ 2. 토목공사 (4월~5월)
124
+ 3. 건축공사 (6월~11월)
125
+ 4. 마감공사 (12월)
126
+
127
+ 안전관리계획:
128
+ - 주간 안전회의
129
+ - 정기 안전점검
130
+ - 안전교육 실시
131
+
132
+ 품질관리계획:
133
+ - 자재검수
134
+ - 공정별 검사
135
+ - 최종 검수
136
+ </div>
137
+ </div>
138
+ <div class="space-y-3">
139
+ <div>
140
+ <label class="block text-sm text-primary-600 mb-1">공정 선택</label>
141
+ <select class="process-select">
142
+ <option>가설공사</option>
143
+ <option>토목공사</option>
144
+ <option>건축공사</option>
145
+ <option>마감공사</option>
146
+ <option>준공검사</option>
147
+ </select>
148
+ </div>
149
+ <div>
150
+ <label class="block text-sm text-primary-600 mb-1">공종 선택</label>
151
+ <select class="process-select">
152
+ <option>가설공사</option>
153
+ <option>토공사</option>
154
+ <option>콘크리트공사</option>
155
+ <option>철근공사</option>
156
+ <option>방수공사</option>
157
+ </select>
158
+ </div>
159
+ <button class="w-full bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-lg font-medium transition-all duration-300">
160
+ 샘플 작업 시작
161
+ </button>
162
+ </div>
163
+ </div>
164
+ </div>
165
+
166
+ <!-- 샘플 3 -->
167
+ <div class="bg-white/80 backdrop-blur-sm rounded-2xl p-6 shadow-lg border border-primary-200">
168
+ <div class="w-12 h-12 bg-yellow-500 rounded-full flex items-center justify-center mb-4">
169
+ <i data-feather="trending-up" class="text-white"></i>
170
+ </div>
171
+ <h3 class="text-xl font-semibold text-primary-900 mb-2">공사 명세서 샘플</h3>
172
+ <p class="text-primary-700 mb-4">공사 명세서의 OCR 텍스트를 정밀하게 수정합니다.</p>
173
+ <div class="ocr-container mb-4">
174
+ <div class="ocr-text-area">
175
+ 공사명세서
176
+
177
+ 공사명: XYZ 아파트 리모델링
178
+ 시공사: ㈜대한건설
179
+ 공사기간: 2024.04.01 ~ 2024.10.31
180
+
181
+ 시방서:
182
+ - 콘크리트: 24MPa 이상
183
+ - 철근: SD400
184
+ - 도장: 아크릴 수성페인트
185
+
186
+ 공사비 내역:
187
+ 1. 가설비: 50,000,000원
188
+ 2. 자재비: 800,000,000원
189
+ 3. 인건비: 350,000,000원
190
+ 4. 경비: 100,000,000원
191
+
192
+ 총 공사비: 1,300,000,000원
193
+ </div>
194
+ </div>
195
+ <div class="space-y-3">
196
+ <div>
197
+ <label class="block text-sm text-primary-600 mb-1">공정 선택</label>
198
+ <select class="process-select">
199
+ <option>설계</option>
200
+ <option>자재조달</option>
201
+ <option>시공</option>
202
+ <option>마감</option>
203
+ <option>검수</option>
204
+ </select>
205
+ </div>
206
+ <div>
207
+ <label class="block text-sm text-primary-600 mb-1">공종 선택</label>
208
+ <select class="process-select">
209
+ <option>철근공사</option>
210
+ <option>콘크리트공사</option>
211
+ <option>타일공사</option>
212
+ <option>도장공사</option>
213
+ <option>전기공사</option>
214
+ </select>
215
+ </div>
216
+ <button class="w-full bg-yellow-500 hover:bg-yellow-600 text-white px-4 py-2 rounded-lg font-medium transition-all duration-300">
217
+ 샘플 작업 시작
218
+ </button>
219
+ </div>
220
+ </div>
221
+ </div>
222
+ </div>
223
+
224
+ <!-- 작업 진행률 샘플 -->
225
+ <div class="bg-white rounded-2xl p-8 shadow-lg border border-primary-200">
226
+ <h2 class="text-2xl font-bold text-primary-900 mb-6 text-center">샘플 작업 진행률 📈</h2>
227
+ <div class="space-y-6">
228
+ <div>
229
+ <div class="flex justify-between mb-2">
230
+ <span class="text-primary-700">건축 도면 샘플</span>
231
+ <span class="text-primary-700 font-medium">75%</span>
232
+ </div>
233
+ <div class="w-full bg-primary-200 rounded-full h-3">
234
+ <div class="bg-primary-500 h-3 rounded-full" style="width: 75%"></div>
235
+ </div>
236
+ <div>
237
+ <div class="flex justify-between mb-2">
238
+ <span class="text-primary-700">시공 계획서 샘플</span>
239
+ <span class="text-primary-700 font-medium">50%</span>
240
+ </div>
241
+ <div class="w-full bg-primary-200 rounded-full h-3">
242
+ <div class="bg-primary-500 h-3 rounded-full" style="width: 50%"></div>
243
+ </div>
244
+ <div>
245
+ <div class="flex justify-between mb-2">
246
+ <span class="text-primary-700">공사 명세서 샘플</span>
247
+ <span class="text-primary-700 font-medium">25%</span>
248
+ </div>
249
+ <div class="w-full bg-primary-200 rounded-full h-3">
250
+ <div class="bg-primary-500 h-3 rounded-full" style="width: 25%"></div>
251
+ </div>
252
+ </div>
253
+ </div>
254
+ </main>
255
+
256
+ <custom-footer></custom-footer>
257
+
258
+ <script src="components/header.js"></script>
259
+ <script src="components/footer.js"></script>
260
+ <script src="script.js"></script>
261
+ <script>feather.replace();</script>
262
+ </body>
263
+ </html>