Webroot Theme is no longer needed

Because the $static_url scss variable is now available through the
scss namespace by default via the settings.py value for STATIC_URL,
it is no longer necessary to have an example theme on how to set
this manually.

Change-Id: I39ddfbd8e574768202233cfff09c8699486b3c01
Closes-Bug: #1478794
This commit is contained in:
Diana Whitten 2015-08-14 20:54:34 -07:00
parent 285ff46c93
commit d6b5527498
4 changed files with 11 additions and 10 deletions

View File

@ -1284,13 +1284,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
``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:
https://docs.djangoproject.com/en/1.7/ref/settings/#static-url
``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.