recruitervision-dashboard / visualization2.html
OzilDev's picture
create visulization page using this data
4c55146 verified
Raw History Blame Contribute Delete
18.9 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recruitment System 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 Visualization</h1>
<p class="text-xl text-gray-600">Feature progress tracking and process visualization</p>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-12">
<!-- Status Overview Card -->
<div class="bg-white rounded-xl shadow-lg p-6">
<h2 class="text-2xl font-bold text-gray-800 mb-4">Feature Status</h2>
<div class="h-48">
<canvas id="statusChart"></canvas>
</div>
</div>
<!-- Priority Card -->
<div class="bg-white rounded-xl shadow-lg p-6">
<h2 class="text-2xl font-bold text-gray-800 mb-4">Implementation Priority</h2>
<div class="h-48">
<canvas id="priorityChart"></canvas>
</div>
</div>
<!-- Complexity Card -->
<div class="bg-white rounded-xl shadow-lg p-6">
<h2 class="text-2xl font-bold text-gray-800 mb-4">Feature Complexity</h2>
<div class="h-48">
<canvas id="complexityChart"></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">Priority</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 with routing part</td>
<td class="px-6 py-4">Create basic project and add routing, Deployment pipelines, Server setup, Domain and SSL setup, DB Setup, WAF setup etc.</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"><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">User login + roles (Super Admin / CRM Admin / User)</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"><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">Show total hiring status, filters, drill-down</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"><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">Add job requirement with Job ID, country, client</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"><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">List, search and view candidate profiles</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"><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 Tracking</td>
<td class="px-6 py-4">Track 4 stages - recruitment, employer docs, host country steps, India steps</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"><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">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 for each country</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"><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">8</td>
<td class="px-6 py-4 font-medium">Reporting</td>
<td class="px-6 py-4">Generate a reports for stakeholders based on selected data</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"><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">9</td>
<td class="px-6 py-4 font-medium">Email Alerts/Reminders</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-green-100 text-green-800">Low</span></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">10</td>
<td class="px-6 py-4 font-medium">Access Control</td>
<td class="px-6 py-4">Role-based permissions + hide sensitive info for non-admin</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"><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">11</td>
<td class="px-6 py-4 font-medium">Scope Limitations</td>
<td class="px-6 py-4">No interview scheduling, no candidate interview features</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"><span class="px-3 py-1 rounded-full text-sm bg-gray-100 text-gray-800">N/A</span></td>
</tr>
<tr>
<td class="px-6 py-4">12</td>
<td class="px-6 py-4 font-medium">WhatsApp Alerts</td>
<td class="px-6 py-4">Send messages on WhatsApp</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"><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">13</td>
<td class="px-6 py-4 font-medium">Document Management</td>
<td class="px-6 py-4">Store links to Google Drive documents</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"><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">14</td>
<td class="px-6 py-4 font-medium">User Management</td>
<td class="px-6 py-4">Create/Edit/Delete users</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"><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">15</td>
<td class="px-6 py-4 font-medium">Deployment Steps – India</td>
<td class="px-6 py-4">Track steps before sending candidate to customer site</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"><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">16</td>
<td class="px-6 py-4 font-medium">Process Steps – Host Country</td>
<td class="px-6 py-4">Track steps for embassy/work permit etc.</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"><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>
<!-- Feature Status Visualization -->
<div class="bg-white rounded-xl shadow-lg p-8">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-8">Feature Completion Progress</h2>
<div class="h-96">
<canvas id="featureTimelineChart"></canvas>
</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();
// Status Chart
const statusCtx = document.getElementById('statusChart');
new Chart(statusCtx, {
type: 'doughnut',
data: {
labels: ['Complete', 'In Progress', 'Pending', 'N/A'],
datasets: [{
data: [2, 2, 11, 1],
backgroundColor: [
'#10b981',
'#3b82f6',
'#f59e0b',
'#6b7280'
],
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, 8, 5],
backgroundColor: [
'#ef4444',
'#f59e0b',
'#10b981'
],
borderWidth: 0
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
position: 'bottom'
}
}
}
});
// Complexity Chart
const complexityCtx = document.getElementById('complexityChart');
new Chart(complexityCtx, {
type: 'bar',
data: {
labels: ['Simple', 'Moderate', 'Complex'],
datasets: [{
label: 'Features',
data: [5, 7, 4],
backgroundColor: [
'rgba(16, 185, 129, 0.7)',
'rgba(59, 130, 246, 0.7)',
'rgba(239, 68, 68, 0.7)'
],
borderColor: [
'rgba(16, 185, 129, 1)',
'rgba(59, 130, 246, 1)',
'rgba(239, 68, 68, 1)'
],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
y: {
beginAtZero: true
}
},
plugins: {
legend: {
display: false
}
}
}
});
// Feature Timeline Chart
const featureTimelineCtx = document.getElementById('featureTimelineChart');
new Chart(featureTimelineCtx, {
type: 'line',
data: {
labels: Array.from({length: 16}, (_, i) => 'Feature ' + (i+1)),
datasets: [{
label: 'Completion Progress',
data: [100, 100, 60, 40, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0],
fill: true,
backgroundColor: 'rgba(59, 130, 246, 0.2)',
borderColor: 'rgb(59, 130, 246)',
tension: 0.1,
pointBackgroundColor: function(context) {
const index = context.dataIndex;
const value = context.dataset.data[index];
if (value === 100) return '#10b981';
if (value >= 40) return '#3b82f6';
return '#f59e0b';
},
pointRadius: 6
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
y: {
beginAtZero: true,
max: 100,
ticks: {
callback: function(value) {
return value + '%';
}
}
}
},
plugins: {
tooltip: {
callbacks: {
label: function(context) {
return 'Completion: ' + context.raw + '%';
}
}
},
legend: {
display: false
}
}
}
});
</script>
</body>
</html>