From 2d22158dd95f76399f5716d556be60c77da04a46 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Thu, 30 Jul 2026 16:03:32 +0200 Subject: Admin ui --- authentication/templates/login.html | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'authentication/templates/login.html') diff --git a/authentication/templates/login.html b/authentication/templates/login.html index 2db2512..dcc0efd 100644 --- a/authentication/templates/login.html +++ b/authentication/templates/login.html @@ -1,18 +1,13 @@ {% extends "./base.html" %} +{% import 'macros.html' as ui %} {% block content %} +

Sign in

+

Enter your credentials to manage this server.

- - - {% if errors and errors.username %} - {{ errors.username }} - {% endif %} - - - - {% if errors and errors.password%} - {{ errors.password }} - {% endif %} - + {{ ui.field('username', label='Username', value=form.username if form else '', error=errors.username if errors else '') }} + {{ ui.field('password', type='password', label='Password', error=errors.password if errors else '') }} + {{ ui.button('Sign in') }}
-{% endblock %} +

New here? Create an account

+{% endblock %} -- cgit v1.2.3