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

15 lines
486 B
Text
Raw Normal View History

2017-02-16 14:17:27 -05:00
.page-with-sidebar{ class: page_gutter_class }
- if defined?(nav) && nav
.layout-nav
%div{ class: container_class }
= render "layouts/nav/#{nav}"
.content-wrapper{ class: "#{layout_nav_class}" }
= yield :sub_nav
.alert-wrapper
= render "layouts/broadcast"
= render "layouts/flash"
= yield :flash_message
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