index html
index html
DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Login Hotspot</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
padding: 50px;
}
.login-container {
display: inline-block;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
background-color: #f9f9f9;
}
input[type="text"], input[type="password"] {
padding: 10px;
margin: 10px;
width: 200px;
border-radius: 5px;
border: 1px solid #ddd;
}
input[type="submit"] {
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="login-container">
<h2>Login Hotspot</h2>
<form method="POST" action="/login">
<input type="text" name="username" placeholder="Username" required><br>
<input type="password" name="password" placeholder="Password"
required><br>
<input type="submit" value="Login">
</form>
</div>
</body>
</html>