Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Intern HRMS - Group Management System</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<script> | |
tailwind.config = { | |
theme: { | |
extend: { | |
colors: { | |
'dark-purple': '#6b21a8', | |
'bright-purple': '#a855f7', | |
'jet-black': '#0a0a0a', | |
'dark-gray': '#1f1f1f', | |
'light-gray': '#2d2d2d' | |
} | |
} | |
} | |
} | |
</script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
<style> | |
.gradient-bg { | |
background: linear-gradient(135deg, #6b21a8 0%, #0a0a0a 100%); | |
} | |
.sidebar-item:hover { | |
background-color: rgba(168, 85, 247, 0.2); | |
transform: translateX(5px); | |
transition: all 0.3s ease; | |
} | |
.task-card:hover { | |
transform: translateY(-5px); | |
box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3); | |
transition: all 0.3s ease; | |
} | |
.progress-ring__circle { | |
transition: stroke-dashoffset 0.35s; | |
transform: rotate(-90deg); | |
transform-origin: 50% 50%; | |
} | |
.animate-pulse { | |
animation: pulse 2s infinite; | |
} | |
@keyframes pulse { | |
0% { opacity: 1; } | |
50% { opacity: 0.5; } | |
100% { opacity: 1; } | |
} | |
body { | |
background-color: #0a0a0a; | |
color: #e5e7eb; | |
} | |
.card-bg { | |
background-color: #1f1f1f; | |
border: 1px solid #2d2d2d; | |
} | |
.table-header { | |
background-color: #6b21a8; | |
} | |
.table-row:hover { | |
background-color: rgba(168, 85, 247, 0.1); | |
} | |
.glow-purple { | |
box-shadow: 0 0 10px rgba(168, 85, 247, 0.5); | |
} | |
</style> | |
</head> | |
<body class="font-sans"> | |
<div class="flex h-screen overflow-hidden"> | |
<!-- Sidebar --> | |
<div class="hidden md:flex md:flex-shrink-0"> | |
<div class="flex flex-col w-64 gradient-bg text-white"> | |
<div class="flex items-center justify-center h-16 px-4 border-b border-purple-500 border-opacity-20"> | |
<div class="flex items-center"> | |
<i class="fas fa-users-cog text-2xl mr-2 text-bright-purple"></i> | |
<span class="text-xl font-semibold">Intern HRMS</span> | |
</div> | |
</div> | |
<div class="flex flex-col flex-grow px-4 py-4 overflow-y-auto"> | |
<div class="space-y-1"> | |
<a href="#" class="sidebar-item flex items-center px-2 py-3 text-sm font-medium rounded-md text-white bg-purple-900 bg-opacity-30"> | |
<i class="fas fa-tachometer-alt mr-3 text-bright-purple"></i> | |
Dashboard | |
</a> | |
<a href="#" class="sidebar-item flex items-center px-2 py-3 text-sm font-medium rounded-md text-white hover:bg-purple-900 hover:bg-opacity-30"> | |
<i class="fas fa-tasks mr-3 text-bright-purple"></i> | |
Task Management | |
</a> | |
<a href="#" class="sidebar-item flex items-center px-2 py-3 text-sm font-medium rounded-md text-white hover:bg-purple-900 hover:bg-opacity-30"> | |
<i class="fas fa-users mr-3 text-bright-purple"></i> | |
Intern Groups | |
</a> | |
<a href="#" class="sidebar-item flex items-center px-2 py-3 text-sm font-medium rounded-md text-white hover:bg-purple-900 hover:bg-opacity-30"> | |
<i class="fas fa-file-upload mr-3 text-bright-purple"></i> | |
Submissions | |
</a> | |
<a href="#" class="sidebar-item flex items-center px-2 py-3 text-sm font-medium rounded-md text-white hover:bg-purple-900 hover:bg-opacity-30"> | |
<i class="fas fa-star mr-3 text-bright-purple"></i> | |
Scoring System | |
</a> | |
<a href="#" class="sidebar-item flex items-center px-2 py-3 text-sm font-medium rounded-md text-white hover:bg-purple-900 hover:bg-opacity-30"> | |
<i class="fas fa-chart-line mr-3 text-bright-purple"></i> | |
Analytics | |
</a> | |
<a href="#" class="sidebar-item flex items-center px-2 py-3 text-sm font-medium rounded-md text-white hover:bg-purple-900 hover:bg-opacity-30"> | |
<i class="fas fa-cog mr-3 text-bright-purple"></i> | |
Settings | |
</a> | |
</div> | |
<div class="mt-auto mb-4"> | |
<div class="bg-purple-900 bg-opacity-30 p-3 rounded-lg glow-purple"> | |
<div class="flex items-center"> | |
<img class="h-10 w-10 rounded-full border-2 border-bright-purple" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User"> | |
<div class="ml-3"> | |
<p class="text-sm font-medium text-white">HR Coordinator</p> | |
<p class="text-xs text-purple-300">[email protected]</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Main Content --> | |
<div class="flex flex-col flex-1 overflow-hidden"> | |
<!-- Top Navigation --> | |
<div class="flex items-center justify-between h-16 px-4 bg-dark-gray border-b border-purple-900"> | |
<div class="flex items-center"> | |
<button class="md:hidden text-bright-purple focus:outline-none"> | |
<i class="fas fa-bars"></i> | |
</button> | |
<h1 class="ml-4 text-lg font-semibold text-white">Intern Management Dashboard</h1> | |
</div> | |
<div class="flex items-center space-x-4"> | |
<div class="relative"> | |
<button class="text-bright-purple focus:outline-none hover:text-white"> | |
<i class="fas fa-bell"></i> | |
<span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span> | |
</button> | |
</div> | |
<div class="relative"> | |
<button class="flex items-center text-bright-purple focus:outline-none hover:text-white"> | |
<img class="h-8 w-8 rounded-full border border-bright-purple" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User"> | |
<span class="ml-2 text-sm font-medium">HR Admin</span> | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Main Content Area --> | |
<div class="flex-1 overflow-auto p-6"> | |
<!-- Stats Cards --> | |
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-6"> | |
<div class="card-bg rounded-lg shadow p-6 glow-purple"> | |
<div class="flex items-center justify-between"> | |
<div> | |
<p class="text-sm font-medium text-purple-300">Total Interns</p> | |
<p class="mt-1 text-3xl font-semibold text-white">1,000</p> | |
</div> | |
<div class="p-3 rounded-full bg-purple-900 text-bright-purple"> | |
<i class="fas fa-users text-xl"></i> | |
</div> | |
</div> | |
</div> | |
<div class="card-bg rounded-lg shadow p-6 glow-purple"> | |
<div class="flex items-center justify-between"> | |
<div> | |
<p class="text-sm font-medium text-purple-300">HR Groups</p> | |
<p class="mt-1 text-3xl font-semibold text-white">18</p> | |
</div> | |
<div class="p-3 rounded-full bg-purple-900 text-bright-purple"> | |
<i class="fas fa-layer-group text-xl"></i> | |
</div> | |
</div> | |
</div> | |
<div class="card-bg rounded-lg shadow p-6 glow-purple"> | |
<div class="flex items-center justify-between"> | |
<div> | |
<p class="text-sm font-medium text-purple-300">Active Tasks</p> | |
<p class="mt-1 text-3xl font-semibold text-white">36</p> | |
</div> | |
<div class="p-3 rounded-full bg-purple-900 text-bright-purple"> | |
<i class="fas fa-tasks text-xl"></i> | |
</div> | |
</div> | |
</div> | |
<div class="card-bg rounded-lg shadow p-6 glow-purple"> | |
<div class="flex items-center justify-between"> | |
<div> | |
<p class="text-sm font-medium text-purple-300">Submissions Due</p> | |
<p class="mt-1 text-3xl font-semibold text-white">124</p> | |
</div> | |
<div class="p-3 rounded-full bg-purple-900 text-bright-purple"> | |
<i class="fas fa-file-upload text-xl"></i> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Weekly Task Assignment Section --> | |
<div class="card-bg rounded-lg shadow mb-6 glow-purple"> | |
<div class="px-6 py-4 border-b border-purple-900"> | |
<h2 class="text-lg font-semibold text-white">Weekly Task Assignment</h2> | |
</div> | |
<div class="p-6"> | |
<div class="mb-4"> | |
<label class="block text-sm font-medium text-purple-300 mb-2">Select HR Group</label> | |
<select class="mt-1 block w-full pl-3 pr-10 py-2 text-base bg-dark-gray border-purple-900 focus:outline-none focus:ring-bright-purple focus:border-bright-purple sm:text-sm rounded-md text-white"> | |
<option class="bg-dark-gray">All Groups (1-18)</option> | |
<option class="bg-dark-gray">Group 1 (HR: Alice)</option> | |
<option class="bg-dark-gray">Group 2 (HR: Bob)</option> | |
<option class="bg-dark-gray">Group 3 (HR: Charlie)</option> | |
</select> | |
</div> | |
<div class="mb-4"> | |
<label class="block text-sm font-medium text-purple-300 mb-2">Task Title</label> | |
<input type="text" class="mt-1 focus:ring-bright-purple focus:border-bright-purple block w-full shadow-sm sm:text-sm bg-dark-gray border-purple-900 rounded-md text-white" placeholder="Enter task title"> | |
</div> | |
<div class="mb-4"> | |
<label class="block text-sm font-medium text-purple-300 mb-2">Task Description</label> | |
<textarea rows="4" class="mt-1 focus:ring-bright-purple focus:border-bright-purple block w-full shadow-sm sm:text-sm bg-dark-gray border-purple-900 rounded-md text-white" placeholder="Provide detailed instructions for the task"></textarea> | |
</div> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-4"> | |
<div> | |
<label class="block text-sm font-medium text-purple-300 mb-2">Start Date</label> | |
<input type="date" class="mt-1 focus:ring-bright-purple focus:border-bright-purple block w-full shadow-sm sm:text-sm bg-dark-gray border-purple-900 rounded-md text-white"> | |
</div> | |
<div> | |
<label class="block text-sm font-medium text-purple-300 mb-2">Due Date</label> | |
<input type="date" class="mt-1 focus:ring-bright-purple focus:border-bright-purple block w-full shadow-sm sm:text-sm bg-dark-gray border-purple-900 rounded-md text-white"> | |
</div> | |
<div> | |
<label class="block text-sm font-medium text-purple-300 mb-2">Max Points</label> | |
<input type="number" class="mt-1 focus:ring-bright-purple focus:border-bright-purple block w-full shadow-sm sm:text-sm bg-dark-gray border-purple-900 rounded-md text-white" placeholder="100"> | |
</div> | |
</div> | |
<div class="flex justify-end"> | |
<button type="button" class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-bright-purple hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500"> | |
<i class="fas fa-paper-plane mr-2"></i> Assign Task | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Current Tasks & Groups Section --> | |
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6"> | |
<!-- Active Tasks --> | |
<div class="card-bg rounded-lg shadow glow-purple"> | |
<div class="px-6 py-4 border-b border-purple-900"> | |
<h2 class="text-lg font-semibold text-white">Active Tasks This Week</h2> | |
</div> | |
<div class="p-4"> | |
<div class="space-y-4"> | |
<!-- Task Card 1 --> | |
<div class="task-card bg-dark-gray border border-purple-900 rounded-lg p-4 shadow-sm"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h3 class="font-medium text-white">Market Research Analysis</h3> | |
<p class="text-sm text-purple-300 mt-1">Group 1-5, 7, 9</p> | |
</div> | |
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-900 text-green-300"> | |
Active | |
</span> | |
</div> | |
<p class="text-sm text-gray-400 mt-2">Conduct market research on emerging trends in your assigned sector and prepare a 5-page report with analysis.</p> | |
<div class="mt-3 flex items-center justify-between"> | |
<div class="flex items-center text-sm text-purple-300"> | |
<i class="far fa-calendar-alt mr-1"></i> | |
<span>Due: May 15, 2023</span> | |
</div> | |
<span class="text-sm font-medium text-bright-purple">Max: 100 pts</span> | |
</div> | |
<div class="mt-3"> | |
<div class="flex justify-between text-sm text-purple-300 mb-1"> | |
<span>Submissions: 45/56</span> | |
<span>80%</span> | |
</div> | |
<div class="w-full bg-purple-900 rounded-full h-2"> | |
<div class="bg-bright-purple h-2 rounded-full" style="width: 80%"></div> | |
</div> | |
</div> | |
</div> | |
<!-- Task Card 2 --> | |
<div class="task-card bg-dark-gray border border-purple-900 rounded-lg p-4 shadow-sm"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h3 class="font-medium text-white">UI/UX Design Project</h3> | |
<p class="text-sm text-purple-300 mt-1">Group 6, 8, 10-12</p> | |
</div> | |
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-900 text-green-300"> | |
Active | |
</span> | |
</div> | |
<p class="text-sm text-gray-400 mt-2">Design a mobile app interface for a food delivery service. Include wireframes and a style guide.</p> | |
<div class="mt-3 flex items-center justify-between"> | |
<div class="flex items-center text-sm text-purple-300"> | |
<i class="far fa-calendar-alt mr-1"></i> | |
<span>Due: May 17, 2023</span> | |
</div> | |
<span class="text-sm font-medium text-bright-purple">Max: 150 pts</span> | |
</div> | |
<div class="mt-3"> | |
<div class="flex justify-between text-sm text-purple-300 mb-1"> | |
<span>Submissions: 28/72</span> | |
<span>39%</span> | |
</div> | |
<div class="w-full bg-purple-900 rounded-full h-2"> | |
<div class="bg-bright-purple h-2 rounded-full" style="width: 39%"></div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="mt-4 text-center"> | |
<button class="text-bright-purple hover:text-white text-sm font-medium"> | |
View All Tasks <i class="fas fa-chevron-right ml-1"></i> | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- HR Groups Overview --> | |
<div class="card-bg rounded-lg shadow glow-purple"> | |
<div class="px-6 py-4 border-b border-purple-900"> | |
<h2 class="text-lg font-semibold text-white">HR Groups Overview</h2> | |
</div> | |
<div class="p-4"> | |
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4"> | |
<!-- Group 1 --> | |
<div class="border border-purple-900 rounded-lg p-4 hover:border-bright-purple transition-colors bg-dark-gray"> | |
<div class="flex items-center justify-between"> | |
<h3 class="font-medium text-white">Group 1</h3> | |
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-purple-900 text-bright-purple"> | |
56 interns | |
</span> | |
</div> | |
<p class="text-sm text-purple-300 mt-1">HR: Alice Johnson</p> | |
<div class="mt-3 flex items-center"> | |
<div class="flex-shrink-0"> | |
<img class="h-8 w-8 rounded-full border border-bright-purple" src="https://randomuser.me/api/portraits/women/12.jpg" alt="HR"> | |
</div> | |
<div class="ml-3"> | |
<p class="text-sm font-medium text-white">Alice Johnson</p> | |
<p class="text-sm text-purple-300">[email protected]</p> | |
</div> | |
</div> | |
<div class="mt-3"> | |
<div class="flex justify-between text-sm text-purple-300"> | |
<span>Active Tasks: 3</span> | |
<span>Avg Score: 82%</span> | |
</div> | |
</div> | |
</div> | |
<!-- Group 2 --> | |
<div class="border border-purple-900 rounded-lg p-4 hover:border-bright-purple transition-colors bg-dark-gray"> | |
<div class="flex items-center justify-between"> | |
<h3 class="font-medium text-white">Group 2</h3> | |
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-purple-900 text-bright-purple"> | |
58 interns | |
</span> | |
</div> | |
<p class="text-sm text-purple-300 mt-1">HR: Bob Smith</p> | |
<div class="mt-3 flex items-center"> | |
<div class="flex-shrink-0"> | |
<img class="h-8 w-8 rounded-full border border-bright-purple" src="https://randomuser.me/api/portraits/men/32.jpg" alt="HR"> | |
</div> | |
<div class="ml-3"> | |
<p class="text-sm font-medium text-white">Bob Smith</p> | |
<p class="text-sm text-purple-300">[email protected]</p> | |
</div> | |
</div> | |
<div class="mt-3"> | |
<div class="flex justify-between text-sm text-purple-300"> | |
<span>Active Tasks: 2</span> | |
<span>Avg Score: 76%</span> | |
</div> | |
</div> | |
</div> | |
<!-- Group 3 --> | |
<div class="border border-purple-900 rounded-lg p-4 hover:border-bright-purple transition-colors bg-dark-gray"> | |
<div class="flex items-center justify-between"> | |
<h3 class="font-medium text-white">Group 3</h3> | |
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-purple-900 text-bright-purple"> | |
55 interns | |
</span> | |
</div> | |
<p class="text-sm text-purple-300 mt-1">HR: Charlie Brown</p> | |
<div class="mt-3 flex items-center"> | |
<div class="flex-shrink-0"> | |
<img class="h-8 w-8 rounded-full border border-bright-purple" src="https://randomuser.me/api/portraits/men/44.jpg" alt="HR"> | |
</div> | |
<div class="ml-3"> | |
<p class="text-sm font-medium text-white">Charlie Brown</p> | |
<p class="text-sm text-purple-300">[email protected]</p> | |
</div> | |
</div> | |
<div class="mt-3"> | |
<div class="flex justify-between text-sm text-purple-300"> | |
<span>Active Tasks: 4</span> | |
<span>Avg Score: 88%</span> | |
</div> | |
</div> | |
</div> | |
<!-- Group 4 --> | |
<div class="border border-purple-900 rounded-lg p-4 hover:border-bright-purple transition-colors bg-dark-gray"> | |
<div class="flex items-center justify-between"> | |
<h3 class="font-medium text-white">Group 4</h3> | |
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-purple-900 text-bright-purple"> | |
52 interns | |
</span> | |
</div> | |
<p class="text-sm text-purple-300 mt-1">HR: Diana Prince</p> | |
<div class="mt-3 flex items-center"> | |
<div class="flex-shrink-0"> | |
<img class="h-8 w-8 rounded-full border border-bright-purple" src="https://randomuser.me/api/portraits/women/33.jpg" alt="HR"> | |
</div> | |
<div class="ml-3"> | |
<p class="text-sm font-medium text-white">Diana Prince</p> | |
<p class="text-sm text-purple-300">[email protected]</p> | |
</div> | |
</div> | |
<div class="mt-3"> | |
<div class="flex justify-between text-sm text-purple-300"> | |
<span>Active Tasks: 3</span> | |
<span>Avg Score: 91%</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="mt-4 text-center"> | |
<button class="text-bright-purple hover:text-white text-sm font-medium"> | |
View All Groups <i class="fas fa-chevron-right ml-1"></i> | |
</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Recent Submissions & Scoring Section --> | |
<div class="mt-6 grid grid-cols-1 lg:grid-cols-2 gap-6"> | |
<!-- Recent Submissions --> | |
<div class="card-bg rounded-lg shadow glow-purple"> | |
<div class="px-6 py-4 border-b border-purple-900"> | |
<h2 class="text-lg font-semibold text-white">Recent Submissions</h2> | |
</div> | |
<div class="p-4"> | |
<div class="overflow-x-auto"> | |
<table class="min-w-full divide-y divide-purple-900"> | |
<thead class="table-header"> | |
<tr> | |
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-white uppercase tracking-wider">Intern</th> | |
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-white uppercase tracking-wider">Task</th> | |
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-white uppercase tracking-wider">Group</th> | |
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-white uppercase tracking-wider">Status</th> | |
</tr> | |
</thead> | |
<tbody class="bg-dark-gray divide-y divide-purple-900"> | |
<tr class="table-row"> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0 h-10 w-10"> | |
<img class="h-10 w-10 rounded-full border border-bright-purple" src="https://randomuser.me/api/portraits/women/21.jpg" alt=""> | |
</div> | |
<div class="ml-4"> | |
<div class="text-sm font-medium text-white">Sarah Connor</div> | |
<div class="text-sm text-purple-300">[email protected]</div> | |
</div> | |
</div> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<div class="text-sm text-white">Market Research</div> | |
<div class="text-sm text-purple-300">Due: May 15</div> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-900 text-bright-purple"> | |
Group 1 | |
</span> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-900 text-green-300"> | |
Submitted | |
</span> | |
</td> | |
</tr> | |
<tr class="table-row"> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0 h-10 w-10"> | |
<img class="h-10 w-10 rounded-full border border-bright-purple" src="https://randomuser.me/api/portraits/men/19.jpg" alt=""> | |
</div> | |
<div class="ml-4"> | |
<div class="text-sm font-medium text-white">John Doe</div> | |
<div class="text-sm text-purple-300">[email protected]</div> | |
</div> | |
</div> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<div class="text-sm text-white">UI/UX Design</div> | |
<div class="text-sm text-purple-300">Due: May 17</div> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-900 text-bright-purple"> | |
Group 6 | |
</span> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-900 text-yellow-300"> | |
Pending Review | |
</span> | |
</td> | |
</tr> | |
<tr class="table-row"> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0 h-10 w-10"> | |
<img class="h-10 w-10 rounded-full border border-bright-purple" src="https://randomuser.me/api/portraits/women/47.jpg" alt=""> | |
</div> | |
<div class="ml-4"> | |
<div class="text-sm font-medium text-white">Emma Watson</div> | |
<div class="text-sm text-purple-300">[email protected]</div> | |
</div> | |
</div> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<div class="text-sm text-white">Content Writing</div> | |
<div class="text-sm text-purple-300">Due: May 14</div> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-900 text-bright-purple"> | |
Group 3 | |
</span> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-900 text-blue-300"> | |
Graded (85/100) | |
</span> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
<div class="mt-4 text-center"> | |
<button class="text-bright-purple hover:text-white text-sm font-medium"> | |
View All Submissions <i class="fas fa-chevron-right ml-1"></i> | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Scoring Dashboard --> | |
<div class="card-bg rounded-lg shadow glow-purple"> | |
<div class="px-6 py-4 border-b border-purple-900"> | |
<h2 class="text-lg font-semibold text-white">Scoring Dashboard</h2> | |
</div> | |
<div class="p-6"> | |
<div class="mb-6"> | |
<h3 class="text-md font-medium text-white mb-3">Overall Performance</h3> | |
<div class="grid grid-cols-3 gap-4"> | |
<div class="text-center"> | |
<div class="mx-auto relative w-20 h-20"> | |
<svg class="w-full h-full" viewBox="0 0 36 36"> | |
<path class="text-purple-900" d="M18 2.0845 | |
a 15.9155 15.9155 0 0 1 0 31.831 | |
a 15.9155 15.9155 0 0 1 0 -31.831" fill="none" stroke-width="3" stroke="currentColor"/> | |
<path class="text-green-500 progress-ring__circle" stroke-dasharray="85, 100" d="M18 2.0845 | |
a 15.9155 15.9155 0 0 1 0 31.831 | |
a 15.9155 15.9155 0 0 1 0 -31.831" fill="none" stroke-width="3" stroke="currentColor"/> | |
<text x="18" y="20.5" class="text-sm font-medium text-white" text-anchor="middle" dy=".3em">85%</text> | |
</svg> | |
</div> | |
<p class="mt-2 text-sm text-purple-300">Completion Rate</p> | |
</div> | |
<div class="text-center"> | |
<div class="mx-auto relative w-20 h-20"> | |
<svg class="w-full h-full" viewBox="0 0 36 36"> | |
<path class="text-purple-900" d="M18 2.0845 | |
a 15.9155 15.9155 0 0 1 0 31.831 | |
a 15.9155 15.9155 0 0 1 0 -31.831" fill="none" stroke-width="3" stroke="currentColor"/> | |
<path class="text-bright-purple progress-ring__circle" stroke-dasharray="78, 100" d="M18 2.0845 | |
a 15.9155 15.9155 0 0 1 0 31.831 | |
a 15.9155 15.9155 0 0 1 0 -31.831" fill="none" stroke-width="3" stroke="currentColor"/> | |
<text x="18" y="20.5" class="text-sm font-medium text-white" text-anchor="middle" dy=".3em">78%</text> | |
</svg> | |
</div> | |
<p class="mt-2 text-sm text-purple-300">Average Score</p> | |
</div> | |
<div class="text-center"> | |
<div class="mx-auto relative w-20 h-20"> | |
<svg class="w-full h-full" viewBox="0 0 36 36"> | |
<path class="text-purple-900" d="M18 2.0845 | |
a 15.9155 15.9155 0 0 1 0 31.831 | |
a 15.9155 15.9155 0 0 1 0 -31.831" fill="none" stroke-width="3" stroke="currentColor"/> | |
<path class="text-purple-500 progress-ring__circle" stroke-dasharray="92, 100" d="M18 2.0845 | |
a 15.9155 15.9155 0 0 1 0 31.831 | |
a 15.9155 15.9155 0 0 1 0 -31.831" fill="none" stroke-width="3" stroke="currentColor"/> | |
<text x="18" y="20.5" class="text-sm font-medium text-white" text-anchor="middle" dy=".3em">92%</text> | |
</svg> | |
</div> | |
<p class="mt-2 text-sm text-purple-300">On-time Submission</p> | |
</div> | |
</div> | |
</div> | |
<div> | |
<h3 class="text-md font-medium text-white mb-3">Top Performers</h3> | |
<div class="space-y-3"> | |
<div class="flex items-center justify-between p-3 bg-purple-900 rounded-lg glow-purple"> | |
<div class="flex items-center"> | |
<img class="h-10 w-10 rounded-full border border-bright-purple" src="https://randomuser.me/api/portraits/women/22.jpg" alt="Top performer"> | |
<div class="ml-3"> | |
<p class="text-sm font-medium text-white">Lisa Ray</p> | |
<p class="text-sm text-purple-300">Group 4</p> | |
</div> | |
</div> | |
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-900 text-green-300"> | |
98% Avg | |
</span> | |
</div> | |
<div class="flex items-center justify-between p-3 bg-purple-900 rounded-lg glow-purple"> | |
<div class="flex items-center"> | |
<img class="h-10 w-10 rounded-full border border-bright-purple" src="https://randomuser.me/api/portraits/men/41.jpg" alt="Top performer"> | |
<div class="ml-3"> | |
<p class="text-sm font-medium text-white">Michael Scott</p> | |
<p class="text-sm text-purple-300">Group 7</p> | |
</div> | |
</div> | |
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-900 text-green-300"> | |
96% Avg | |
</span> | |
</div> | |
<div class="flex items-center justify-between p-3 bg-purple-900 rounded-lg glow-purple"> | |
<div class="flex items-center"> | |
<img class="h-10 w-10 rounded-full border border-bright-purple" src="https://randomuser.me/api/portraits/women/35.jpg" alt="Top performer"> | |
<div class="ml-3"> | |
<p class="text-sm font-medium text-white">Sarah Parker</p> | |
<div class="flex items-center"> | |
<p class="text-sm text-purple-300">Group 2</p> | |
<span class="ml-2 px-1 py-0.5 text-xs rounded-full bg-yellow-900 text-yellow-300 animate-pulse">New</span> | |
</div> | |
</div> | |
</div> | |
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-900 text-green-300"> | |
95% Avg | |
</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<script> | |
document.addEventListener('DOMContentLoaded', function() { | |
// Mobile menu toggle would go here | |
// Data fetching and dynamic content updates would go here | |
// Example: Simulate loading data | |
setTimeout(() => { | |
const loadingElements = document.querySelectorAll('.animate-pulse'); | |
loadingElements.forEach(el => el.classList.remove('animate-pulse')); | |
}, 2000); | |
}); | |
</script> | |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=uiforgenzbitches/testing-her" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
</html> |