-
Notifications
You must be signed in to change notification settings - Fork 93
/
login.html
24 lines (24 loc) · 1.59 KB
/
login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Page</title>
</head>
<body style="font-family: Arial, sans-serif; background-color: #f2f2f2; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0;">
<div style="background-color: white; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); width: 300px; text-align: center;">
<h2 style="margin-bottom: 20px; font-size: 24px; color: #333;">Login</h2>
<form action="/login" method="POST">
<div style="margin-bottom: 15px; text-align: left;">
<label for="username" style="display: block; margin-bottom: 5px; font-weight: bold;">Username</label>
<input type="text" id="username" name="username" required style="width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;">
</div>
<div style="margin-bottom: 15px; text-align: left;">
<label for="password" style="display: block; margin-bottom: 5px; font-weight: bold;">Password</label>
<input type="password" id="password" name="password" required style="width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;">
</div>
<button type="submit" style="width: 100%; padding: 10px; background-color: #4CAF50; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 16px;">Login</button>
</form>
</div>
</body>
</html>