From 5af179aa49f9ff840f4769e6c15238031c4deaf1 Mon Sep 17 00:00:00 2001 From: Dariusz Szut Date: Fri, 18 Sep 2020 12:00:13 +0200 Subject: [PATCH 1/2] EZP-31880: Login screen - change the order of items found by access key --- .../admin/account/login/index.html.twig | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/src/bundle/Resources/views/themes/admin/account/login/index.html.twig b/src/bundle/Resources/views/themes/admin/account/login/index.html.twig index 85d98ca3a7..8c9687ec23 100644 --- a/src/bundle/Resources/views/themes/admin/account/login/index.html.twig +++ b/src/bundle/Resources/views/themes/admin/account/login/index.html.twig @@ -13,30 +13,32 @@
-
- - + From 5a001ddaf34af2cb8add298fd55c4956efe902be Mon Sep 17 00:00:00 2001 From: Dariusz Szut Date: Fri, 18 Sep 2020 12:28:49 +0200 Subject: [PATCH 2/2] added cancel in forgot password --- src/bundle/Resources/public/scss/_login.scss | 8 +++-- .../Resources/translations/messages.en.xliff | 30 ++++--------------- .../account/forgot_password/index.html.twig | 4 ++- 3 files changed, 14 insertions(+), 28 deletions(-) diff --git a/src/bundle/Resources/public/scss/_login.scss b/src/bundle/Resources/public/scss/_login.scss index 1b7f99e02e..2156508c00 100644 --- a/src/bundle/Resources/public/scss/_login.scss +++ b/src/bundle/Resources/public/scss/_login.scss @@ -15,7 +15,7 @@ position: relative; display: flex; flex-direction: column; - background-image: url("/bundles/ezplatformadminui/img/login-background.jpg"); + background-image: url('/bundles/ezplatformadminui/img/login-background.jpg'); } &__support-wrapper { @@ -26,7 +26,7 @@ &__support-headline { font-weight: 600; font-size: calculateRem(24px); - margin-bottom: calculateRem(24px) + margin-bottom: calculateRem(24px); } &__support-content { @@ -118,6 +118,10 @@ &--reset-password { padding: calculateRem(10px) calculateRem(80px); } + + &--cancel { + padding: calculateRem(10px) calculateRem(24px); + } } &__copright { diff --git a/src/bundle/Resources/translations/messages.en.xliff b/src/bundle/Resources/translations/messages.en.xliff index 83434722e4..05cc07c4b5 100644 --- a/src/bundle/Resources/translations/messages.en.xliff +++ b/src/bundle/Resources/translations/messages.en.xliff @@ -51,16 +51,16 @@ Reset your password key: authentication.reset_your_password + + Cancel + Cancel + key: authentication.reset_your_password.cancel + Sign in Sign in key: authentication.sign_in - - Login - Login - key: authentication.submit - Username Username @@ -81,11 +81,6 @@ Need assistance or support? key: base.need_assistance - - platform by Ibexa - platform by Ibexa - key: base.platform_by_ibexa - Sign in to IBEXA DXP Sign in to IBEXA DXP @@ -186,11 +181,6 @@ Otherwise, go back to dashboard or search for another Content item.]]> key: error.page.403.actions - - Contact your Administrator to request access to this content.]]> - Contact your Administrator to request access to this content.]]> - key: error.page.403.message - Not possible to retrieve or access this page. Not possible to retrieve or access this page. @@ -211,11 +201,6 @@ It might have been deleted or it is temporarily unavailable.]]> key: error.page.404.message - - The page you requested was not found. It might have been deleted or it is temporarily unavailable. - The page you requested was not found. It might have been deleted or it is temporarily unavailable. - key: error.page.404.messagea - You probably weren't expecting to land here. You probably weren't expecting to land here. @@ -349,11 +334,6 @@ From date - to date key: search.date.range - - Any section - Any section - key: search.section.any - Assign Content Assign Content diff --git a/src/bundle/Resources/views/themes/admin/account/forgot_password/index.html.twig b/src/bundle/Resources/views/themes/admin/account/forgot_password/index.html.twig index 5d41765186..aad5a9bb34 100644 --- a/src/bundle/Resources/views/themes/admin/account/forgot_password/index.html.twig +++ b/src/bundle/Resources/views/themes/admin/account/forgot_password/index.html.twig @@ -10,7 +10,9 @@ {{ form_row(form_forgot_user_password.email, {'attr': {'class': 'form-control ez-login__input'}}) }} {{ form_widget(form_forgot_user_password.reset, {'attr': {'class': 'btn btn-primary ez-login__btn--reset-password'}}) }} - + {{ form_end(form_forgot_user_password) }} {% endif %} {%- endblock content -%}