2021-06-08 20:10:20 -04:00
|
|
|
.layout-page.hide-when-top-nav-responsive-open{ class: page_with_sidebar_class }
|
2017-09-06 06:58:24 -04:00
|
|
|
- if defined?(nav) && nav
|
|
|
|
= render "layouts/nav/sidebar/#{nav}"
|
2021-06-07 08:10:00 -04:00
|
|
|
.content-wrapper.content-wrapper-margin{ class: "#{@content_wrapper_class}" }
|
2017-09-06 06:58:24 -04:00
|
|
|
.mobile-overlay
|
2021-12-03 16:13:58 -05:00
|
|
|
= render_if_exists 'layouts/header/verification_reminder'
|
2020-11-10 04:08:45 -05:00
|
|
|
.alert-wrapper.gl-force-block-formatting-context
|
2020-03-10 14:08:17 -04:00
|
|
|
= render 'shared/outdated_browser'
|
2020-06-01 20:08:07 -04:00
|
|
|
= render_if_exists "layouts/header/licensed_user_count_threshold"
|
2020-07-06 23:09:32 -04:00
|
|
|
= render_if_exists "layouts/header/token_expiry_notification"
|
2016-12-16 15:30:28 -05:00
|
|
|
= render "layouts/broadcast"
|
2018-10-19 05:56:12 -04:00
|
|
|
= render "layouts/header/read_only_banner"
|
2020-11-16 04:09:18 -05:00
|
|
|
= render "layouts/header/registration_enabled_callout"
|
2019-04-09 11:38:58 -04:00
|
|
|
= render "layouts/nav/classification_level_banner"
|
2016-12-16 15:30:28 -05:00
|
|
|
= yield :flash_message
|
2021-06-29 08:08:48 -04:00
|
|
|
= render "shared/service_ping_consent"
|
2021-08-31 08:11:07 -04:00
|
|
|
= render_two_factor_auth_recovery_settings_check
|
2020-06-04 20:08:38 -04:00
|
|
|
= render_if_exists "layouts/header/ee_subscribable_banner"
|
2022-01-25 10:12:32 -05:00
|
|
|
= render_if_exists "layouts/header/seats_count_alert"
|
2020-07-22 08:09:42 -04:00
|
|
|
= render_if_exists "shared/namespace_storage_limit_alert"
|
2021-10-13 08:12:20 -04:00
|
|
|
= render_if_exists "shared/namespace_user_cap_reached_alert"
|
2020-11-19 10:09:13 -05:00
|
|
|
= render_if_exists "shared/new_user_signups_cap_reached_alert"
|
2021-06-18 11:10:16 -04:00
|
|
|
= yield :page_level_alert
|
2022-01-24 10:11:33 -05:00
|
|
|
= yield :group_invite_members_banner
|
2017-09-06 06:58:24 -04:00
|
|
|
- unless @hide_breadcrumbs
|
|
|
|
= render "layouts/nav/breadcrumbs"
|
2016-07-22 05:59:26 -04:00
|
|
|
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
|
2021-02-01 13:09:17 -05:00
|
|
|
%main.content{ id: "content-body", **page_itemtype }
|
2019-09-03 05:03:35 -04:00
|
|
|
= render "layouts/flash", extra_flash_class: 'limit-container-width'
|
2021-02-03 10:09:24 -05:00
|
|
|
= yield :before_content
|
2016-07-22 05:59:26 -04:00
|
|
|
= yield
|
2021-06-23 17:08:33 -04:00
|
|
|
= yield :after_content
|
2021-07-30 05:10:05 -04:00
|
|
|
-# 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-06-08 20:10:20 -04:00
|
|
|
|
|
|
|
= render "layouts/nav/top_nav_responsive", class: 'layout-page content-wrapper-margin'
|