File size: 11,395 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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>RecruiterVision Tracker - 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">RecruiterVision Tracker</h1>
            <p class="text-xl text-gray-600">Visualizing the recruitment pipeline and process steps</p>
        </div>

        <div class="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-12">
            <!-- Overview Card -->
            <div class="bg-white rounded-xl shadow-lg p-6">
                <h2 class="text-2xl font-bold text-gray-800 mb-4">System Overview</h2>
                <div class="space-y-4">
                    <div class="flex items-center">
                        <div class="w-3 h-3 rounded-full bg-primary-500 mr-3"></div>
                        <span class="text-gray-700">15 Core Features</span>
                    </div>
                    <div class="flex items-center">
                        <div class="w-3 h-3 rounded-full bg-secondary-500 mr-3"></div>
                        <span class="text-gray-700">4 Recruitment Stages</span>
                    </div>
                    <div class="flex items-center">
                        <div class="w-3 h-3 rounded-full bg-green-500 mr-3"></div>
                        <span class="text-gray-700">3 User Roles</span>
                    </div>
                </div>
            </div>

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

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

        <!-- Feature Matrix -->
        <div class="bg-white rounded-xl shadow-lg overflow-hidden mb-12">
            <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>
                        </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>
                        </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>
                        </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>
                        </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>
                        </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>
                        </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>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>

        <!-- Process Flow -->
        <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">Recruitment Process Flow</h2>
            <div class="flex flex-wrap justify-center gap-4">
                <div class="process-step bg-primary-100 text-primary-800">1. Recruitment</div>
                <div class="process-arrow">
                    <i data-feather="arrow-right"></i>
                </div>
                <div class="process-step bg-secondary-100 text-secondary-800">2. Employer Docs</div>
                <div class="process-arrow">
                    <i data-feather="arrow-right"></i>
                </div>
                <div class="process-step bg-green-100 text-green-800">3. Host Country Steps</div>
                <div class="process-arrow">
                    <i data-feather="arrow-right"></i>
                </div>
                <div class="process-step bg-purple-100 text-purple-800">4. India Steps</div>
            </div>
        </div>

        <!-- Role Visualization -->
        <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
            <div class="bg-white rounded-xl shadow-lg p-6">
                <div class="text-center">
                    <div class="w-16 h-16 mx-auto rounded-full bg-primary-100 flex items-center justify-center mb-4">
                        <i data-feather="shield" class="text-primary-600 w-8 h-8"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">Super Admin</h3>
                    <p class="text-gray-600">Full system access including user management and configuration</p>
                </div>
            </div>
            <div class="bg-white rounded-xl shadow-lg p-6">
                <div class="text-center">
                    <div class="w-16 h-16 mx-auto rounded-full bg-secondary-100 flex items-center justify-center mb-4">
                        <i data-feather="settings" class="text-secondary-600 w-8 h-8"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">CRM Admin</h3>
                    <p class="text-gray-600">Manage recruitment data and reports but limited system access</p>
                </div>
            </div>
            <div class="bg-white rounded-xl shadow-lg p-6">
                <div class="text-center">
                    <div class="w-16 h-16 mx-auto rounded-full bg-green-100 flex items-center justify-center mb-4">
                        <i data-feather="user" class="text-green-600 w-8 h-8"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2">Standard User</h3>
                    <p class="text-gray-600">View data and manage candidates with role-based restrictions</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();
        
        // Progress Chart
        const progressCtx = document.getElementById('progressChart');
        new Chart(progressCtx, {
            type: 'doughnut',
            data: {
                labels: ['Complete', 'In Progress', 'Pending'],
                datasets: [{
                    data: [2, 2, 11],
                    backgroundColor: [
                        '#10b981',
                        '#3b82f6',
                        '#f59e0b'
                    ],
                    borderWidth: 0
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                cutout: '70%',
                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, 4, 6, 3],
                    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: 15
                    }
                },
                plugins: {
                    legend: {
                        display: false
                    }
                }
            }
        });
    </script>
</body>
</html>