commit 18dddd97da19af894a0974e3560197036ea8969a
Author: David Lyle <email address hidden>
Date: Mon Mar 23 08:26:01 2015 -0600
Fixing changing WEBROOT from /
There were a few items missed with the patch enabling changing
WEBROOT patch.
First the XStatic files were being unpacked in the wrong directoy
because root_url was not being passed in. This caused 404 errors
when running with a different web root.
This change allows root_url to be passed in on XStatic handling.
Second, STATIC_URL and MEDIA_URL were not using WEBROOT.
These now are built with WEBROOT.
Third, the fa-font-path variable was hard-coded in _variables.scss
to use "/" as the web root.
A webroot variable has been added that can be overridden. Additionally,
a new theme has also been added to change the web root.
Reviewed: https:/ /review. openstack. org/166857 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=18dddd97da1 9af894a0974e356 0197036ea8969a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 18dddd97da19af8 94a0974e3560197 036ea8969a
Author: David Lyle <email address hidden>
Date: Mon Mar 23 08:26:01 2015 -0600
Fixing changing WEBROOT from /
There were a few items missed with the patch enabling changing
WEBROOT patch.
First the XStatic files were being unpacked in the wrong directoy
because root_url was not being passed in. This caused 404 errors
when running with a different web root.
This change allows root_url to be passed in on XStatic handling.
Second, STATIC_URL and MEDIA_URL were not using WEBROOT.
These now are built with WEBROOT.
Third, the fa-font-path variable was hard-coded in _variables.scss
to use "/" as the web root.
A webroot variable has been added that can be overridden. Additionally,
a new theme has also been added to change the web root.
Closes-Bug: #1434276 2136d039b8d74da 08752e7215c
Change-Id: Ifff1c60b3405ce