recruitervision-dashboard / visualization3.html
OzilDev's picture
create visulization page using this data
4c55146 verified
Raw History Blame Contribute Delete
19.9 kB
<!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>