eduplus / students.html
ismio's picture
build fully school management system with fully re=ich reports - Initial Deployment
8fd60d9 verified
Raw History Blame Contribute Delete
23.9 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Students | EduManage</title>
<script src="https://cdn.tailwindcss.com"></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://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.sidebar {
transition: all 0.3s ease;
}
.sidebar-mini {
width: 80px;
}
.sidebar-full {
width: 250px;
}
.main-content {
transition: all 0.3s ease;
}
.content-expanded {
margin-left: 250px;
}
.content-collapsed {
margin-left: 80px;
}
.student-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.avatar {
transition: all 0.3s ease;
}
.student-card:hover .avatar {
transform: scale(1.05);
}
</style>
</head>
<body class="bg-gray-50">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div id="sidebar" class="sidebar sidebar-full bg-indigo-800 text-white fixed h-full">
<div class="p-4 flex items-center justify-between border-b border-indigo-700">
<div class="flex items-center space-x-2">
<i data-feather="book-open" class="w-6 h-6"></i>
<span class="text-xl font-bold">EduManage</span>
</div>
<button id="toggleSidebar" class="text-white focus:outline-none">
<i data-feather="chevron-left" class="w-5 h-5"></i>
</button>
</div>
<div class="p-4">
<div class="flex items-center space-x-3 mb-6">
<img src="http://static.photos/people/200x200/1" alt="User" class="w-10 h-10 rounded-full">
<div>
<p class="font-medium">Admin User</p>
<p class="text-xs text-indigo-300">Super Admin</p>
</div>
</div>
<nav>
<ul class="space-y-2">
<li>
<a href="index.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
<i data-feather="home" class="w-5 h-5"></i>
<span>Dashboard</span>
</a>
</li>
<li>
<a href="#" class="flex items-center space-x-3 p-2 rounded bg-indigo-700">
<i data-feather="users" class="w-5 h-5"></i>
<span>Students</span>
</a>
</li>
<li>
<a href="teachers.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
<i data-feather="user" class="w-5 h-5"></i>
<span>Teachers</span>
</a>
</li>
<li>
<a href="classes.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
<i data-feather="book" class="w-5 h-5"></i>
<span>Classes</span>
</a>
</li>
<li>
<a href="attendance.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
<i data-feather="check-square" class="w-5 h-5"></i>
<span>Attendance</span>
</a>
</li>
<li>
<a href="grades.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
<i data-feather="award" class="w-5 h-5"></i>
<span>Grades</span>
</a>
</li>
<li>
<a href="reports.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
<i data-feather="file-text" class="w-5 h-5"></i>
<span>Reports</span>
</a>
</li>
<li>
<a href="settings.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
<i data-feather="settings" class="w-5 h-5"></i>
<span>Settings</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
<!-- Main Content -->
<div id="mainContent" class="main-content content-expanded flex-1 overflow-auto">
<!-- Top Navigation -->
<header class="bg-white shadow-sm">
<div class="flex items-center justify-between p-4">
<div class="flex items-center space-x-4">
<h1 class="text-2xl font-bold text-gray-800">Students</h1>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<i data-feather="search" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
<input type="text" placeholder="Search students..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500">
</div>
<button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
<i data-feather="bell" class="w-5 h-5"></i>
</button>
<div class="flex items-center space-x-2">
<img src="http://static.photos/people/200x200/1" alt="User" class="w-8 h-8 rounded-full">
<span class="font-medium">Admin</span>
</div>
</div>
</div>
</header>
<!-- Students Content -->
<main class="p-6">
<!-- Student Management Header -->
<div class="flex flex-col md:flex-row items-start md:items-center justify-between mb-6">
<div>
<h2 class="text-xl font-semibold">Student Management</h2>
<p class="text-gray-600">Manage all student records, profiles, and information</p>
</div>
<div class="flex space-x-3 mt-4 md:mt-0">
<div class="relative">
<select class="appearance-none bg-white border border-gray-300 rounded-lg pl-3 pr-8 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<option>All Grades</option>
<option>Grade 1</option>
<option>Grade 2</option>
<option>Grade 3</option>
<option>Grade 4</option>
<option>Grade 5</option>
</select>
<i data-feather="chevron-down" class="absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-4 h-4"></i>
</div>
<button class="flex items-center space-x-1 px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">
<i data-feather="plus" class="w-4 h-4"></i>
<span>Add Student</span>
</button>
</div>
</div>
<!-- Student Stats -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-4 mb-6">
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-gray-500">Total Students</p>
<h3 class="text-2xl font-bold">1,245</h3>
</div>
<div class="p-3 rounded-full bg-indigo-100 text-indigo-600">
<i data-feather="users" class="w-5 h-5"></i>
</div>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-gray-500">New This Month</p>
<h3 class="text-2xl font-bold">42</h3>
</div>
<div class="p-3 rounded-full bg-green-100 text-green-600">
<i data-feather="user-plus" class="w-5 h-5"></i>
</div>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-gray-500">Active Students</p>
<h3 class="text-2xl font-bold">1,198</h3>
</div>
<div class="p-3 rounded-full bg-blue-100 text-blue-600">
<i data-feather="user-check" class="w-5 h-5"></i>
</div>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-gray-500">Inactive Students</p>
<h3 class="text-2xl font-bold">47</h3>
</div>
<div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
<i data-feather="user-x" class="w-5 h-5"></i>
</div>
</div>
</div>
</div>
<!-- Student List -->
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<!-- Student List Header -->
<div class="px-6 py-4 border-b border-gray-200 flex flex-col md:flex-row items-start md:items-center justify-between">
<div class="mb-3 md:mb-0">
<h3 class="text-lg font-semibold">All Students</h3>
<p class="text-sm text-gray-500">Showing 1 to 10 of 1,245 students</p>
</div>
<div class="flex items-center space-x-3">
<div class="relative">
<select class="appearance-none bg-white border border-gray-300 rounded-lg pl-3 pr-8 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<option>Sort by: Newest</option>
<option>Sort by: Oldest</option>
<option>Sort by: Name</option>
<option>Sort by: Grade</option>
</select>
<i data-feather="chevron-down" class="absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-4 h-4"></i>
</div>
<button class="p-2 rounded-lg bg-gray-100 text-gray-600 hover:bg-gray-200">
<i data-feather="filter" class="w-5 h-5"></i>
</button>
</div>
</div>
<!-- Student Table -->
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Student</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">ID</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Grade</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">GPA</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr class="hover:bg-gray-50">
<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" src="http://static.photos/people/200x200/101" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Emily Johnson</div>
<div class="text-sm text-gray-500">emily.j@example.com</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">#STD2023001</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-indigo-100 text-indigo-800">Grade 12</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-100 text-green-800">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<div class="flex items-center">
<span class="font-medium">3.8</span>
<i data-feather="trending-up" class="w-4 h-4 ml-1 text-green-500"></i>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<div class="flex space-x-2">
<button class="text-indigo-600 hover:text-indigo-900">
<i data-feather="eye" class="w-4 h-4"></i>
</button>
<button class="text-blue-600 hover:text-blue-900">
<i data-feather="edit" class="w-4 h-4"></i>
</button>
<button class="text-red-600 hover:text-red-900">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</td>
</tr>
<tr class="hover:bg-gray-50">
<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" src="http://static.photos/people/200x200/102" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Michael Smith</div>
<div class="text-sm text-gray-500">michael.s@example.com</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">#STD2023002</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-blue-100 text-blue-800">Grade 11</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-100 text-green-800">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<div class="flex items-center">
<span class="font-medium">3.5</span>
<i data-feather="trending-up" class="w-4 h-4 ml-1 text-green-500"></i>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<div class="flex space-x-2">
<button class="text-indigo-600 hover:text-indigo-900">
<i data-feather="eye" class="w-4 h-4"></i>
</button>
<button class="text-blue-600 hover:text-blue-900">
<i data-feather="edit" class="w-4 h-4"></i>
</button>
<button class="text-red-600 hover:text-red-900">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</td>
</tr>
<tr class="hover:bg-gray-50">
<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" src="http://static.photos/people/200x200/103" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Sarah Williams</div>
<div class="text-sm text-gray-500">sarah.w@example.com</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">#STD2023003</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-green-100 text-green-800">Grade 10</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-100 text-green-800">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<div class="flex items-center">
<span class="font-medium">3.9</span>
<i data-feather="trending-up" class="w-4 h-4 ml-1 text-green-500"></i>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<div class="flex space-x-2">
<button class="text-indigo-600 hover:text-indigo-900">
<i data-feather="eye" class="w-4 h-4"></i>
</button>
<button class="text-blue-600 hover:text-blue-900">
<i data-feather="edit" class="w-4 h-4"></i>
</button>
<button class="text-red-600 hover:text-red-900">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0
</body>
</html>