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

19 lines
701 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 "layouts/broadcast"
= render "layouts/header/read_only_banner"
= yield :flash_message
= render "shared/ping_consent"
2017-09-06 06:58:24 -04:00
- unless @hide_breadcrumbs
= render "layouts/nav/breadcrumbs"
= render "layouts/flash", extra_flash_class: 'limit-container-width'
.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" }
2016-07-22 05:59:26 -04:00
= yield