From b47652f0591deef2441b779927ab7e67a68df4b7 Mon Sep 17 00:00:00 2001 From: Jan Rosier Date: Sun, 31 Aug 2025 17:55:37 +0200 Subject: [PATCH] [Bootstrap v5] Update login page --- assets/styles/app.scss | 37 -------------------- templates/security/login.html.twig | 56 ++++++++++++++---------------- 2 files changed, 27 insertions(+), 66 deletions(-) diff --git a/assets/styles/app.scss b/assets/styles/app.scss index 8b8377c48..d417de053 100644 --- a/assets/styles/app.scss +++ b/assets/styles/app.scss @@ -439,38 +439,6 @@ body#homepage .jumbotron P { ------------------------------------------------------------------------- */ body#login #login-users-help p { font-size: 15px; - line-height: 1.42857 -} - -body#login #login-users-help p:last-child { - margin-bottom: 0 -} - -body#login #login-users-help p .label { - margin-right: 5px -} - -body#login #login-users-help p .console { - display: block; - margin: 5px 0; - padding: 10px -} - -body#login .form-group-password { - position: relative; -} -body#login .form-group-password input { - padding-right: 48px; -} -body#login .form-group-password button { - background: transparent; - border: 0; - color: var(--text-color); - height: 45px; - outline: 0; - position: absolute; - bottom: 0; - right: 0; } body#login #login-help table td { @@ -604,8 +572,3 @@ body#blog_search .post-metadata { font-size: 16px; margin-bottom: 8px; } - -.input-group button.btn { - padding-bottom: 0; - padding-top: 0; -} diff --git a/templates/security/login.html.twig b/templates/security/login.html.twig index 5dc02f1ab..502247a0c 100644 --- a/templates/security/login.html.twig +++ b/templates/security/login.html.twig @@ -4,42 +4,42 @@ {% block main %} {% if error %} -
+ {% endif %} {# - This references the Stimulus controller defined in - "assets/controllers/login-controller.js". + This references the Stimulus controller defined in "assets/controllers/login-controller.js". See https://symfony.com/bundles/StimulusBundle/current/index.html - More info on Symfony UX https://ux.symfony.com + For more info on Symfony UX see https://ux.symfony.com #} -
+
{{ 'title.login'|trans }} -
- - +
+ +
-
- - - +
+ +
+ + +
-
- +
+ +
- - + + + @@ -89,18 +89,16 @@
-

- {{ 'note'|trans }} - {{ 'help.reload_fixtures'|trans }}
- - $ php bin/console doctrine:fixtures:load +

+ {{ 'note'|trans }} + {{ 'help.reload_fixtures'|trans }}
+ $ php bin/console doctrine:fixtures:load

-

- {{ 'tip'|trans }} - {{ 'help.add_user'|trans }}
- - $ php bin/console app:add-user +

+ {{ 'tip'|trans }} + {{ 'help.add_user'|trans }}
+ $ php bin/console app:add-user