edusultan-erp / login.html
inalik's picture
Create a complete, production-ready School Management System web application with the following specifications:
1d7fce6 verified
Raw
History Blame Contribute Delete
3.47 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login | EduSultan ERP</title>
<link rel="stylesheet" href="/static/css/login.css">
</head>
<body class="login-page bg-gradient-to-r from-blue-500 to-blue-700">
<div class="language-switcher absolute top-4 right-4">
<button class="lang-btn bg-white px-3 py-1 rounded-md mr-2">FR</button>
<button class="lang-btn bg-white px-3 py-1 rounded-md">عربية</button>
</div>
<div class="login-container bg-white p-8 rounded-lg shadow-xl">
<div class="logo mb-6 text-center">
<img src="/static/images/logo.png" alt="EduSultan Logo" class="h-16 mx-auto">
<h1 class="text-2xl font-bold mt-2 text-gray-800">EduSultan ERP</h1>
</div>
<form id="loginForm" class="space-y-4">
<div>
<label for="email" class="block text-sm font-medium text-gray-700">Email</label>
<input type="email" id="email" name="email" required
class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm">
</div>
<div>
<label for="password" class="block text-sm font-medium text-gray-700">Password</label>
<input type="password" id="password" name="password" required
class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm">
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<input id="remember" name="remember" type="checkbox"
class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
<label for="remember" class="ml-2 block text-sm text-gray-700">Remember me</label>
</div>
<div class="text-sm">
<a href="/forgot-password" class="font-medium text-blue-600 hover:text-blue-500">
Forgot password?
</a>
</div>
</div>
<div>
<button type="submit"
class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700">
Sign in
</button>
</div>
<div class="text-center text-sm text-gray-600">
<p>Don't have an account? <a href="/register" class="text-blue-600">Contact admin</a></p>
</div>
</form>
<div class="role-selector mt-6 text-center">
<p class="text-sm text-gray-500">Select role to see demo:</p>
<div class="flex justify-center space-x-2 mt-2">
<button class="role-btn px-3 py-1 bg-gray-100 rounded-md text-xs">Admin</button>
<button class="role-btn px-3 py-1 bg-gray-100 rounded-md text-xs">Teacher</button>
<button class="role-btn px-3 py-1 bg-gray-100 rounded-md text-xs">Student</button>
<button class="role-btn px-3 py-1 bg-gray-100 rounded-md text-xs">Parent</button>
</div>
</div>
</div>
<script src="/static/js/login.js"></script>
</body>
</html>