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

19 lines
670 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
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"
2020-03-13 15:44:24 +05:30
%body{ class: "#{user_application_theme} #{user_tab_width} #{@body_class} #{client_class_list}", 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"
2017-09-10 17:25:29 +05:30
= render 'peek/bar'
2019-07-07 11:18:12 +05:30
= header_message
= 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
2015-09-11 14:41:01 +05:30
= yield :scripts_body