mentee-feedback / index.html
ProVisionAlliance's picture
Create a dashboard for thr mentee feedback responses: Full Name Month Workshop Attendance Workshop Discussion Workshop Learning Podcast Watched Schedule Videos Watched Skill Learning Progress Time Spent (hours) Study Time Management & Consistency Score Academic Motivation & Discipline Score Academic Performance Improvement Score Tutoring Required Personal Habits Score Stress Management Score Communication Skills Score Social Confidence Score Happiness Level Institutions Identified Applications Submitted Open Days Identified Open Days Attended Funding Options Identified Funding Applications Program Satisfaction Suggestions/Feedback/Complaints Mentor Satisfaction Date SMART/Career Goals Update Skill Gaps Career Goals Update Initiative Score
8ccefa6 verified
Raw History Blame Contribute Delete
27.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mentee Feedback Dashboard</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
.score-cell {
@apply px-4 py-3 text-center;
}
.score-1 { background-color: #ffcccc; color: #cc0000; }
.score-2 { background-color: #ffdddd; color: #cc2222; }
.score-3 { background-color: #ffe6cc; color: #cc4400; }
.score-4 { background-color: #fff2cc; color: #cc8800; }
.score-5 { background-color: #ffffcc; color: #cccc00; }
.score-6 { background-color: #e6ffcc; color: #88cc00; }
.score-7 { background-color: #ccffcc; color: #00cc00; }
.score-8 { background-color: #ccffe6; color: #00cc66; }
.score-9 { background-color: #ccffff; color: #00cccc; }
.score-10 { background-color: #cce6ff; color: #0066cc; }
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
</style>
</head>
<body class="bg-gray-50">
<div class="min-h-screen">
<!-- Header -->
<header class="bg-indigo-700 text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center gap-4">
<div>
<h1 class="text-2xl md:text-3xl font-bold">Mentee Feedback Dashboard</h1>
<p class="text-indigo-200">Comprehensive analysis of mentee progress and satisfaction</p>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<select id="month-filter" class="bg-indigo-600 text-white rounded-lg px-4 py-2 pr-8 border border-indigo-500 focus:outline-none focus:ring-2 focus:ring-indigo-400">
<option value="all">All Months</option>
<option value="February">February</option>
<option value="March">March</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July">July</option>
<option value="August">August</option>
</select>
<i data-feather="chevron-down" class="absolute right-3 top-2.5 text-indigo-300"></i>
</div>
<button id="export-btn" class="bg-white text-indigo-700 px-4 py-2 rounded-lg font-medium hover:bg-gray-100 transition flex items-center gap-2">
<i data-feather="download" class="w-4 h-4"></i> Export
</button>
</div>
</div>
</div>
</header>
<!-- Dashboard Content -->
<main class="container mx-auto px-4 py-8">
<!-- Summary Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8" data-aos="fade-up">
<div class="bg-white rounded-xl shadow-md p-6 border-l-4 border-indigo-500">
<h3 class="text-gray-500 font-medium">Total Mentees</h3>
<div class="flex justify-between items-end mt-2">
<span class="text-3xl font-bold text-gray-800">17</span>
<div class="text-green-500 flex items-center">
<i data-feather="trending-up" class="w-5 h-5 mr-1"></i>
<span class="text-sm">8% from last month</span>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6 border-l-4 border-blue-500">
<h3 class="text-gray-500 font-medium">Avg. Satisfaction</h3>
<div class="flex justify-between items-end mt-2">
<span class="text-3xl font-bold text-gray-800">4.5/5</span>
<div class="text-green-500 flex items-center">
<i data-feather="thumbs-up" class="w-5 h-5 mr-1"></i>
<span class="text-sm">96% positive</span>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6 border-l-4 border-green-500">
<h3 class="text-gray-500 font-medium">Avg. Progress</h3>
<div class="flex justify-between items-end mt-2">
<span class="text-3xl font-bold text-gray-800">6.2/10</span>
<div class="text-green-500 flex items-center">
<i data-feather="activity" class="w-5 h-5 mr-1"></i>
<span class="text-sm">12% improvement</span>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6 border-l-4 border-purple-500">
<h3 class="text-gray-500 font-medium">Avg. Hours Spent</h3>
<div class="flex justify-between items-end mt-2">
<span class="text-3xl font-bold text-gray-800">1.7</span>
<div class="text-yellow-500 flex items-center">
<i data-feather="clock" class="w-5 h-5 mr-1"></i>
<span class="text-sm">+0.3 from last month</span>
</div>
</div>
</div>
</div>
<!-- Charts Section -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
<!-- Progress Scores Chart -->
<div class="bg-white rounded-xl shadow-md p-6" data-aos="fade-up">
<h2 class="text-xl font-bold text-gray-800 mb-4">Progress Scores Distribution</h2>
<div class="h-80">
<canvas id="progressChart"></canvas>
</div>
</div>
<!-- Satisfaction Scores Chart -->
<div class="bg-white rounded-xl shadow-md p-6" data-aos="fade-up">
<h2 class="text-xl font-bold text-gray-800 mb-4">Mentor Satisfaction</h2>
<div class="h-80">
<canvas id="satisfactionChart"></canvas>
</div>
</div>
</div>
<!-- Key Metrics Trends -->
<div class="bg-white rounded-xl shadow-md p-6 mb-8" data-aos="fade-up">
<h2 class="text-xl font-bold text-gray-800 mb-4">Key Metrics Trends</h2>
<div class="h-96">
<canvas id="trendsChart"></canvas>
</div>
</div>
<!-- Mentee Data Table -->
<div class="bg-white rounded-xl shadow-md overflow-hidden mb-8" data-aos="fade-up">
<div class="px-6 py-4 border-b border-gray-200">
<h2 class="text-xl font-bold text-gray-800">Mentee Feedback Data</h2>
</div>
<div class="overflow-x-auto scrollbar-hide">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Mentee</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Month</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Workshop</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Time Spent</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Study Time</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Motivation</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Performance</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Happiness</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Satisfaction</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr class="hover:bg-gray-50">
<td class="px-4 py-4 whitespace-nowrap font-medium text-gray-900">Sharfaa Kippie</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">May</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">No</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">1h</td>
<td class="score-cell score-6">6</td>
<td class="score-cell score-6">6</td>
<td class="score-cell score-6">6</td>
<td class="score-cell score-6">6</td>
<td class="score-cell score-5">5</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-4 py-4 whitespace-nowrap font-medium text-gray-900">Tristan Petersen</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">May</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">Yes</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">2h</td>
<td class="score-cell score-5">5</td>
<td class="score-cell score-7">7</td>
<td class="score-cell score-6">6</td>
<td class="score-cell score-4">4</td>
<td class="score-cell score-5">5</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-4 py-4 whitespace-nowrap font-medium text-gray-900">Jasmine Martin</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">April</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">No</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">1h</td>
<td class="score-cell score-5">5</td>
<td class="score-cell score-5">5</td>
<td class="score-cell score-6">6</td>
<td class="score-cell score-6">6</td>
<td class="score-cell score-5">5</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-4 py-4 whitespace-nowrap font-medium text-gray-900">Tayyibah botha</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">May</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">Yes</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">1h</td>
<td class="score-cell score-7">7</td>
<td class="score-cell score-7">7</td>
<td class="score-cell score-6">6</td>
<td class="score-cell score-7">7</td>
<td class="score-cell score-4">4</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-4 py-4 whitespace-nowrap font-medium text-gray-900">Christopher krigga</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">April</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">Yes</td>
<td class="px-4 py-4 whitespace-nowrap text-gray-500">2h</td>
<td class="score-cell score-6">6</td>
<td class="score-cell score-5">5</td>
<td class="score-cell score-6">6</td>
<td class="score-cell score-4">4</td>
<td class="score-cell score-5">5</td>
</tr>
</tbody>
</table>
</div>
<div class="px-6 py-4 bg-gray-50 border-t border-gray-200 flex justify-between items-center">
<div class="text-sm text-gray-500">
Showing <span class="font-medium">1</span> to <span class="font-medium">5</span> of <span class="font-medium">17</span> entries
</div>
<div class="flex space-x-2">
<button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">Previous</button>
<button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700">1</button>
<button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">2</button>
<button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">3</button>
<button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">Next</button>
</div>
</div>
</div>
<!-- Feedback Highlights -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
<div class="bg-white rounded-xl shadow-md p-6" data-aos="fade-up">
<div class="flex items-center justify-between mb-4">
<h2 class="text-xl font-bold text-gray-800">Positive Feedback</h2>
<span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded-full">17 Comments</span>
</div>
<div class="space-y-4">
<div class="p-4 bg-green-50 rounded-lg border border-green-200">
<p class="text-gray-700 italic">"I am very satisfied with all the work ProVision has put into the program and I am happy to be a part of it."</p>
<p class="text-sm text-gray-500 mt-2">- Tristan Petersen, July</p>
</div>
<div class="p-4 bg-green-50 rounded-lg border border-green-200">
<p class="text-gray-700 italic">"5 - Outstanding: Exceptional transformative resources and support. Profound positive impact on your personal and professional development."</p>
<p class="text-sm text-gray-500 mt-2">- Multiple mentees</p>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6" data-aos="fade-up">
<div class="flex items-center justify-between mb-4">
<h2 class="text-xl font-bold text-gray-800">Areas for Improvement</h2>
<span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded-full">5 Comments</span>
</div>
<div class="space-y-4">
<div class="p-4 bg-blue-50 rounded-lg border border-blue-200">
<p class="text-gray-700 italic">"I feel that my mentor and I have a lack of communication"</p>
<p class="text-sm text-gray-500 mt-2">- Gafsa Govender, February</p>
</div>
<div class="p-4 bg-blue-50 rounded-lg border border-blue-200">
<p class="text-gray-700 italic">"Instead of the PDF use a document for the smart goals template"</p>
<p class="text-sm text-gray-500 mt-2">- Tayyibah botha, February</p>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-8">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-4 md:mb-0">
<h3 class="text-xl font-bold">Mentee Feedback Dashboard</h3>
<p class="text-gray-400">Tracking progress and satisfaction</p>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="github" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="mail" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="settings" class="w-5 h-5"></i>
</a>
</div>
</div>
<div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400 text-sm">
<p>© 2023 Mentee Feedback Dashboard. All rights reserved.</p>
</div>
</div>
</footer>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
// Initialize AOS animations
AOS.init({
duration: 800,
once: true
});
// Initialize Feather Icons
feather.replace();
// Progress Chart
const progressCtx = document.getElementById('progressChart').getContext('2d');
const progressChart = new Chart(progressCtx, {
type: 'bar',
data: {
labels: ['Study Time', 'Motivation', 'Performance', 'Habits', 'Stress', 'Communication', 'Confidence', 'Happiness'],
datasets: [{
label: 'Average Scores',
data: [6.2, 6.5, 5.8, 5.3, 5.9, 6.7, 6.1, 6.3],
backgroundColor: [
'rgba(99, 102, 241, 0.7)',
'rgba(79, 70, 229, 0.7)',
'rgba(67, 56, 202, 0.7)',
'rgba(55, 48, 163, 0.7)',
'rgba(49, 46, 129, 0.7)',
'rgba(99, 102, 241, 0.7)',
'rgba(79, 70, 229, 0.7)',
'rgba(67, 56, 202, 0.7)'
],
borderColor: [
'rgba(99, 102, 241, 1)',
'rgba(79, 70, 229, 1)',
'rgba(67, 56, 202, 1)',
'rgba(55, 48, 163, 1)',
'rgba(49, 46, 129, 1)',
'rgba(99, 102, 241, 1)',
'rgba(79, 70, 229, 1)',
'rgba(67, 56, 202, 1)'
],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
y: {
beginAtZero: true,
max: 10,
ticks: {
stepSize: 1
}
}
},
plugins: {
legend: {
display: false
},
tooltip: {
callbacks: {
label: function(context) {
return context.dataset.label + ': ' + context.raw + '/10';
}
}
}
}
}
});
// Satisfaction Chart
const satisfactionCtx = document.getElementById('satisfactionChart').getContext('2d');
const satisfactionChart = new Chart(satisfactionCtx, {
type: 'doughnut',
data: {
labels: ['Outstanding (5)', 'Exceeds (4)', 'Satisfactory (3)', 'Below (2)', 'Poor (1)'],
datasets: [{
data: [10, 6, 3, 1, 0],
backgroundColor: [
'rgba(74, 222, 128, 0.7)',
'rgba(34, 197, 94, 0.7)',
'rgba(22, 163, 74, 0.7)',
'rgba(21, 128, 61, 0.7)',
'rgba(22, 101, 52, 0.7)'
],
borderColor: [
'rgba(74, 222, 128, 1)',
'rgba(34, 197, 94, 1)',
'rgba(22, 163, 74, 1)',
'rgba(21, 128, 61, 1)',
'rgba(22, 101, 52, 1)'
],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
position: 'right',
},
tooltip: {
callbacks: {
label: function(context) {
const label = context.label || '';
const value = context.raw || 0;
const total = context.dataset.data.reduce((a, b) => a + b, 0);
const percentage = Math.round((value / total) * 100);
return `${label}: ${value} (${percentage}%)`;
}
}
}
}
}
});
// Trends Chart
const trendsCtx = document.getElementById('trendsChart').getContext('2d');
const trendsChart = new Chart(trendsCtx, {
type: 'line',
data: {
labels: ['February', 'March', 'April', 'May', 'June', 'July', 'August'],
datasets: [
{
label: 'Study Time Management',
data: [6.1, 5.8, 6.3, 6.0, 5.9, 6.7, 5.0],
borderColor: 'rgba(99, 102, 241, 1)',
backgroundColor: 'rgba(99, 102, 241, 0.1)',
tension: 0.3,
fill: true
},
{
label: 'Academic Motivation',
data: [6.3, 6.0, 6.1, 6.3, 6.4, 6.8, 5.0],
borderColor: 'rgba(236, 72, 153, 1)',
backgroundColor: 'rgba(236, 72, 153, 0.1)',
tension: 0.3,
fill: true
},
{
label: 'Academic Performance',
data: [5.9, 5.7, 6.0, 5.8, 5.9, 6.2, 5.0],
borderColor: 'rgba(16, 185, 129, 1)',
backgroundColor: 'rgba(16, 185, 129, 0.1)',
tension: 0.3,
fill: true
},
{
label: 'Mentor Satisfaction',
data: [3.8, 4.1, 4.3, 4.5, 4.4, 4.7, 3.0],
borderColor: 'rgba(245, 158, 11, 1)',
backgroundColor: 'rgba(245, 158, 11, 0.1)',
tension: 0.3,
fill: true
}
]
},
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
y: {
beginAtZero: true,
max: 10,
ticks: {
stepSize: 1
}
}
},
plugins: {
tooltip: {
callbacks: {
label: function(context) {
return context.dataset.label + ': ' + context.raw.toFixed(1);
}
}
}
}
}
});
// Filter functionality
document.getElementById('month-filter').addEventListener('change', function() {
const month = this.value;
// In a real app, this would filter the data and update charts/table
console.log('Filter by month:', month);
});
// Export button
document.getElementById('export-btn').addEventListener('click', function() {
// In a real app, this would export the data
alert('Export functionality would be implemented here');
});
});
</script>
</body>
</html>