36 lines
1.3 KiB
HTML
Executable File
36 lines
1.3 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Login and Register Form</title>
|
|
<link rel="stylesheet" href="./static/css/styles.css">
|
|
</head>
|
|
<body>
|
|
<div class="form-container">
|
|
<h1>Login Form</h1>
|
|
<form action="/submit" method="post">
|
|
<label for="username">Username:</label><br>
|
|
<input type="text" id="username" name="username" required><br><br>
|
|
|
|
<label for="password">Password:</label><br>
|
|
<input type="password" id="password" name="password" required><br><br>
|
|
|
|
<button type="submit" name="action" value="Login">Login</button>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="form-container">
|
|
<h1>Register Form</h1>
|
|
<form action="/submit" method="post">
|
|
<label for="new_username">Username:</label><br>
|
|
<input type="text" id="new_username" name="new_username" required><br><br>
|
|
|
|
<label for="new_password">Password:</label><br>
|
|
<input type="password" id="new_password" name="new_password" required><br><br>
|
|
|
|
<button type="submit" name="action" value="Register">Register</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html> |