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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
982 B
Text
Raw Normal View History

2020-03-13 15:44:24 +05:30
- page_classes = page_class << @html_class
- page_classes = page_classes.flatten.compact
2022-06-21 17:19:12 +05:30
- body_classes = [user_application_theme, user_tab_width, @body_class, client_class_list, *custom_diff_color_classes]
2020-03-13 15:44:24 +05:30
2014-09-02 18:07:02 +05:30
!!! 5
2020-03-13 15:44:24 +05:30
%html{ lang: I18n.locale, class: page_classes }
2015-09-11 14:41:01 +05:30
= render "layouts/head"
2021-09-04 01:27:46 +05:30
%body{ class: body_classes, data: body_data }
2017-09-10 17:25:29 +05:30
= render "layouts/init_auto_complete" if @gfm_form
2019-03-02 22:35:43 +05:30
= render "layouts/init_client_detection_flags"
2022-07-23 23:45:48 +05:30
= render "layouts/visual_review" if ENV['REVIEW_APPS_ENABLED']
2017-09-10 17:25:29 +05:30
= render 'peek/bar'
2019-07-07 11:18:12 +05:30
= header_message
2023-03-17 16:20:25 +05:30
- if show_super_sidebar? # TODO: Move this CSS to a better place
:css
body {
--header-height: 0px;
}
- else
= render partial: "layouts/header/default", locals: { project: @project, group: @group }
2016-06-02 11:05:42 +05:30
= render 'layouts/page', sidebar: sidebar, nav: nav
2019-07-07 11:18:12 +05:30
= footer_message
2015-09-11 14:41:01 +05:30
2020-07-28 23:09:34 +05:30
= render 'layouts/img_loader'
2019-09-04 21:01:54 +05:30
2021-12-11 22:18:48 +05:30
= render 'layouts/published_experiments'
2015-09-11 14:41:01 +05:30
= yield :scripts_body