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

25 lines
1.1 KiB
Text
Raw Normal View History

2022-11-25 23:54:43 +05:30
- minimal = local_assigns.fetch(:minimal, false)
2018-11-20 20:47:30 +05:30
!!! 5
%html{ lang: I18n.locale, class: page_class }
= render "layouts/head"
2020-03-13 15:44:24 +05:30
%body{ class: "#{user_application_theme} #{user_tab_width} #{@body_class} fullscreen-layout", data: { page: body_data_page } }
2018-11-20 20:47:30 +05:30
= render 'peek/bar'
2019-09-30 21:07:59 +05:30
= header_message
2022-11-25 23:54:43 +05:30
- unless minimal
= render partial: "layouts/header/default", locals: { project: @project, group: @group }
.mobile-overlay
2022-10-11 01:57:18 +05:30
.hide-when-top-nav-responsive-open.gl--flex-full.gl-h-full{ class: nav ? ["layout-page", page_with_sidebar_class, "gl-mt-0!"]: '' }
- if defined?(nav) && nav
= render "layouts/nav/sidebar/#{nav}"
.gl--flex-full.gl-flex-direction-column.gl-w-full
.alert-wrapper
= render 'shared/outdated_browser'
= render "layouts/broadcast"
= yield :flash_message
2022-11-25 23:54:43 +05:30
= render "layouts/flash", flash_container_no_margin: true
2022-10-11 01:57:18 +05:30
.content-wrapper{ id: "content-body", class: "d-flex flex-column align-items-stretch" }
= yield
2022-11-25 23:54:43 +05:30
- unless minimal
= render "layouts/nav/top_nav_responsive", class: "gl-flex-grow-1 gl-overflow-y-auto"
2019-09-30 21:07:59 +05:30
= footer_message