-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.html
More file actions
56 lines (55 loc) · 1.85 KB
/
admin.html
File metadata and controls
56 lines (55 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Admin Login - InvoicePro</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<style>
body {
background: linear-gradient(to right, #4facfe, #00f2fe);
font-family: 'Inter', sans-serif;
}
.login-card {
max-width: 400px;
margin: auto;
margin-top: 10vh;
background: white;
border-radius: 20px;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.form-control:focus {
border-color: #007bff;
box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.logo {
font-size: 2rem;
font-weight: 600;
color: #007bff;
}
</style>
</head>
<body>
<div class="login-card p-4">
<div class="text-center mb-4">
<div class="logo">🔐 InvoicePro Admin</div>
<p class="text-muted">Please login to continue</p>
</div>
<div id="loginError" class="alert alert-danger d-none" role="alert"></div>
<form onsubmit="return handleLogin(event)">
<div class="mb-3 form-floating">
<input type="text" class="form-control" id="username" placeholder="Username" required>
<label for="username">Username</label>
</div>
<div class="mb-3 form-floating">
<input type="password" class="form-control" id="password" placeholder="Password" required>
<label for="password">Password</label>
</div>
<button type="submit" class="btn btn-primary w-100">Login</button>
</form>
</div>
<script src="admin.js"></script>
</body>
</html>