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

16 lines
497 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
.page-with-sidebar{ class: page_gutter_class }
2016-06-02 11:05:42 +05:30
- if defined?(nav) && nav
.layout-nav
.container-fluid
= render "layouts/nav/#{nav}"
2017-08-17 22:00:37 +05:30
- if content_for?(:sub_nav)
2016-11-03 12:29:30 +05:30
= yield :sub_nav
2017-08-17 22:00:37 +05:30
.content-wrapper{ class: layout_nav_class }
.alert-wrapper
= render "layouts/broadcast"
= render "layouts/flash"
= yield :flash_message
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" }
2016-09-13 17:45:13 +05:30
= yield