assettrack/templates/login.html
candifloss 0b571c1c07 SQL table-based auth
The auth is now done against the table in the db
instead of hard-coded values
2025-03-17 10:14:04 +05:30

35 lines
960 B
HTML

<!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>
<div class="left-container">
<img src="../images/logo2.png" alt="Company Logo" class="logo">
<h1>Inventory Manager</h1>
<p>Inventory management system</p>
</div>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class="alert alert-{{ category }}">{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}
<div class="login-container">
<h2>Login</h2>
<form action="/login" method="post">
<input type="text" name="username" placeholder="Username" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit">Login</button>
</form>
</div>
</body>
</html>