WebAdminPanel/templates/login.html

33 lines
1.2 KiB
HTML
Raw Normal View History

2022-12-02 16:11:12 -05:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>Login page</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="static/css/login.css" rel="stylesheet">
<!-- Fonts -->
<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=Roboto&display=swap" rel="stylesheet">
</head>
<body>
<div class="form-box">
<h1 id="title">Sign In</h1>
<form action="/login" method="post" class="login">
<input type="text" name="username" placeholder="Enter username" class="inputfield" required>
<input type="password" name="password" placeholder="Enter password" class="inputfield" required>
{% for message in get_flashed_messages()%}
2022-12-11 08:48:03 -05:00
<div id="error_message">{{ message }}</div>
2022-12-02 16:11:12 -05:00
{% endfor %}
<button type="submit" id="sumbit-button">Log in</button>
</form>
</div>
</body>
</html>