35706f5b6b
Horizon's sidebar now uses .nav and implements a nav using .nav-stacked and .nav-pills to support a standard Bootstrap theme. It was also simplfied to use Bootstrap's built in accordion functionality and therefore removes all of the javascript required to duplicate this experience. There was also a small glitchy experience with the custom accordion code, this is now solved with Bootstrap. All highly customized style elements that were specific to the 'default' theme were moved into the theme folder itself. Only the styles necessary to conform standard Bootstrap remain in the dashboard directory tree. The sidebar was formerly named an 'accordion-nav', but this name is coupled with the presentational experience that is implemented within the sidebar. Therefore, sidebar is more semantic than accordion. Because it is now simple to override the sidebar with a non-accordion experience, we should just call it the sidebar going forward. sidebar-bg.png was removed as it was only limiting the ability to easily grow the size of the sidebar. It was providing a box-shadow which can be done with pure css. To test and use this functionality, clean your static directory, then run collectstatic and compress prior to starting your server. Partially-Implements: blueprint horizon-theme-css-reorg Partially-Implements: blueprint bootstrap-html-standards Change-Id: Ic7fcde7dd82e70815dc7fcae04bc9ae9d618d4d8 |
||
---|---|---|
.tx | ||
doc | ||
horizon | ||
openstack_dashboard | ||
tools | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
babel-django.cfg | ||
babel-djangojs.cfg | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
Makefile | ||
manage.py | ||
MANIFEST.in | ||
package.json | ||
README.rst | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
test-shim.js | ||
tox.ini |
Horizon (OpenStack Dashboard)
Horizon is a Django-based project aimed at providing a complete
OpenStack Dashboard along with an extensible framework for building new
dashboards from reusable components. The
openstack_dashboard
module is a reference implementation of
a Django site that uses the horizon
app to provide
web-based interactions with the various OpenStack projects.
- Release management: https://launchpad.net/horizon
- Blueprints and feature specifications: https://blueprints.launchpad.net/horizon
- Issue tracking: https://bugs.launchpad.net/horizon
Using Horizon
See doc/source/topics/install.rst
about how to install
Horizon in your OpenStack setup. It describes the example steps and has
pointers for more detailed settings and configurations.
It is also available at http://docs.openstack.org/developer/horizon/topics/install.html.
Getting Started for Developers
doc/source/quickstart.rst
or http://docs.openstack.org/developer/horizon/quickstart.html
describes how to setup Horizon development environment and start
development.
Building Contributor Documentation
This documentation is written by contributors, for contributors.
The source is maintained in the doc/source
directory
using reStructuredText and
built by Sphinx
Building Automatically:
$ ./run_tests.sh --docs
Building Manually:
$ tools/with_venv.sh sphinx-build doc/source doc/build/html
Results are in the doc/build/html
directory