19 lines
623 B
HTML
19 lines
623 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Login - Status Monitor{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>Login</h2>
|
|
{% if error %}
|
|
<p class="error">{{ error }}</p>
|
|
{% endif %}
|
|
<form method="post" action="{{ url_for('login') }}" class="login-form">
|
|
<input type="hidden" name="next" value="{{ request.args.get('next') or '' }}">
|
|
<label for="username">Username</label>
|
|
<input type="text" id="username" name="username" required autofocus>
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" name="password" required>
|
|
<button type="submit">Log in</button>
|
|
</form>
|
|
{% endblock %}
|