gitlab-org--gitlab-foss/app/views/layouts/_page.html.haml

21 lines
820 B
Text
Raw Normal View History

.layout-page{ class: page_with_sidebar_class }
2017-09-06 06:58:24 -04:00
- if defined?(nav) && nav
= render "layouts/nav/sidebar/#{nav}"
.content-wrapper{ class: "#{@content_wrapper_class}" }
= render 'shared/outdated_browser'
2017-09-06 06:58:24 -04:00
.mobile-overlay
.alert-wrapper
= render_if_exists "layouts/header/ee_license_banner"
= render "layouts/broadcast"
= render "layouts/header/read_only_banner"
= render "layouts/nav/classification_level_banner"
= yield :flash_message
= render "shared/ping_consent"
2017-09-06 06:58:24 -04:00
- unless @hide_breadcrumbs
= render "layouts/nav/breadcrumbs"
.d-flex
2016-07-22 05:59:26 -04:00
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
2016-11-17 09:12:20 -05:00
.content{ id: "content-body" }
= render "layouts/flash", extra_flash_class: 'limit-container-width'
2016-07-22 05:59:26 -04:00
= yield