Spaces:
Running
Running
Download index.html from tegbindra/edutrack-dashboard: direct link, hf CLI and curl.
- Browser
- Download file 13.5 kB
-
https://huggingface.co/spaces/tegbindra/edutrack-dashboard/resolve/main/index.html
- Command line
-
hf download hf://spaces/tegbindra/edutrack-dashboard/index.html
-
curl -L -o index.html https://huggingface.co/spaces/tegbindra/edutrack-dashboard/resolve/main/index.html
13.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>EduTrack Dashboard</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/stat-card.js"></script> | |
| <script src="components/subject-card.js"></script> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <custom-navbar></custom-navbar> | |
| <div class="container mx-auto px-4 py-8"> | |
| <!-- Dashboard Header --> | |
| <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">Class Performance Dashboard</h1> | |
| <p class="text-gray-600 mt-2">Class X - Annual Results Analysis</p> | |
| </div> | |
| <div class="mt-4 md:mt-0"> | |
| <div class="flex items-center bg-white rounded-lg shadow-sm p-3"> | |
| <i data-feather="filter" class="text-gray-500 mr-2"></i> | |
| <select class="bg-transparent border-0 text-gray-700 focus:ring-0"> | |
| <option>All Students</option> | |
| <option>Top Performers</option> | |
| <option>Needs Improvement</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"> | |
| <custom-stat-card | |
| title="Total Students" | |
| value="140" | |
| icon="users" | |
| color="blue"> | |
| </custom-stat-card> | |
| <custom-stat-card | |
| title="Average Score" | |
| value="86.41%" | |
| icon="bar-chart-2" | |
| color="green"> | |
| </custom-stat-card> | |
| <custom-stat-card | |
| title="Highest Score" | |
| value="98.2%" | |
| icon="award" | |
| color="purple"> | |
| </custom-stat-card> | |
| <custom-stat-card | |
| title="Subjects" | |
| value="10" | |
| icon="book" | |
| color="orange"> | |
| </custom-stat-card> | |
| </div> | |
| <!-- Subject Performance --> | |
| <div class="bg-white rounded-xl shadow-sm p-6 mb-8"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-xl font-semibold text-gray-800">Subject-wise Performance</h2> | |
| <button class="text-indigo-600 hover:text-indigo-800 flex items-center"> | |
| <span>View All</span> | |
| <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i> | |
| </button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-4"> | |
| <custom-subject-card | |
| subject="English" | |
| average="92.76" | |
| top-score="100" | |
| icon="book-open"> | |
| </custom-subject-card> | |
| <custom-subject-card | |
| subject="Punjabi" | |
| average="91.67" | |
| top-score="100" | |
| icon="type"> | |
| </custom-subject-card> | |
| <custom-subject-card | |
| subject="Hindi" | |
| average="85.58" | |
| top-score="100" | |
| icon="align-left"> | |
| </custom-subject-card> | |
| <custom-subject-card | |
| subject="Math" | |
| average="83.66" | |
| top-score="100" | |
| icon="divide"> | |
| </custom-subject-card> | |
| <custom-subject-card | |
| subject="Science" | |
| average="85.99" | |
| top-score="100" | |
| icon="atom"> | |
| </custom-subject-card> | |
| </div> | |
| </div> | |
| <!-- Student Performance Table --> | |
| <div class="bg-white rounded-xl shadow-sm overflow-hidden mb-8"> | |
| <div class="px-6 py-4 border-b border-gray-100"> | |
| <h2 class="text-xl font-semibold text-gray-800">Student Performance</h2> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Rank</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Roll No</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Student Name</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">English</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Math</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Science</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Total</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Average</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <!-- Top 5 Students --> | |
| <tr class="bg-green-50 hover:bg-green-100"> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">1</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">13237111</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">SHRAVYA CHHABRA</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">99</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">100</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">100</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">491</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-bold text-green-600">98.2</td> | |
| </tr> | |
| <tr class="bg-green-50 hover:bg-green-100"> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">2</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">13237176</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">CHIRAYU CHANNA</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">99</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">98</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">98</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">491</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-bold text-green-600">98.2</td> | |
| </tr> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">3</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">13237097</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">KIERAT SINGH BAWA</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">98</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">100</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">97</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">488</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-bold text-blue-600">97.6</td> | |
| </tr> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">4</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">13237133</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">RAAGHAV PRASHAR</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">97</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">98</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">97</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">488</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-bold text-blue-600">97.6</td> | |
| </tr> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">5</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">13237218</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">BHAVYA CHOPRA</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">99</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">99</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">98</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">488</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-bold text-blue-600">97.6</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="px-6 py-4 border-t border-gray-100 flex justify-between items-center"> | |
| <p class="text-sm text-gray-500">Showing 1 to 5 of 140 students</p> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 rounded-md bg-indigo-600 text-white text-sm">View All</button> | |
| <button class="px-3 py-1 rounded-md border border-gray-300 text-gray-700 text-sm">Export</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Performance Charts --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-8"> | |
| <div class="bg-white rounded-xl shadow-sm p-6"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-xl font-semibold text-gray-800">Score Distribution</h2> | |
| <div class="flex items-center space-x-2"> | |
| <span class="w-3 h-3 rounded-full bg-indigo-500"></span> | |
| <span class="text-sm text-gray-600">Students</span> | |
| </div> | |
| </div> | |
| <div class="h-64 bg-gray-100 rounded-lg flex items-center justify-center"> | |
| <p class="text-gray-500">Chart would display here</p> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm p-6"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-xl font-semibold text-gray-800">Subject Comparison</h2> | |
| <div class="flex space-x-4"> | |
| <div class="flex items-center space-x-2"> | |
| <span class="w-3 h-3 rounded-full bg-green-500"></span> | |
| <span class="text-sm text-gray-600">Highest</span> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <span class="w-3 h-3 rounded-full bg-red-500"></span> | |
| <span class="text-sm text-gray-600">Lowest</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="h-64 bg-gray-100 rounded-lg flex items-center justify-center"> | |
| <p class="text-gray-500">Chart would display here</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| <script src="script.js"></script> | |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> | |
| </body> | |
| </html> |