horizon/openstack_dashboard
Kahou Lei 222e6d9ae0 Custom Horizon Theme
This patch is to propose the workflow of customizing Horizon theme
easily.

Currently Horizon relies on DjangoScssFilter to preprocess all the scss
files. The css styles such as color and font are mostly controlled by
the variables specified in the the scss files (_variables.scss). In
addition, Horizon mostly reuses bootstrap sass variables to define the
styles.

We leverage the current idea by injecting another level of variables to
overwrite the current bootstrap/horizon variables such that developer
can swap the theme easily.

This patch includes several areas of code changes:

1. Introduce another static file subdirectory for developer to store
   custom themes.
2. Add an additional configuration in the settings.py for developer to
   load the theme to use.
3. Add an example new custom theme.
4. Refactor the current Horizon sass files such that they don't hardcode
   the style but are controlled by the variables instead.

Implements: blueprint horizon-themes

Change-Id: Id915b95b66d9aba97cdb41cc100bf7dc1d75afcd
Co-Authored-By: Alan Fung <wingfung@cisco.com>
Co-Authored-By: Kahou Lei <kahou82@gmail.com>
Co-Authored-By: David Lyle <dklyle0@gmail.com>
2015-03-19 22:23:21 +00:00
..
api Replace usage of urllib in nova rest api 2015-03-16 09:56:34 -07:00
conf Add "Preview Stack" action to Stacks table 2015-03-13 15:35:47 +03:00
dashboards Merge "hypervisor list and details page reports invalid data" 2015-03-17 07:38:32 +00:00
django_pyscss_fix Workaround for 'File exists' test failure 2014-09-30 06:43:22 -05:00
enabled Launch Instance Step - Configuration 2015-03-14 00:35:16 +00:00
local Custom Horizon Theme 2015-03-19 22:23:21 +00:00
locale Imported Translations from Transifex 2015-03-17 06:36:44 +00:00
management spelling mistakes on display outputs and docsstrings 2015-02-24 20:00:03 -08:00
openstack Switch from oslo.utils to oslo_utils 2015-01-18 14:23:32 -08:00
static Custom Horizon Theme 2015-03-19 22:23:21 +00:00
templates Base dashboard Jasmine framework 2015-03-05 16:02:35 -07:00
templatetags Replaces always disabled context selection link 2014-10-20 15:50:12 -06:00
test Merge "hypervisor list and details page reports invalid data" 2015-03-17 07:38:32 +00:00
usage Document and improve PageTitleMixin readability 2015-02-11 16:16:20 +00:00
utils Allow adding to INSTALLED_APPS from local_settings.py 2015-02-17 08:46:56 +01:00
wsgi Update WSGI app creation to be compatible with Django 1.7 2014-10-16 13:57:45 +01:00
__init__.py Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
context_processors.py Update project list in the header bar. 2014-12-11 18:22:38 +02:00
exceptions.py Merge "Update exception map based on neutronclient exception rearrange" 2014-07-24 09:59:02 +00:00
hooks.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
policy_backend.py Moving policy engine implementation 2015-01-22 15:55:19 -07:00
policy.py Moving policy engine implementation 2015-01-22 15:55:19 -07:00
settings.py Custom Horizon Theme 2015-03-19 22:23:21 +00:00
static_settings.py Adding Angular IrDragNDrop to requirements.txt 2015-02-24 17:57:13 +00:00
urls.py REST API for angular front end. 2015-01-13 13:41:49 +13:00
views.py Redirect initial hit to login page 2015-03-13 15:14:23 +11:00