ila / student-portal.html
buosam's picture
Iraq Leadership Academy Website, Login and Signup, latest Programs, Latest Announcements, Student Portal, Admin Dashboard, make it sleek design, Professional - Initial Deployment
da8124d verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Portal - Iraq Leadership Academy</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;
}
.sidebar-collapsed {
width: 5rem;
}
.sidebar-expanded {
width: 16rem;
}
.main-content {
transition: margin-left 0.3s;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
</style>
</head>
<body class="bg-gray-50 font-sans antialiased">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div id="sidebar" class="sidebar sidebar-expanded bg-blue-800 text-white flex flex-col">
<div class="flex items-center justify-between p-4 border-b border-blue-700">
<div class="flex items-center">
<i data-feather="award" class="h-8 w-8 text-white"></i>
<span class="ml-2 text-xl font-bold">ILA Portal</span>
</div>
<button id="toggle-sidebar" class="text-blue-200 hover:text-white">
<i data-feather="chevron-left"></i>
</button>
</div>
<div class="flex-1 overflow-y-auto">
<nav class="p-4 space-y-1">
<a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-md bg-blue-700 text-white">
<i data-feather="home" class="mr-3"></i>
<span>Dashboard</span>
</a>
<a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-md text-blue-200 hover:bg-blue-700 hover:text-white">
<i data-feather="book" class="mr-3"></i>
<span>My Courses</span>
</a>
<a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-md text-blue-200 hover:bg-blue-700 hover:text-white">
<i data-feather="calendar" class="mr-3"></i>
<span>Schedule</span>
</a>
<a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-md text-blue-200 hover:bg-blue-700 hover:text-white">
<i data-feather="file-text" class="mr-3"></i>
<span>Assignments</span>
</a>
<a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-md text-blue-200 hover:bg-blue-700 hover:text-white">
<i data-feather="bar-chart-2" class="mr-3"></i>
<span>Progress</span>
</a>
<a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-md text-blue-200 hover:bg-blue-700 hover:text-white">
<i data-feather="message-square" class="mr-3"></i>
<span>Messages</span>
</a>
<a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-md text-blue-200 hover:bg-blue-700 hover:text-white">
<i data-feather="settings" class="mr-3"></i>
<span>Settings</span>
</a>
</nav>
</div>
<div class="p-4 border-t border-blue-700">
<div class="flex items-center">
<img class="h-9 w-9 rounded-full" src="http://static.photos/people/200x200/1" alt="User profile">
<div class="ml-3">
<p class="text-sm font-medium text-white">Ahmed Al-Mansour</p>
<a href="#" class="text-xs font-medium text-blue-200 hover:text-white">View profile</a>
</div>
</div>
<button class="mt-4 w-full flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-blue-700 bg-white hover:bg-gray-50">
<i data-feather="log-out" class="mr-2"></i>
Sign out
</button>
</div>
</div>
<!-- Main Content -->
<div id="main-content" class="main-content flex-1 overflow-auto">
<!-- Top Navigation -->
<header class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 flex justify-between items-center">
<h1 class="text-lg font-semibold text-gray-900">Student Dashboard</h1>
<div class="flex items-center space-x-4">
<button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<i data-feather="bell"></i>
</button>
<button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<i data-feather="help-circle"></i>
</button>
</div>
</div>
</header>
<!-- Dashboard Content -->
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<!-- Welcome Banner -->
<div class="bg-blue-50 rounded-lg p-6 mb-8">
<div class="flex items-center">
<div class="flex-shrink-0">
<i data-feather="sun" class="h-10 w-10 text-blue-600"></i>
</div>
<div class="ml-4">
<h2 class="text-xl font-bold text-gray-900">Good morning, Ahmed!</h2>
<p class="mt-1 text-sm text-gray-600">You have 2 new messages and 1 upcoming assignment.</p>
</div>
</div>
</div>
<!-- Stats -->
<div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4 mb-8">
<!-- Current Course -->
<div class="bg-white overflow-hidden shadow rounded-lg card-hover">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-blue-500 rounded-md p-3">
<i data-feather="book-open" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">Current Course</dt>
<dd class="flex items-baseline">
<div class="text-xl font-semibold text-gray-900">Leadership 101</div>
</dd>
</div>
</div>
</div>
</div>
<!-- Progress -->
<div class="bg-white overflow-hidden shadow rounded-lg card-hover">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-green-500 rounded-md p-3">
<i data-feather="trending-up" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">Course Progress</dt>
<dd class="flex items-baseline">
<div class="text-xl font-semibold text-gray-900">78%</div>
</dd>
</div>
</div>
</div>
</div>
<!-- Upcoming -->
<div class="bg-white overflow-hidden shadow rounded-lg card-hover">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-yellow-500 rounded-md p-3">
<i data-feather="clock" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">Upcoming</dt>
<dd class="flex items-baseline">
<div class="text-xl font-semibold text-gray-900">3 Items</div>
</dd>
</div>
</div>
</div>
</div>
<!-- Messages -->
<div class="bg-white overflow-hidden shadow rounded-lg card-hover">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
<i data-feather="mail" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">New Messages</dt>
<dd class="flex items-baseline">
<div class="text-xl font-semibold text-gray-900">2</div>
</dd>
</div>
</div>
</div>
</div>
</div>
<!-- Courses Section -->
<div class="mb-8">
<h2 class="text-lg font-medium text-gray-900 mb-4">Your Courses</h2>
<div class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
<!-- Course 1 -->
<div class="bg-white overflow-hidden shadow rounded-lg card-hover">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-blue-100 rounded-md p-3">
<i data-feather="book" class="h-6 w-6 text-blue-600"></i>
</div>
<div class="ml-4">
<h3 class="text-lg leading-6 font-medium text-gray-900">Leadership 101</h3>
<p class="mt-1 text-sm text-gray-500">Fundamentals of Leadership</p>
</div>
</div>
<div class="mt-6">
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 78%"></div>
</div>
<div class="flex justify-between text-sm text-gray-500 mt-2">
<span>78% Complete</span>
<span>Week 6 of 8</span>
</div>
</div>
<div class="mt-6">
<a href="#" class="w-full inline-flex justify-center items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Continue Course
</a>
</div>
</div>
</div>
<!-- Course 2 -->
<div class="bg-white overflow-hidden shadow rounded-lg card-hover">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-green-100 rounded-md p-3">
<i data-feather="mic" class="h-6 w-6 text-green-600"></i>
</div>
<div class="ml-4">
<h3 class="text-lg leading-6 font-medium text-gray-900">Public Speaking</h3>
<p class="mt-1 text-sm text-gray-500">Mastering Communication</p>
</div>
</div>
<div class="mt-6">
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-green-600 h-2.5 rounded-full" style="width: 45%"></div>
</div>
<div class="flex justify-between text-sm text-gray-500 mt-2">
<span>45% Complete</span>
<span>Week 3 of 6</span>
</div>
</div>
<div class="mt-6">
<a href="#" class="w-full inline-flex justify-center items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Continue Course
</a>
</div>
</div>
</div>
<!-- Course 3 -->
<div class="bg-white overflow-hidden shadow rounded-lg card-hover">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-purple-100 rounded-md p-3">
<i data-feather="globe" class="h-6 w-6 text-purple-600"></i>
</div>
<div class="ml-4">
<h3 class="text-lg leading-6 font-medium text-gray-900">Global Perspectives</h3>
<p class="mt-1 text-sm text-gray-500">International Leadership</p>
</div>
</div>
<div class="mt-6">
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-purple-600 h-2.5 rounded-full" style="width: 15%"></div>
</div>
<div class="flex justify-between text-sm text-gray-500 mt-2">
<span>15% Complete</span>
<span>Week 1 of 10</span>
</div>
</div>
<div class="mt-6">
<a href="#" class="w-full inline-flex justify-center items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Start Course
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Upcoming Events -->
<div class="mb-8">
<h2 class="text-lg font-medium text-gray-900 mb-4">Upcoming Events</h2>
<div class="bg-white shadow overflow-hidden sm:rounded-lg">
<ul class="divide-y divide-gray-200">
<li>
<div class="px-4 py-4 sm:px-6">
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="flex-shrink-0 bg-blue-100 rounded-md p-2">
<i data-feather="calendar" class="h-5 w-5 text-blue-600"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-blue-600 truncate">Leadership Workshop</p>
<p class="text-sm text-gray-500">Guest Speaker: Dr. Ali Hassan</p>
</div>
</div>
<div class="ml-2 flex-shrink-0 flex">
<p class="text-sm text-gray-500">Tomorrow, 2:00 PM</p>
</div>
</div>
</div>
</li>
<li>
<div class="px-4 py-4 sm:px-6">
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="flex-shrink-0 bg-green-100 rounded-md p-2">
<i data-feather="edit" class="h-5 w-5 text-green-600"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-green-600 truncate">Assignment Due</p>
<p class="text-sm text-gray-500">Leadership Reflection Paper</p>
</div>
</div>
<div class="ml-2 flex-shrink-0 flex">
<p class="text-sm text-gray-500">In 3 days</p>
</div>
</div>
</div>
</li>
<li>
<div class="px-4 py-4 sm:px-6">
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="flex-shrink-0 bg-purple-100 rounded-md p-2">
<i data-feather="users" class="h-5 w-5 text-purple-600"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-purple-600 truncate">Group Project Meeting</p>
<p class="text-sm text-gray-500">Team: Vision 2030</p>
</div>
</div>
<div class="ml-2 flex-shrink-0 flex">
<p class="text-sm text-gray-500">Next Monday, 4:30 PM</p>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
</main>
</div>
</div>
<script>
// Initialize AOS and Feather Icons
AOS.init();
feather.replace();
// Toggle sidebar
document.getElementById('toggle-sidebar').addEventListener('click', function() {
const sidebar = document.getElementById('sidebar');
const mainContent = document.getElementById('main-content');
sidebar.classList.toggle('sidebar-collapsed');
sidebar.classList.toggle('sidebar-expanded');
// Change icon based on state
const icon = this.querySelector('i');
if (sidebar.classList.contains('sidebar-collapsed')) {
icon.setAttribute('data-feather', 'chevron-right');
mainContent.style.marginLeft = '5rem';
} else {
icon.setAttribute('data-feather', 'chevron-left');
mainContent.style.marginLeft = '16rem';
}
feather.replace();
});
</script>
</body>
</html>