Merge "Webroot Theme is no longer needed"

This commit is contained in:
Jenkins 2016-02-12 18:23:51 +00:00 committed by Gerrit Code Review
commit 5a900309f7
4 changed files with 11 additions and 10 deletions

View File

@ -1299,13 +1299,9 @@ This value is also available in the scss namespace with the variable name
$static_url. Make sure you run ``python manage.py collectstatic`` and $static_url. Make sure you run ``python manage.py collectstatic`` and
``python manage.py compress`` after any changes to this value in settings.py. ``python manage.py compress`` after any changes to this value in settings.py.
For your convenience, a custom theme for only setting the static url has been
provided see: ``"/horizon/openstack_dashboard/themes/webroot"``
For more information see: For more information see:
https://docs.djangoproject.com/en/1.7/ref/settings/#static-url https://docs.djangoproject.com/en/1.7/ref/settings/#static-url
``DISALLOW_IFRAME_EMBED`` ``DISALLOW_IFRAME_EMBED``
------------------------- -------------------------

View File

@ -1 +0,0 @@
@import "../themes/default/styles";

View File

@ -1,5 +0,0 @@
/* This variable changes the web root of horizon to /dashboard rather
than the default '/' */
$static_url: "/dashboard/static/";
@import "../themes/default/variables";

View File

@ -0,0 +1,11 @@
---
deprecations:
- The 'webroot' theme has been removed.
fixes:
- The 'webroot' theme was providing an example of
how to set the webroot value through SCSS for
accessing needed static URL prefixes for assets
like font paths. This value is now retrieved
directly from the Django settings and is available
directly in the SCSS namespace via $static_url.