File: terms.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (23 lines) | stat: -rw-r--r-- 1,062 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- add_page_specific_style 'page_bundles/terms'

!!! 5
%html{ lang: I18n.locale, class: [user_application_color_mode, user_application_theme, page_class] }
  = render "layouts/head"

  %body{ data: body_data }
    .terms{ class: page_class }
      = render 'layouts/header/read_only_banner'
      = render "layouts/flash"

      .limit-container-width.gl-my-5{ class: container_class }
        = render Pajamas::CardComponent.new( body_options: { class: 'gl-p-0' }, header_options: { class: 'gl-flex gl-items-center gl-justify-between' }) do |c|
          - c.with_header do
            = brand_header_logo({add_gitlab_logo_text: true})
            - if current_user
              .gl-flex.gl-gap-2.gl-items-center
                .gl-text-right.gl-leading-normal
                  .gl-font-bold= current_user.name
                  .gl-text-gray-700 @#{current_user.username}
                = render Pajamas::AvatarComponent.new(current_user, size: 32, avatar_options: { data: { testid: 'user-avatar-content' } })
          - c.with_body do
            = yield