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

30 lines
1.4 KiB
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
.layout-page{ class: page_with_sidebar_class }
- if defined?(nav) && nav
= render "layouts/nav/sidebar/#{nav}"
.content-wrapper{ class: "#{@content_wrapper_class}" }
.mobile-overlay
2020-11-24 15:15:51 +05:30
= yield :group_invite_members_banner
2021-01-29 00:20:46 +05:30
.alert-wrapper.gl-force-block-formatting-context
2020-04-08 14:13:33 +05:30
= render 'shared/outdated_browser'
2020-06-23 00:09:42 +05:30
= render_if_exists "layouts/header/licensed_user_count_threshold"
2020-07-28 23:09:34 +05:30
= render_if_exists "layouts/header/token_expiry_notification"
2017-08-17 22:00:37 +05:30
= render "layouts/broadcast"
2018-12-13 13:39:08 +05:30
= render "layouts/header/read_only_banner"
2021-01-29 00:20:46 +05:30
= render "layouts/header/registration_enabled_callout"
2021-04-29 21:17:54 +05:30
= render "layouts/header/service_templates_deprecation_callout"
2019-07-07 11:18:12 +05:30
= render "layouts/nav/classification_level_banner"
2017-08-17 22:00:37 +05:30
= yield :flash_message
2018-11-20 20:47:30 +05:30
= render "shared/ping_consent"
2020-03-13 15:44:24 +05:30
= render_account_recovery_regular_check
2020-06-23 00:09:42 +05:30
= render_if_exists "layouts/header/ee_subscribable_banner"
2020-10-24 23:57:45 +05:30
= render_if_exists "shared/namespace_storage_limit_alert"
2021-02-22 17:27:13 +05:30
= render_if_exists "shared/new_user_signups_cap_reached_alert"
2020-10-24 23:57:45 +05:30
= yield :customize_homepage_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