Skip to content

Commit

Permalink
Load the custom.css that bypasses the asset pipeline on every screen
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Mar 9, 2018
1 parent 0b11ca4 commit 65cd2e2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/dashboard/saml_login.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
%head
= favicon_link_tag
= stylesheet_link_tag 'application'
= stylesheet_link_tag '/custom.css'
= javascript_include_tag 'application'

%body
Expand Down
1 change: 1 addition & 0 deletions app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
= favicon_link_tag
= stylesheet_link_tag 'application'
= stylesheet_link_tag '/custom.css'
= render :partial => "stylesheets/template50"
= javascript_include_tag 'application'
- if Rails.env.development?
Expand Down
1 change: 1 addition & 0 deletions app/views/layouts/login.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
= h productized_title(_(": Login"))
= favicon_link_tag
= stylesheet_link_tag 'application'
= stylesheet_link_tag '/custom.css'
= javascript_include_tag 'application'
- if Rails.env.development?
= javascript_include_tag 'miq_debug'
Expand Down
1 change: 1 addition & 0 deletions app/views/layouts/remote_console.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
= _('%{product_name} HTML5 Remote Console') % {:product_name => Vmdb::Appliance.PRODUCT_NAME}
= favicon_link_tag
= stylesheet_link_tag 'application'
= stylesheet_link_tag '/custom.css'
-# Load the required JS based on the console type
= javascript_include_tag 'jquery', "remote_consoles/#{@console[:type]}", 'remote_console'
%body
Expand Down
1 change: 1 addition & 0 deletions app/views/layouts/report_only.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
= "%{product}: %{title}" % {:product => Vmdb::Appliance.PRODUCT_NAME, :title => @report.title}
= favicon_link_tag
= stylesheet_link_tag 'application'
= stylesheet_link_tag '/custom.css'
= javascript_include_tag 'application'
- if Rails.env.development?
= javascript_include_tag 'miq_debug'
Expand Down

0 comments on commit 65cd2e2

Please sign in to comment.