Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fullscreen.html.haml « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f4f9f39c20e6df5a866ed09c7496fcc4bbfcfd06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
- minimal = local_assigns.fetch(:minimal, false)
!!! 5
%html{ lang: I18n.locale, class: page_class }
  = render "layouts/head"
  %body{ class: "#{user_application_theme} #{user_tab_width} #{@body_class} fullscreen-layout", data: { page: body_data_page } }
    = render 'peek/bar'
    = header_message
    - unless minimal
      = render partial: "layouts/header/default", locals: { project: @project, group: @group }
      .mobile-overlay
    .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
          = render "layouts/flash", flash_container_no_margin: true
        .content-wrapper{ id: "content-body", class: "d-flex flex-column align-items-stretch" }
          = yield
    - unless minimal
      = render "layouts/nav/top_nav_responsive", class: "gl-flex-grow-1 gl-overflow-y-auto"
    = footer_message