Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/devise.html.haml')
-rw-r--r--app/views/layouts/devise.html.haml40
1 files changed, 24 insertions, 16 deletions
diff --git a/app/views/layouts/devise.html.haml b/app/views/layouts/devise.html.haml
index 3532c6638ce..71771dd7cb6 100644
--- a/app/views/layouts/devise.html.haml
+++ b/app/views/layouts/devise.html.haml
@@ -1,3 +1,4 @@
+- add_page_specific_style 'page_bundles/login'
!!! 5
%html.devise-layout-html{ class: system_message_class }
= render "layouts/head", { startup_filename: 'signin' }
@@ -6,30 +7,37 @@
= render "layouts/init_client_detection_flags"
- if Feature.enabled?(:restyle_login_page, @project)
.page-wrap.borderless
- .login-page-broadcast
- = render "layouts/broadcast"
.container.navless-container
.content
= render "layouts/flash"
- .mt-3
- .col-sm-12.gl-text-center
- = brand_image
- %h1.mb-3.gl-font-size-h2
- = brand_title
- - if current_appearance&.description?
- = brand_text
- = render_if_exists 'layouts/devise_help_text'
- .mb-3
- .gl-w-half.gl-xs-w-full.gl-ml-auto.gl-mr-auto.bar
- = yield
-
+ - if current_appearance&.description?
+ .row
+ .col-md.order-12.sm-bg-gray-10
+ .col-sm-12
+ %h1.mb-3.gl-font-size-h2
+ = brand_title
+ = brand_text
+ = render_if_exists 'layouts/devise_help_text'
+ .col-md.order-md-12
+ .col-sm-12.bar
+ .gl-text-center
+ = brand_image
+ = yield
+ - else
+ .mt-3
+ .col-sm-12.gl-text-center
+ = brand_image
+ %h1.mb-3.gl-font-size-h2
+ = brand_title
+ = render_if_exists 'layouts/devise_help_text'
+ .mb-3
+ .gl-w-half.gl-xs-w-full.gl-ml-auto.gl-mr-auto.bar
+ = yield
= render 'devise/shared/footer', footer_message: footer_message
- else
.page-wrap
= render "layouts/header/empty"
- .login-page-broadcast
- = render "layouts/broadcast"
.container.navless-container
.content
= render "layouts/flash"