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

23 lines
933 B
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
2017-08-17 22:00:37 +05:30
.alert-wrapper
2020-04-08 14:13:33 +05:30
= render 'shared/outdated_browser'
2020-04-22 19:07:51 +05:30
- if Feature.enabled?(:subscribable_banner_license)
= render_if_exists "layouts/header/ee_subscribable_banner"
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"
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
2018-03-17 18:26:18 +05:30
- unless @hide_breadcrumbs
= render "layouts/nav/breadcrumbs"
2018-12-13 13:39:08 +05:30
.d-flex
2016-09-13 17:45:13 +05:30
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
2017-08-17 22:00:37 +05:30
.content{ id: "content-body" }
2019-12-04 20:38:33 +05:30
= render "layouts/flash", extra_flash_class: 'limit-container-width'
2016-09-13 17:45:13 +05:30
= yield