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

21 lines
820 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
.layout-page{ class: page_with_sidebar_class }
- if defined?(nav) && nav
= render "layouts/nav/sidebar/#{nav}"
.content-wrapper{ class: "#{@content_wrapper_class}" }
= render 'shared/outdated_browser'
.mobile-overlay
2017-08-17 22:00:37 +05:30
.alert-wrapper
2019-09-04 21:01:54 +05:30
= render_if_exists "layouts/header/ee_license_banner"
2017-08-17 22:00:37 +05:30
= render "layouts/broadcast"
2018-12-13 13:39:08 +05:30
= render "layouts/header/read_only_banner"
2019-07-07 11:18:12 +05:30
= render "layouts/nav/classification_level_banner"
2017-08-17 22:00:37 +05:30
= yield :flash_message
2018-11-20 20:47:30 +05:30
= render "shared/ping_consent"
2018-03-17 18:26:18 +05:30
- unless @hide_breadcrumbs
= render "layouts/nav/breadcrumbs"
2018-12-13 13:39:08 +05:30
.d-flex
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" }
2019-12-04 20:38:33 +05:30
= render "layouts/flash", extra_flash_class: 'limit-container-width'
2016-09-13 17:45:13 +05:30
= yield