34406-vm/index.php
Flatlogic Bot ebd5b3cc82 1
2025-09-26 05:49:41 +00:00

56 lines
2.7 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Unified login for the School Management System for students, teachers, staff, and admins.">
<meta property="og:title" content="Login - School Management System">
<meta property="og:description" content="Access your dashboard for the School Management System.">
<meta property="og:image" content="https://picsum.photos/seed/schoolhero/1200/630">
<meta property="og:url" content="[YOUR_APP_URL]">
<meta property="og:type" content="website">
<title>Login - School Management System</title>
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎓</text></svg>">
</head>
<body>
<div class="login-container">
<div class="login-card">
<img src="https://picsum.photos/seed/schoollogo/200/50" alt="School Management System Logo" class="logo">
<h1>Welcome Back!</h1>
<p class="tagline">Your central hub for school management.</p>
<div id="error-message"></div>
<form id="loginForm" action="login.php" method="POST">
<div class="form-group">
<label for="role">I am a:</label>
<select id="role" name="role" class="form-select" required>
<option value="" disabled selected>Select your role</option>
<option value="admin">Admin</option>
<option value="teacher">Teacher</option>
<option value="student">Student</option>
<option value="staff">Staff</option>
</select>
</div>
<div class="form-group">
<label for="username">User ID / Email:</label>
<input type="text" id="username" name="username" class="form-control" required>
</div>
<div class="form-group">
<label for="password">Password:</label>
<input type="password" id="password" name="password" class="form-control" required>
</div>
<button type="submit" class="btn-login">Login</button>
</form>
</div>
</div>
<footer class="footer">
<p>&copy; <?php echo date("Y"); ?> School Management System. All Rights Reserved.</p>
</footer>
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>