horizon/openstack_dashboard/contrib/developer/__init__.py
Rob Cresswell b285358a96 Add Developer Dashboard + Bootstrap Theme Preview
Themers need an easy way to see how customizations in
the new themeing mechanism will affect known bootstrap
elements.

While DEBUG is True, the developer dashboard will be present in the
Horizon nav sidebar. This currently displays the Bootstrap Theme Preview
page, and will also be used for Angular widget demos etc in the future.

Documentation on SCSS and the preview page are being provided in a
separate patch to coordinate with the theming work
(https://bugs.launchpad.net/horizon/+bug/1514869)

Note: The SECRET_KEY block in settings.py is moved before the enabled
files setup, so that importing settings in the enabled file doesn't
cause errors.

Co-Authored-By: Diana Whitten <hurgleburgler@gmail.com>

Implements: blueprint bootstrap-theme-preview
Change-Id: I44bc52d4dcfbbdc60a27879e638d78c4b508b2e9
2015-12-06 12:04:11 +00:00

0 lines
Python