devise.html.haml 1.75 KB
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1
!!! 5
2
%html.devise-layout-html{ class: system_message_class }
3
  = render "layouts/head", { startup_filename: 'signin' }
Kushal Pandya's avatar
Kushal Pandya committed
4
  %body.ui-indigo.login-page.application.navless{ class: "#{client_class_list}", data: { page: body_data_page, qa_selector: 'login_page' } }
5
    = header_message
Kushal Pandya's avatar
Kushal Pandya committed
6
    = render "layouts/init_client_detection_flags"
7
8
    .page-wrap
      = render "layouts/header/empty"
9
10
      .login-page-broadcast
        = render "layouts/broadcast"
11
12
13
      .container.navless-container
        .content
          = render "layouts/flash"
14
15
16
          .row.mt-3
            .col-sm-12
              %h1.mb-3.font-weight-normal
17
                = current_appearance&.title.presence || _('GitLab')
18
19
          .row.mb-3
            .col-sm-7.order-12.order-sm-1.brand-holder
20
21
22
23
24
25
26
              - unless recently_confirmed_com?
                = brand_image
                - if current_appearance&.description?
                  = brand_text
                - else
                  %h3.gl-sm-mt-0
                    = _('A complete DevOps platform')
27

28
29
                  %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.')
30

31
32
                  %p
                    = _('This is a self-managed instance of GitLab.')
33

34
35
              - if Gitlab::CurrentSettings.sign_in_text.present?
                = markdown_field(Gitlab::CurrentSettings.current_application_settings, :sign_in_text)
36
37
38

              = render_if_exists 'layouts/devise_help_text'

39
            .col-sm-5.order-1.new-session-forms-container{ class: recently_confirmed_com? ? 'order-sm-first' : 'order-sm-12' }
Clement Ho's avatar
Clement Ho committed
40
              = yield
41

42
      = render 'devise/shared/footer', footer_message: footer_message