27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Sign in — {{ settings.APP_NAME }}{% endblock %}
|
|
{% block content %}
|
|
<div class="login-screen">
|
|
<div class="login-wrap">
|
|
<h1 class="login-greeting">{{ greeting }}, stranger</h1>
|
|
<div class="auth-card">
|
|
<h2 class="auth-title">Sign in to Home Lab</h2>
|
|
{% if error %}<div class="form-error">{{ error }}</div>{% endif %}
|
|
<form method="post" action="/login" autocomplete="on">
|
|
<input type="hidden" name="next" value="{{ next }}">
|
|
<div class="form-field">
|
|
<label for="username">Username</label>
|
|
<input class="text-input" type="text" id="username" name="username"
|
|
required autofocus autocomplete="username">
|
|
</div>
|
|
<div class="form-field">
|
|
<label for="password">Password</label>
|
|
<input class="text-input" type="password" id="password" name="password"
|
|
required autocomplete="current-password">
|
|
</div>
|
|
<button class="button button-primary width-full" type="submit">Sign in</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |