File size: 19,877 Bytes
4c55146
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Feature Progress Visualization</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
</head>
<body class="bg-gray-50 min-h-screen">
    <custom-navbar></custom-navbar>
    
    <main class="container mx-auto px-4 py-12">
        <div class="text-center mb-12">
            <h1 class="text-4xl font-bold text-primary-600 mb-2">Recruitment System Dashboard</h1>
            <p class="text-xl text-gray-600">Feature progress tracking and roadmap visualization</p>
        </div>

        <div class="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-12">
            <!-- Status Overview -->
            <div class="bg-white rounded-xl shadow-lg p-6">
                <h2 class="text-2xl font-bold text-gray-800 mb-4">Completion Status</h2>
                <div class="h-48">
                    <canvas id="completionChart"></canvas>
                </div>
            </div>

            <!-- Priority Distribution -->
            <div class="bg-white rounded-xl shadow-lg p-6">
                <h2 class="text-2xl font-bold text-gray-800 mb-4">Priority Distribution</h2>
                <div class="h-48">
                    <canvas id="priorityChart"></canvas>
                </div>
            </div>

            <!-- Timeline Progress -->
            <div class="bg-white rounded-xl shadow-lg p-6">
                <h2 class="text-2xl font-bold text-gray-800 mb-4">Timeline Progress</h2>
                <div class="h-48">
                    <canvas id="timelineChart"></canvas>
                </div>
            </div>
        </div>

        <!-- Feature Roadmap -->
        <div class="bg-white rounded-xl shadow-lg overflow-hidden mb-12">
            <div class="p-6 border-b border-gray-200">
                <h2 class="text-2xl font-bold text-gray-800">Feature Roadmap</h2>
            </div>
            <div class="overflow-x-auto">
                <table class="w-full">
                    <thead class="bg-gray-100">
                        <tr>
                            <th class="px-6 py-4 text-left text-sm font-semibold text-gray-700">ID</th>
                            <th class="px-6 py-4 text-left text-sm font-semibold text-gray-700">Feature</th>
                            <th class="px-6 py-4 text-left text-sm font-semibold text-gray-700">Description</th>
                            <th class="px-6 py-4 text-left text-sm font-semibold text-gray-700">Status</th>
                            <th class="px-6 py-4 text-left text-sm font-semibold text-gray-700">Priority</th>
                            <th class="px-6 py-4 text-left text-sm font-semibold text-gray-700">Progress</th>
                        </tr>
                    </thead>
                    <tbody class="divide-y divide-gray-200">
                        <tr>
                            <td class="px-6 py-4">1</td>
                            <td class="px-6 py-4 font-medium">Web app setup</td>
                            <td class="px-6 py-4">Routing, Deployment, Server, Domain, SSL, DB, WAF</td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-green-100 text-green-800">Complete</span></td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-red-100 text-red-800">High</span></td>
                            <td class="px-6 py-4">
                                <div class="w-full bg-gray-200 rounded-full h-2.5">
                                    <div class="bg-green-600 h-2.5 rounded-full" style="width: 100%"></div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-6 py-4">2</td>
                            <td class="px-6 py-4 font-medium">Login & Roles</td>
                            <td class="px-6 py-4">Super Admin / CRM Admin / User</td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-green-100 text-green-800">Complete</span></td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-red-100 text-red-800">High</span></td>
                            <td class="px-6 py-4">
                                <div class="w-full bg-gray-200 rounded-full h-2.5">
                                    <div class="bg-green-600 h-2.5 rounded-full" style="width: 100%"></div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-6 py-4">3</td>
                            <td class="px-6 py-4 font-medium">Dashboard</td>
                            <td class="px-6 py-4">Hiring status with filters and drill-down</td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-blue-100 text-blue-800">In Progress</span></td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-yellow-100 text-yellow-800">Medium</span></td>
                            <td class="px-6 py-4">
                                <div class="w-full bg-gray-200 rounded-full h-2.5">
                                    <div class="bg-blue-600 h-2.5 rounded-full" style="width: 60%"></div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-6 py-4">4</td>
                            <td class="px-6 py-4 font-medium">Job Requirements</td>
                            <td class="px-6 py-4">Job ID, country, client management</td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-blue-100 text-blue-800">In Progress</span></td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-yellow-100 text-yellow-800">Medium</span></td>
                            <td class="px-6 py-4">
                                <div class="w-full bg-gray-200 rounded-full h-2.5">
                                    <div class="bg-blue-600 h-2.5 rounded-full" style="width: 40%"></div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-6 py-4">5</td>
                            <td class="px-6 py-4 font-medium">Candidates List</td>
                            <td class="px-6 py-4">Search and view profiles</td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-yellow-100 text-yellow-800">Pending</span></td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-yellow-100 text-yellow-800">Medium</span></td>
                            <td class="px-6 py-4">
                                <div class="w-full bg-gray-200 rounded-full h-2.5">
                                    <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 0%"></div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-6 py-4">6</td>
                            <td class="px-6 py-4 font-medium">Recruitment Cycle</td>
                            <td class="px-6 py-4">Track 4 stages of recruitment</td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-yellow-100 text-yellow-800">Pending</span></td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-red-100 text-red-800">High</span></td>
                            <td class="px-6 py-4">
                                <div class="w-full bg-gray-200 rounded-full h-2.5">
                                    <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 0%"></div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-6 py-4">7</td>
                            <td class="px-6 py-4 font-medium">Custom Steps Setup</td>
                            <td class="px-6 py-4">Allow admin to add/modify steps</td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-yellow-100 text-yellow-800">Pending</span></td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-green-100 text-green-800">Low</span></td>
                            <td class="px-6 py-4">
                                <div class="w-full bg-gray-200 rounded-full h-2.5">
                                    <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 0%"></div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-6 py-4">8</td>
                            <td class="px-6 py-4 font-medium">Reporting</td>
                            <td class="px-6 py-4">Generate reports for stakeholders</td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-yellow-100 text-yellow-800">Pending</span></td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-green-100 text-green-800">Low</span></td>
                            <td class="px-6 py-4">
                                <div class="w-full bg-gray-200 rounded-full h-2.5">
                                    <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 0%"></div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-6 py-4">9</td>
                            <td class="px-6 py-4 font-medium">Email Alerts</td>
                            <td class="px-6 py-4">Send status email</td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-yellow-100 text-yellow-800">Pending</span></td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-green-100 text-green-800">Low</span></td>
                            <td class="px-6 py-4">
                                <div class="w-full bg-gray-200 rounded-full h-2.5">
                                    <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 0%"></div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="px-6 py-4">10</td>
                            <td class="px-6 py-4 font-medium">Access Control</td>
                            <td class="px-6 py-4">Role-based permissions</td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-yellow-100 text-yellow-800">Pending</span></td>
                            <td class="px-6 py-4"><span class="px-3 py-1 rounded-full text-sm bg-yellow-100 text-yellow-800">Medium</span></td>
                            <td class="px-6 py-4">
                                <div class="w-full bg-gray-200 rounded-full h-2.5">
                                    <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 0%"></div>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>

        <!-- Feature Timeline -->
        <div class="bg-white rounded-xl shadow-lg p-8 mb-12">
            <h2 class="text-3xl font-bold text-center text-gray-800 mb-8">Feature Timeline</h2>
            <div class="h-96">
                <canvas id="featureTimelineChart"></canvas>
            </div>
        </div>

        <!-- Process Visualization -->
        <div class="bg-white rounded-xl shadow-lg p-8">
            <h2 class="text-3xl font-bold text-center text-gray-800 mb-8">Recruitment Process Flow</h2>
            <div class="flex flex-col md:flex-row justify-center items-center gap-8">
                <div class="text-center">
                    <div class="w-24 h-24 mx-auto rounded-full bg-primary-100 flex items-center justify-center mb-4">
                        <i data-feather="user-plus" class="text-primary-600 w-8 h-8"></i>
                    </div>
                    <h3 class="text-xl font-semibold">1. Recruitment</h3>
                    <p class="text-gray-600 mt-2">Candidate sourcing and initial screening</p>
                </div>
                
                <div class="text-center">
                    <div class="w-24 h-24 mx-auto rounded-full bg-secondary-100 flex items-center justify-center mb-4">
                        <i data-feather="file-text" class="text-secondary-600 w-8 h-8"></i>
                    </div>
                    <h3 class="text-xl font-semibold">2. Employer Docs</h3>
                    <p class="text-gray-600 mt-2">Document collection and verification</p>
                </div>
                
                <div class="text-center">
                    <div class="w-24 h-24 mx-auto rounded-full bg-green-100 flex items-center justify-center mb-4">
                        <i data-feather="globe" class="text-green-600 w-8 h-8"></i>
                    </div>
                    <h3 class="text-xl font-semibold">3. Host Country Steps</h3>
                    <p class="text-gray-600 mt-2">Embassy and work permit processing</p>
                </div>
                
                <div class="text-center">
                    <div class="w-24 h-24 mx-auto rounded-full bg-purple-100 flex items-center justify-center mb-4">
                        <i data-feather="airplane" class="text-purple-600 w-8 h-8"></i>
                    </div>
                    <h3 class="text-xl font-semibold">4. India Steps</h3>
                    <p class="text-gray-600 mt-2">Final deployment preparations</p>
                </div>
            </div>
        </div>
    </main>

    <custom-footer></custom-footer>

    <script src="components/navbar.js"></script>
    <script src="components/footer.js"></script>
    <script src="script.js"></script>
    <script>
        feather.replace();
        
        // Completion Chart
        const completionCtx = document.getElementById('completionChart');
        new Chart(completionCtx, {
            type: 'doughnut',
            data: {
                labels: ['Complete', 'In Progress', 'Pending'],
                datasets: [{
                    data: [2, 2, 12],
                    backgroundColor: [
                        '#10b981',
                        '#3b82f6',
                        '#f59e0b'
                    ],
                    borderWidth: 0
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                cutout: '70%',
                plugins: {
                    legend: {
                        position: 'bottom'
                    }
                }
            }
        });

        // Priority Chart
        const priorityCtx = document.getElementById('priorityChart');
        new Chart(priorityCtx, {
            type: 'pie',
            data: {
                labels: ['High', 'Medium', 'Low'],
                datasets: [{
                    data: [3, 6, 7],
                    backgroundColor: [
                        '#ef4444',
                        '#f59e0b',
                        '#10b981'
                    ],
                    borderWidth: 0
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        position: 'bottom'
                    }
                }
            }
        });

        // Timeline Chart
        const timelineCtx = document.getElementById('timelineChart');
        new Chart(timelineCtx, {
            type: 'bar',
            data: {
                labels: ['Phase 1', 'Phase 2', 'Phase 3', 'Phase 4'],
                datasets: [{
                    label: 'Features Completed',
                    data: [2, 3, 5, 6],
                    backgroundColor: [
                        'rgba(59, 130, 246, 0.7)',
                        'rgba(16, 185, 129, 0.7)',
                        'rgba(245, 158, 11, 0.7)',
                        'rgba(139, 92, 246, 0.7)'
                    ],
                    borderColor: [
                        'rgba(59, 130, 246, 1)',
                        'rgba(16, 185, 129, 1)',
                        'rgba(245, 158, 11, 1)',
                        'rgba(139, 92, 246, 1)'
                    ],
                    borderWidth: 1
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                scales: {
                    y: {
                        beginAtZero: true,
                        max: 16
                    }
                },
                plugins: {
                    legend: {
                        display: false
                    }
                }
            }
        });

        // Feature Timeline Chart
        const featureTimelineCtx = document.getElementById('featureTimelineChart');
        new Chart(featureTimelineCtx, {
            type: 'line',
            data: {
                labels: ['Phase 1', 'Phase 2', 'Phase 3', 'Phase 4', 'Phase 5'],
                datasets: [
                    {
                        label: 'Planned Completion',
                        data: [15, 30, 60, 85, 100],
                        borderColor: '#94a3b8',
                        borderDash: [5, 5],
                        borderWidth: 2,
                        pointRadius: 0,
                        fill: false
                    },
                    {
                        label: 'Actual Progress',
                        data: [12.5, 25, null, null, null],
                        borderColor: '#3b82f6',
                        borderWidth: 3,
                        backgroundColor: 'rgba(59, 130, 246, 0.1)',
                        fill: true,
                        tension: 0.4
                    }
                ]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                scales: {
                    y: {
                        beginAtZero: true,
                        max: 100,
                        ticks: {
                            callback: function(value) {
                                return value + '%';
                            }
                        }
                    }
                },
                plugins: {
                    tooltip: {
                        callbacks: {
                            label: function(context) {
                                return context.dataset.label + ': ' + context.raw + '%';
                            }
                        }
                    },
                    legend: {
                        position: 'bottom'
                    }
                }
            }
        });
    </script>
</body>
</html>