Add browser and platform flags via CSS classes
This commit is contained in:
parent
44ae410a80
commit
36eb30929e
|
@ -1,8 +1,9 @@
|
|||
!!! 5
|
||||
%html{ lang: I18n.locale, class: page_class }
|
||||
= render "layouts/head"
|
||||
%body{ class: "#{user_application_theme} #{@body_class}", data: { page: body_data_page, project: "#{@project.path if @project}", group: "#{@group.path if @group}", find_file: find_file_path } }
|
||||
%body{ class: "#{user_application_theme} #{@body_class} #{client_class_list}", data: { page: body_data_page, project: "#{@project.path if @project}", group: "#{@group.path if @group}", find_file: find_file_path } }
|
||||
= render "layouts/init_auto_complete" if @gfm_form
|
||||
= render "layouts/init_client_detection_flags"
|
||||
= render 'peek/bar'
|
||||
= render partial: "layouts/header/default", locals: { project: @project, group: @group }
|
||||
= render 'layouts/page', sidebar: sidebar, nav: nav
|
||||
|
|
Loading…
Reference in New Issue