File size: 13,896 Bytes
6630326 | 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 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MicrobeMaster | Progress Tracker</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
50: '#f0f9ff',
100: '#e0f2fe',
200: '#bae6fd',
300: '#7dd3fc',
400: '#38bdf8',
500: '#0ea5e9',
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
},
secondary: {
50: '#f0fdf4',
100: '#dcfce7',
200: '#bbf7d0',
300: '#86efac',
400: '#4ade80',
500: '#22c55e',
600: '#16a34a',
700: '#15803d',
800: '#166534',
900: '#14532d',
}
}
}
}
}
</script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
</head>
<body class="bg-gray-50 min-h-screen">
<!-- Navigation -->
<nav class="bg-primary-700 text-white shadow-lg">
<div class="max-w-6xl mx-auto px-4">
<div class="flex justify-between items-center py-4">
<div class="flex items-center space-x-4">
<i data-feather="flask" class="w-8 h-8"></i>
<span class="font-bold text-xl">MicrobeMaster</span>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="index.html" class="hover:text-primary-200">Dashboard</a>
<a href="schedule.html" class="hover:text-primary-200">Schedule</a>
<a href="resources.html" class="hover:text-primary-200">Resources</a>
<a href="progress.html" class="hover:text-primary-200 font-medium">Progress</a>
</div>
<button class="md:hidden focus:outline-none">
<i data-feather="menu" class="w-6 h-6"></i>
</button>
</div>
</div>
</nav>
<!-- Main Content -->
<main class="max-w-6xl mx-auto px-4 py-8">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8">
<div>
<h1 class="text-3xl font-bold text-gray-800">Study Progress</h1>
<p class="text-gray-600">Track your microbiology exam preparation</p>
</div>
<div class="mt-4 md:mt-0">
<select class="bg-white border border-gray-300 rounded-md px-4 py-2 focus:outline-none focus:ring-primary-500 focus:border-primary-500">
<option>Last 7 Days</option>
<option>Last 30 Days</option>
<option>All Time</option>
</select>
</div>
</div>
<!-- Progress Overview -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<!-- Study Hours -->
<div class="bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<div class="bg-primary-100 p-3 rounded-full mr-3">
<i data-feather="clock" class="w-6 h-6 text-primary-600"></i>
</div>
<div>
<h2 class="text-xl font-semibold text-gray-800">Study Hours</h2>
<p class="text-gray-600">This week</p>
</div>
</div>
<div class="text-3xl font-bold text-primary-600 mb-2">18.5</div>
<div class="flex items-center text-sm text-gray-600">
<i data-feather="trending-up" class="w-4 h-4 text-green-500 mr-1"></i>
<span>+2.5 from last week</span>
</div>
</div>
<!-- Topics Covered -->
<div class="bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<div class="bg-secondary-100 p-3 rounded-full mr-3">
<i data-feather="book" class="w-6 h-6 text-secondary-600"></i>
</div>
<div>
<h2 class="text-xl font-semibold text-gray-800">Topics Covered</h2>
<p class="text-gray-600">Total progress</p>
</div>
</div>
<div class="text-3xl font-bold text-secondary-600 mb-2">13/20</div>
<div class="relative w-full h-2 bg-gray-200 rounded-full mt-2">
<div class="absolute top-0 left-0 h-2 bg-secondary-500 rounded-full" style="width: 65%;"></div>
</div>
</div>
<!-- Practice Tests -->
<div class="bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<div class="bg-purple-100 p-3 rounded-full mr-3">
<i data-feather="clipboard" class="w-6 h-6 text-purple-600"></i>
</div>
<div>
<h2 class="text-xl font-semibold text-gray-800">Practice Tests</h2>
<p class="text-gray-600">Completed</p>
</div>
</div>
<div class="text-3xl font-bold text-purple-600 mb-2">4/10</div>
<div class="relative w-full h-2 bg-gray-200 rounded-full mt-2">
<div class="absolute top-0 left-0 h-2 bg-purple-500 rounded-full" style="width: 40%;"></div>
</div>
</div>
</div>
<!-- Progress Charts -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
<!-- Weekly Study Hours -->
<div class="bg-white rounded-lg shadow-md p-6">
<h2 class="text-xl font-semibold text-gray-800 mb-4">Weekly Study Hours</h2>
<canvas id="weeklyHoursChart" height="250"></canvas>
</div>
<!-- Topic Completion -->
<div class="bg-white rounded-lg shadow-md p-6">
<h2 class="text-xl font-semibold text-gray-800 mb-4">Topic Completion</h2>
<canvas id="topicCompletionChart" height="250"></canvas>
</div>
</div>
<!-- Weak Areas -->
<div class="bg-white rounded-lg shadow-md p-6">
<h2 class="text-xl font-semibold text-gray-800 mb-4">Weak Areas</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="border rounded-lg p-4">
<h3 class="font-medium text-gray-800 mb-2">Microbial Genetics</h3>
<div class="flex items-center">
<div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
<div class="bg-red-500 h-2.5 rounded-full" style="width: 30%"></div>
</div>
<span class="text-sm text-gray-600">30%</span>
</div>
</div>
<div class="border rounded-lg p-4">
<h3 class="font-medium text-gray-800 mb-2">Viral Replication</h3>
<div class="flex items-center">
<div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
<div class="bg-yellow-500 h-2.5 rounded-full" style="width: 45%"></div>
</div>
<span class="text-sm text-gray-600">45%</span>
</div>
</div>
<div class="border rounded-lg p-4">
<h3 class="font-medium text-gray-800 mb-2">Antimicrobial Resistance</h3>
<div class="flex items-center">
<div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
<div class="bg-orange-500 h-2.5 rounded-full" style="width: 55%"></div>
</div>
<span class="text-sm text-gray-600">55%</span>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-8">
<div class="max-w-6xl mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4">MicrobeMaster</h3>
<p class="text-gray-400">Your personal study companion for the Microbiology Certification Exam.</p>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="index.html" class="text-gray-400 hover:text-white">Dashboard</a></li>
<li><a href="schedule.html" class="text-gray-400 hover:text-white">Schedule</a></li>
<li><a href="resources.html" class="text-gray-400 hover:text-white">Resources</a></li>
<li><a href="progress.html" class="text-gray-400 hover:text-white font-medium">Progress</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Connect</h3>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="twitter" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="facebook" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="instagram" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="linkedin" class="w-5 h-5"></i>
</a>
</div>
<p class="text-gray-400 mt-4">Need help? <a href="#" class="text-primary-400 hover:underline">Contact us</a></p>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
<p>© 2024 MicrobeMaster. All rights reserved.</p>
</div>
</div>
</footer>
<script>
// Weekly Hours Chart
const weeklyHoursCtx = document.getElementById('weeklyHoursChart').getContext('2d');
const weeklyHoursChart = new Chart(weeklyHoursCtx, {
type: 'bar',
data: {
labels: ['Week 1', 'Week 2', 'Week 3', 'Week 4', 'This Week'],
datasets: [{
label: 'Study Hours',
data: [12, 14, 16, 15, 18.5],
backgroundColor: [
'rgba(14, 165, 233, 0.7)',
'rgba(14, 165, 233, 0.7)',
'rgba(14, 165, 233, 0.7)',
'rgba(14, 165, 233, 0.7)',
'rgba(34, 197, 94, 0.7)'
],
borderColor: [
'rgba(14, 165, 233, 1)',
'rgba(14, 165, 233, 1)',
'rgba(14, 165, 233, 1)',
'rgba(14, 165, 233, 1)',
'rgba(34, 197, 94, 1)'
],
borderWidth: 1
}]
},
options: {
responsive: true,
scales: {
y: {
beginAtZero: true,
ticks: {
stepSize: 2
}
}
}
}
});
// Topic Completion Chart
const topicCompletionCtx = document.getElementById('topicCompletionChart').getContext('2d');
const topicCompletionChart = new Chart(topicCompletionCtx, {
type: 'doughnut',
data: {
labels: ['Completed', 'In Progress', 'Not Started'],
datasets: [{
data: [65, 20, 15],
backgroundColor: [
'rgba(34, 197, 94, 0.7)',
'rgba(253, 224, 71, 0.7)',
'rgba(239, 68, 68, 0.7)'
],
borderColor: [
'rgba(34, 197, 94, 1)',
'rgba(253, 224, 71, 1)',
'rgba(239, 68, 68, 1)'
],
borderWidth: 1
}]
},
options: {
responsive: true,
plugins: {
legend: {
position: 'bottom',
}
}
}
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html> |