36675-vm/login.php
Flatlogic Bot 496d2ec7e5 1.0
2025-12-05 06:45:47 +00:00

64 lines
3.2 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - Focuz Order Management</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="assets/css/custom.css">
</head>
<body class="bg-light-gray">
<div class="container-fluid">
<div class="row vh-100 justify-content-center align-items-center">
<div class="col-11 col-sm-8 col-md-6 col-lg-5 col-xl-4">
<div class="card border-0 shadow-sm p-4" style="border-radius: 0.5rem;">
<div class="card-body">
<div class="text-center mb-4">
<i class="bi bi-box-seam-fill text-primary" style="font-size: 3rem;"></i>
<h1 class="h3 mb-1 fw-bold">Focuz Order Management</h1>
<p class="text-muted">Please sign in to continue</p>
</div>
<?php
session_start();
if (isset($_SESSION['login_error'])):
?>
<div class="alert alert-danger" role="alert">
<?php
echo htmlspecialchars($_SESSION['login_error']);
unset($_SESSION['login_error']);
?>
</div>
<?php endif; ?>
<form action="auth.php" method="POST">
<div class="mb-3">
<label for="email" class="form-label">Email address</label>
<input type="email" class="form-control" id="email" name="email" required>
</div>
<div class="mb-3">
<label for="password" class="form-label">Password</label>
<input type="password" class="form-control" id="password" name="password" required>
</div>
<div class="d-grid">
<button type="submit" class="btn btn-primary">Sign in</button>
</div>
</form>
<div class="text-center mt-3">
<small class="text-muted">Default credentials: admin@example.com / password</small>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>