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

devise.html.haml « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0ae2e5337f52af362d536c045ed3da084cbeb6b5 (plain)
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
- add_page_specific_style 'page_bundles/login'
- custom_text = custom_sign_in_description
!!! 5
%html.html-devise-layout{ class: user_application_theme, lang: I18n.locale }
  = render "layouts/head", { startup_filename: 'signin' }
  %body.gl-h-full.login-page.navless{ 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.borderless.gl-display-flex.gl-flex-wrap
      .container.gl-align-self-center
        .content
          = render "layouts/flash"
          - if custom_text.present?
            .row.gl-mt-5.gl-row-gap-5
              .col-md.order-12.sm-bg-gray
                .col-sm-12
                  %h1.mb-3.gl-font-size-h2
                    = brand_title
                  = custom_text
              .col-md.order-md-12
                .col-sm-12.bar
                  .gl-text-center
                    = brand_image
                  = yield
          - else
            .gl-my-5
              .col-sm-12.gl-text-center
                = brand_image
                %h1.mb-3.gl-font-size-h2
                  = brand_title
              .gl-w-full.gl-sm-w-half.gl-ml-auto.gl-mr-auto.bar
                = yield

      = render 'devise/shared/footer'