debian-mirror-gitlab/app/views/layouts/terms.html.haml

33 lines
1.4 KiB
Text
Raw Normal View History

2018-10-15 14:42:47 +05:30
!!! 5
2021-12-11 22:18:48 +05:30
- add_page_specific_style 'page_bundles/terms'
2023-06-20 00:43:36 +05:30
- @hide_top_bar = true
2022-07-16 23:28:13 +05:30
- body_classes = [user_application_theme]
2018-10-15 14:42:47 +05:30
%html{ lang: I18n.locale, class: page_class }
= render "layouts/head"
2022-07-16 23:28:13 +05:30
%body{ class: body_classes, data: { page: body_data_page } }
2018-10-15 14:42:47 +05:30
.layout-page.terms{ class: page_class }
2021-12-11 22:18:48 +05:30
.content-wrapper.gl-pb-5
2018-10-15 14:42:47 +05:30
.mobile-overlay
.alert-wrapper
= render "layouts/broadcast"
= render 'layouts/header/read_only_banner'
2021-12-11 22:18:48 +05:30
= render "layouts/flash"
2018-10-15 14:42:47 +05:30
%div{ class: "#{container_class} limit-container-width" }
.content{ id: "content-body" }
2022-07-23 23:45:48 +05:30
= render Pajamas::CardComponent.new do |c|
= c.header do
2022-07-16 23:28:13 +05:30
= brand_header_logo({add_gitlab_black_text: true})
2022-07-23 23:45:48 +05:30
= c.body do
- if header_link?(:user_dropdown)
.navbar-collapse
%ul.nav.navbar-nav
%li.header-user.dropdown
= link_to current_user, class: user_dropdown_class, data: { toggle: "dropdown" } do
2022-11-25 23:54:43 +05:30
= render Pajamas::AvatarComponent.new(current_user, size: 24, class: 'gl-mr-3', avatar_options: { data: { qa_selector: 'user_avatar_content' } })
2022-07-23 23:45:48 +05:30
= sprite_icon('chevron-down')
.dropdown-menu.dropdown-menu-right
= render 'layouts/header/current_user_dropdown'
= yield