tgadmin/webadmin/templates/login.html

22 lines
735 B
HTML
Raw Normal View History

2024-07-25 12:19:15 +00:00
{% extends "base.html" %}
{% block title %}Login{% endblock %}
{% block content %}
<div class="form-container">
<h2>Login</h2>
{% if error %}
<div class="alert error show">
{{ error }}
</div>
{% endif %}
<form method="post" action="/login">
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<button type="submit">Login</button>
</form>
<p>Don't have an account? <a href="/register">Register here</a></p>
</div>
{% endblock %}