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