2023-06-20 00:43:36 +05:30
- add_page_specific_style 'page_bundles/login'
2014-09-02 18:07:02 +05:30
!!! 5
2018-05-09 12:01:36 +05:30
%html.devise-layout-html{ class: system_message_class }
2021-09-04 01:27:46 +05:30
= render "layouts/head", { startup_filename: 'signin' }
2022-08-13 15:12:31 +05:30
%body.login-page.application.navless{ class: "#{user_application_theme} #{client_class_list}", data: { page: body_data_page, qa_selector: 'login_page' } }
2019-07-07 11:18:12 +05:30
= header_message
2019-12-04 20:38:33 +05:30
= render "layouts/init_client_detection_flags"
2022-08-27 11:52:29 +05:30
- 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
2022-11-25 23:54:43 +05:30
= brand_image
2022-08-27 11:52:29 +05:30
%h1.mb-3.gl-font-size-h2
2022-11-25 23:54:43 +05:30
= brand_title
2021-09-30 23:02:18 +05:30
- if current_appearance&.description?
= brand_text
2022-10-11 01:57:18 +05:30
= render_if_exists 'layouts/devise_help_text'
2022-08-27 11:52:29 +05:30
.mb-3
.gl-w-half.gl-xs-w-full.gl-ml-auto.gl-mr-auto.bar
= yield
2014-09-02 18:07:02 +05:30
2015-04-26 12:48:37 +05:30
2022-08-27 11:52:29 +05:30
= 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"
.row.mt-3
.col-sm-12
%h1.mb-3.font-weight-normal
= current_appearance&.title.presence || _('GitLab')
.row.mb-3
.col-md-6.order-12.order-sm-1.brand-holder
- unless recently_confirmed_com?
= brand_image
- if current_appearance&.description?
= brand_text
- else
%h3.gl-sm-mt-0
= _('A complete DevOps platform')
2021-01-03 14:25:43 +05:30
2022-08-27 11:52:29 +05:30
%p
= _('GitLab is a single application for the entire software development lifecycle. From project planning and source code management to CI/CD, monitoring, and security.')
2019-09-04 21:01:54 +05:30
2022-08-27 11:52:29 +05:30
%p
= _('This is a self-managed instance of GitLab.')
2019-09-04 21:01:54 +05:30
2022-08-27 11:52:29 +05:30
- if Gitlab::CurrentSettings.sign_in_text.present?
= markdown_field(Gitlab::CurrentSettings.current_application_settings, :sign_in_text)
2014-09-02 18:07:02 +05:30
2022-08-27 11:52:29 +05:30
= render_if_exists 'layouts/devise_help_text'
.col-md-6.order-1.new-session-forms-container{ class: recently_confirmed_com? ? 'order-sm-first' : 'order-sm-12' }
= yield
= render 'devise/shared/footer', footer_message: footer_message