Adding default setup to allow for rollback from Rackspace theme
This commit is contained in:
parent
3c6cbc29d4
commit
b7da0abe52
|
@ -200,6 +200,14 @@ cookbook_file "#{node["horizon"]["dash_path"]}/static/dashboard/css/folsom.css"
|
|||
group grp
|
||||
end
|
||||
|
||||
template node["horizon"]["dash_path"]/templates/_stylesheets.html do
|
||||
only_if(node["horizon"]["theme"] == "default")
|
||||
source "default_stylesheets.html.erb"
|
||||
mode 0644
|
||||
owner "root"
|
||||
group grp
|
||||
end
|
||||
|
||||
template node["horizon"]["dash_path"]/templates/_stylesheets.html do
|
||||
only_if(node["horizon"]["theme"] == "Rackspace")
|
||||
source "rs_stylesheets.html.erb"
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{% load compress %}
|
||||
|
||||
{% compress css %}
|
||||
<link href='{{ STATIC_URL }}dashboard/less/horizon.less' type='text/less' media='screen' rel='stylesheet' />
|
||||
{% endcompress %}
|
||||
|
||||
<link rel="shortcut icon" href="{{ STATIC_URL }}dashboard/img/favicon.ico"/>
|
Loading…
Reference in New Issue