assettrack/templates/login.html
candifloss 4ffc68d5f2 Add: Branding config
- App name
- Tagline
- Large Logo (for Login page)
- Small Logo (for header)
2025-04-03 11:33:57 +05:30

37 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ brandingconfig.APP_NAME }} - Login</title>
</head>
<body>
<div class="left-container">
<img src="{{ url_for('static', filename=brandingconfig.LOGIN_LOGO) }}"
alt="{{ brandingconfig.APP_NAME }} Logo"
class="logo">
<h1>{{ brandingconfig.APP_NAME }}</h1>
<p>{{ brandingconfig.TAGLINE }}</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>