Merge pull request #939 from internetee/add-body-css-class

Generate <body> CSS class for every action for better styling
This commit is contained in:
Timo Võhmar 2018-08-27 12:18:30 +03:00 committed by GitHub
commit 3ce0ae9941
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 6 deletions

View file

@ -10,7 +10,7 @@
= csrf_meta_tags
= stylesheet_link_tag 'admin-manifest', media: 'all'
= favicon_link_tag 'favicon.ico'
%body{:style => env_style}
%body{:style => env_style, class: body_css_class}
.navbar.navbar-inverse.navbar-static-top{role: "navigation"}
.container
.navbar-header