From f490626b8a2ff360c4a914615484ea6e5bf8cdee Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Sat, 19 Oct 2024 12:38:45 +0200 Subject: Add modern theme --- src/application/templates/modern/login.twig | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/application/templates/modern/login.twig (limited to 'src/application/templates/modern/login.twig') diff --git a/src/application/templates/modern/login.twig b/src/application/templates/modern/login.twig new file mode 100644 index 0000000..83b3f59 --- /dev/null +++ b/src/application/templates/modern/login.twig @@ -0,0 +1,46 @@ +{% set title = __("Log in") %} +{% set formId = "login" %} +{% set formError = getAndClearFormError(formId) %} + +{% extends "base.twig" %} + +{% block content %} + + + +
+ {% if formError %} + {% include "components/alert_error.twig" with { message: formError } %} + {% endif %} +
+ + +
+ + +
+ +
+ + +
+ +
+ + {{ __("I forgot my password") }} +
+ + {% if constant("REGISTRATION_ENABLED") %} +
+ {{ __("Don't have an account? %link%Register now%/link%", { + "link": '', + "/link": '', + }) }} +
+ {% endif %} +
+
+ +{% endblock %} -- cgit v1.2.3