edupulse-pro / dashboard.html
froublot's picture
ameliore le visuel plus fun sur les pages
fd7890a verified
Raw
History Blame Contribute Delete
8.27 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard | EduPulse</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body class="bg-surface-1">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar Component -->
<script src="components/sidebar.js"></script>
<custom-sidebar></custom-sidebar>
<!-- Main Content Area -->
<div class="flex-1 flex flex-col overflow-hidden">
<!-- Header Component -->
<script src="components/header.js"></script>
<custom-header></custom-header>
<!-- Main Workspace -->
<main class="flex-1 overflow-y-auto p-6 bg-gray-100">
<div class="max-w-7xl mx-auto">
<h1 class="text-2xl font-bold text-gray-900 mb-6">Dashboard Overview</h1>
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="card p-6 bg-white rounded-xl shadow-md hover-grow" data-animate>
<div class="flex items-center">
<div class="p-3 rounded-full bg-gradient-to-br from-blue-100 to-blue-200 text-blue-600 mr-4 shadow-inner">
<i class="fas fa-book-open text-lg"></i>
</div>
<div>
<p class="text-sm text-gray-500">Active Courses</p>
<p class="text-2xl font-bold">12</p>
</div>
</div>
</div>
<div class="card p-6 bg-white rounded-lg shadow-sm">
<div class="flex items-center">
<div class="p-3 rounded-full bg-green-100 text-green-600 mr-4">
<i class="fas fa-users"></i>
</div>
<div>
<p class="text-sm text-gray-500">Students</p>
<p class="text-2xl font-bold">142</p>
</div>
</div>
</div>
<div class="card p-6 bg-white rounded-lg shadow-sm">
<div class="flex items-center">
<div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4">
<i class="fas fa-tasks"></i>
</div>
<div>
<p class="text-sm text-gray-500">Assignments</p>
<p class="text-2xl font-bold">24</p>
</div>
</div>
</div>
<div class="card p-6 bg-white rounded-lg shadow-sm">
<div class="flex items-center">
<div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mr-4">
<i class="fas fa-chart-line"></i>
</div>
<div>
<p class="text-sm text-gray-500">Engagement</p>
<p class="text-2xl font-bold">78%</p>
</div>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="card p-6 mb-8">
<h2 class="text-xl font-bold text-gray-900 mb-4">Recent Activity</h2>
<div class="space-y-4">
<div class="flex items-start">
<div class="p-2 rounded-full bg-gray-100 text-gray-600 mr-3">
<i class="fas fa-file-alt"></i>
</div>
<div class="flex-1">
<p class="font-medium">You created a new slide "Advanced Calculus"</p>
<p class="text-sm text-gray-500">2 hours ago</p>
</div>
</div>
<div class="flex items-start">
<div class="p-2 rounded-full bg-gray-100 text-gray-600 mr-3">
<i class="fas fa-check-circle"></i>
</div>
<div class="flex-1">
<p class="font-medium">Student completed assignment "History Essay"</p>
<p class="text-sm text-gray-500">5 hours ago</p>
</div>
</div>
<div class="flex items-start">
<div class="p-2 rounded-full bg-gray-100 text-gray-600 mr-3">
<i class="fas fa-comment"></i>
</div>
<div class="flex-1">
<p class="font-medium">New comment on "Biology Basics"</p>
<p class="text-sm text-gray-500">1 day ago</p>
</div>
</div>
</div>
</div>
<!-- Quick Actions -->
<div class="card p-6">
<h2 class="text-xl font-bold text-gray-900 mb-4">Quick Actions</h2>
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
<a href="slides.html" class="flex flex-col items-center justify-center p-4 rounded-lg bg-gray-50 hover:bg-gray-100 transition">
<div class="p-3 rounded-full bg-blue-100 text-blue-600 mb-2">
<i class="fas fa-file-alt"></i>
</div>
<span class="text-sm font-medium">New Slide</span>
</a>
<a href="blocks.html" class="flex flex-col items-center justify-center p-4 rounded-lg bg-gray-50 hover:bg-gray-100 transition">
<div class="p-3 rounded-full bg-green-100 text-green-600 mb-2">
<i class="fas fa-th"></i>
</div>
<span class="text-sm font-medium">New Block</span>
</a>
<a href="assessments.html" class="flex flex-col items-center justify-center p-4 rounded-lg bg-gray-50 hover:bg-gray-100 transition">
<div class="p-3 rounded-full bg-purple-100 text-purple-600 mb-2">
<i class="fas fa-edit"></i>
</div>
<span class="text-sm font-medium">New Quiz</span>
</a>
<a href="#" class="flex flex-col items-center justify-center p-4 rounded-lg bg-gray-50 hover:bg-gray-100 transition">
<div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mb-2">
<i class="fas fa-bolt"></i>
</div>
<span class="text-sm font-medium">AI Assistant</span>
</a>
</div>
</div>
</div>
</main>
</div>
</div>
<script src="components/sidebar.js"></script>
<script src="components/header.js"></script>
<script src="script.js"></script>
</body>
</html>