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

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

37 lines
2 KiB
Text
Raw Normal View History

2021-09-04 01:27:46 +05:30
.layout-page.hide-when-top-nav-responsive-open{ class: page_with_sidebar_class }
2018-03-17 18:26:18 +05:30
- if defined?(nav) && nav
= render "layouts/nav/sidebar/#{nav}"
2021-09-04 01:27:46 +05:30
.content-wrapper.content-wrapper-margin{ class: "#{@content_wrapper_class}" }
2018-03-17 18:26:18 +05:30
.mobile-overlay
2022-05-07 20:08:51 +05:30
= dispensable_render_if_exists 'layouts/header/verification_reminder'
2021-01-29 00:20:46 +05:30
.alert-wrapper.gl-force-block-formatting-context
2022-05-07 20:08:51 +05:30
= dispensable_render 'shared/outdated_browser'
= dispensable_render_if_exists "layouts/header/licensed_user_count_threshold"
= dispensable_render_if_exists "layouts/header/token_expiry_notification"
= dispensable_render "layouts/broadcast"
= dispensable_render "layouts/header/read_only_banner"
= dispensable_render "layouts/header/registration_enabled_callout"
= dispensable_render "layouts/nav/classification_level_banner"
2017-08-17 22:00:37 +05:30
= yield :flash_message
2022-05-07 20:08:51 +05:30
= dispensable_render "shared/service_ping_consent"
= dispensable_render_if_exists "layouts/header/ee_subscribable_banner"
= dispensable_render_if_exists "layouts/header/seats_count_alert"
= dispensable_render_if_exists "shared/namespace_storage_limit_alert"
= dispensable_render_if_exists "shared/namespace_user_cap_reached_alert"
= dispensable_render_if_exists "shared/new_user_signups_cap_reached_alert"
2021-09-30 23:02:18 +05:30
= yield :page_level_alert
2022-06-21 17:19:12 +05:30
= yield :user_over_limit_free_plan_alert
2022-04-04 11:22:00 +05:30
= yield :group_invite_members_banner
2018-03-17 18:26:18 +05:30
- unless @hide_breadcrumbs
= render "layouts/nav/breadcrumbs"
2016-09-13 17:45:13 +05:30
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
2021-03-11 19:13:27 +05:30
%main.content{ id: "content-body", **page_itemtype }
2019-12-04 20:38:33 +05:30
= render "layouts/flash", extra_flash_class: 'limit-container-width'
2021-03-11 19:13:27 +05:30
= yield :before_content
2016-09-13 17:45:13 +05:30
= yield
2021-09-30 23:02:18 +05:30
= yield :after_content
2021-10-27 15:23:28 +05:30
-# This is needed by [GitLab JH](https://gitlab.com/gitlab-jh/jh-team/gitlab-cn/-/issues/81)
= render_if_exists "shared/footer/global_footer"
2021-09-04 01:27:46 +05:30
= render "layouts/nav/top_nav_responsive", class: 'layout-page content-wrapper-margin'