1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
- add_page_specific_style 'page_bundles/login'
- custom_text = custom_sign_in_description
!!! 5
%html.html-devise-layout{ class: user_application_color_mode, lang: I18n.locale }
= render "layouts/head"
%body.gl-h-full.login-page{ class: "#{system_message_class} #{client_class_list}", data: { page: body_data_page, testid: 'login-page' } }
= header_message
= render "layouts/init_client_detection_flags"
= yield :sessions_broadcast
.gl-h-full.gl-flex.gl-flex-wrap
.container.gl-self-center
.content
= render "layouts/flash"
- if custom_text.present?
.row.gl-mt-5.gl-gap-y-5
.col-md.order-12.sm-bg-gray
.col-sm-12
%h1.gl-mb-5.gl-text-size-h2
= brand_title
#js-custom-sign-in-description= custom_text
.col-md.order-md-12
.col-sm-12.bar
.gl-text-center.gl-mb-5
= brand_image
= yield
- else
.gl-my-5
.col-sm-12.gl-text-center
= brand_image
%h1.mb-3.gl-text-size-h2
= brand_title
.gl-w-full.gl-ml-auto.gl-mr-auto.bar{ class: 'sm:gl-w-1/2' }
= yield
= render 'devise/shared/footer'
|