File size: 8,018 Bytes
6cd201c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>OCR 작업자 대시보드 - OCR 정밀 교정 공방</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        'primary': {
                            50: '#f0f9ff',
                            100: '#e0f2fe',
                            200: '#bae6fd',
                            300: '#7dd3fc',
                            400: '#38bdf8',
                            500: '#0ea5e9',
                            600: '#0284c7',
                            700: '#0369a1',
                            800: '#075985',
                            900: '#0c4a6e',
                        }
                    }
                }
            }
        }
    </script>
</head>
<body class="bg-gradient-to-br from-primary-50 to-primary-100 min-h-screen">
    <custom-header></custom-header>
    
    <main class="container mx-auto px-4 py-8">
        <div class="text-center mb-12">
            <h1 class="text-4xl font-bold text-primary-900 mb-4">OCR 작업자 대시보드 🛠️</h1>
            <p class="text-lg text-primary-700 max-w-2xl mx-auto">
                OCR 텍스트 수정, 공정/공종 라벨링, 작업 진행률 모니터링을 위한 작업자 전용 페이지입니다.
            </p>
        </div>

        <!-- 개인 통계 -->
        <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
            <div class="bg-white rounded-xl p-6 shadow-lg border border-primary-200">
                <div class="flex items-center">
                    <div class="w-12 h-12 bg-primary-500 rounded-full flex items-center justify-center mr-4">
                        <i data-feather="list" class="text-white"></i>
                    </div>
                    <div>
                        <h3 class="text-2xl font-bold text-primary-900">15</h3>
                        <p class="text-primary-600 text-sm">할당된 작업</p>
                    </div>
                </div>
            </div>

            <div class="bg-white rounded-xl p-6 shadow-lg border border-primary-200">
                <div class="flex items-center">
                    <div class="w-12 h-12 bg-yellow-500 rounded-full flex items-center justify-center mr-4">
                        <i data-feather="edit" class="text-white"></i>
                    </div>
                    <div>
                        <h3 class="text-2xl font-bold text-primary-900">8</h3>
                        <p class="text-primary-600 text-sm">진행 중 작업</p>
                    </div>
                </div>
            </div>

            <div class="bg-white rounded-xl p-6 shadow-lg border border-primary-200">
                <div class="flex items-center">
                    <div class="w-12 h-12 bg-green-500 rounded-full flex items-center justify-center mr-4">
                        <i data-feather="check" class="text-white"></i>
                    </div>
                    <div>
                        <h3 class="text-2xl font-bold text-primary-900">7</h3>
                        <p class="text-primary-600 text-sm">완료된 작업</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- 작업 기능 섹션 -->
        <div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-12">
            <!-- OCR 수정 작업 -->
            <div class="bg-white/80 backdrop-blur-sm rounded-2xl p-6 shadow-lg border border-primary-200">
                <div class="w-16 h-16 bg-primary-500 rounded-full flex items-center justify-center mb-4 mx-auto">
                    <i data-feather="edit-3" class="text-white text-xl"></i>
                </div>
                <h3 class="text-xl font-semibold text-primary-900 mb-2 text-center">OCR 텍스트 수정</h3>
                <p class="text-primary-700 mb-6 text-center">OCR로 추출된 텍스트의 오류를 수정하고 정확성을 높입니다.</p>
                <div class="space-y-4">
                    <div class="bg-primary-50 rounded-lg p-4">
                        <h4 class="font-medium text-primary-800 mb-2">진행 중인 작업</h4>
                        <div class="flex justify-between items-center">
                            <span class="text-sm text-primary-600">문서 #2456 - 건축 도면</span>
                        </div>
                    </div>
                    <button class="w-full bg-primary-500 hover:bg-primary-600 text-white px-4 py-3 rounded-lg font-medium transition-all duration-300 transform hover:scale-105">
                        작업 시작하기
                    </button>
                </div>
            </div>

            <!-- 공정/공종 라벨링 -->
            <div class="bg-white/80 backdrop-blur-sm rounded-2xl p-6 shadow-lg border border-primary-200">
                <div class="w-16 h-16 bg-green-500 rounded-full flex items-center justify-center mb-4 mx-auto">
                    <i data-feather="tag" class="text-white text-xl"></i>
                </div>
                <h3 class="text-xl font-semibold text-primary-900 mb-2 text-center">공정/공종 라벨링</h3>
                <p class="text-primary-700 mb-6 text-center">문서 내용에 맞는 공정과 공종을 선택하여 라벨을 추가합니다.</p>
                <div class="space-y-4">
                    <div class="bg-green-50 rounded-lg p-4">
                        <h4 class="font-medium text-primary-800 mb-2">완료 대기 작업</h4>
                        <div class="flex justify-between items-center">
                            <span class="text-sm text-primary-600">문서 #1890 - 시공 계획서</span>
                        </div>
                    </div>
                    <button class="w-full bg-green-500 hover:bg-green-600 text-white px-4 py-3 rounded-lg font-medium transition-all duration-300 transform hover:scale-105">
                            라벨링 시작하기
                        </button>
                    </div>
                </div>
            </div>
        </div>

        <!-- 작업 진행률 -->
        <div class="bg-white rounded-2xl p-8 shadow-lg border border-primary-200 mb-8">
            <h2 class="text-2xl font-bold text-primary-900 mb-6 text-center">나의 작업 진행률 📊</h2>
            <div class="space-y-6">
                <div>
                    <div class="flex justify-between mb-2">
                        <span class="text-primary-700">문서 #2456 - 건축 도면</span>
                    <span class="text-primary-700 font-medium">65%</span>
                    </div>
                    <div class="w-full bg-primary-200 rounded-full h-3">
                        <div class="bg-primary-500 h-3 rounded-full" style="width: 65%"></div>
                    </div>
                </div>
                <div>
                    <div class="flex justify-between mb-2">
                        <span class="text-primary-700">문서 #1890 - 시공 계획서</span>
                        <span class="text-primary-700 font-medium">40%</span>
                    </div>
                    <div class="w-full bg-primary-200 rounded-full h-3">
                        <div class="bg-primary-500 h-3 rounded-full" style="width: 40%"></div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <custom-footer></custom-footer>

    <script src="components/header.js"></script>
    <script src="components/footer.js"></script>
    <script src="script.js"></script>
    <script>feather.replace();</script>
</body>
</html>