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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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'
2018-10-15 14:42:47 +05:30
- @hide_breadcrumbs = 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
= image_tag avatar_icon_for_user(current_user, 23), width: 23, height: 23, class: "header-user-avatar", data: { qa_selector: 'user_avatar' }
= sprite_icon('chevron-down')
.dropdown-menu.dropdown-menu-right
= render 'layouts/header/current_user_dropdown'
= yield