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

16 lines
519 B
Plaintext
Raw Normal View History

.layout-page{ class: page_with_sidebar_class }
2017-09-06 10:58:24 +00:00
- if defined?(nav) && nav
= render "layouts/nav/sidebar/#{nav}"
2017-12-08 21:09:48 +00:00
.content-wrapper
= render 'shared/outdated_browser'
2017-09-06 10:58:24 +00:00
.mobile-overlay
.alert-wrapper
= render "layouts/broadcast"
= yield :flash_message
2017-09-06 10:58:24 +00:00
- unless @hide_breadcrumbs
= render "layouts/nav/breadcrumbs"
= render "layouts/flash"
2016-07-22 09:59:26 +00:00
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
2016-11-17 14:12:20 +00:00
.content{ id: "content-body" }
2016-07-22 09:59:26 +00:00
= yield