OpenStack Dashboard (Horizon)
Go to file
Sam Betts ec27165a8d Fix date pickers in metering modal
The metering forms were using the date picker functionality from the
d3 line chart library, this used to work when it was loaded as a whole
page as the d3 libary would run intending to setup any d3 graphs however
now it is being loaded as a modal the elements that would be affected by
the d3 code do not exist at page load time.

In order to get the date picker events to be added to the elements on
the form when the modal loads, the JS in the forms template has been
extended in this patch to support adding those events.

This patch also changes the data attributes on the form elements so that
they do not conflict with any d3 line chart elements.

Alongside the javascript this patch fixes bug to do with parsing the
dates in metering utils and adds UTs to prevent regression.

Change-Id: I4e239daa03b2f54e434254bac48ba0cceb037b5d
Closes-Bug: 1427756
(cherry picked from commit 0d010f601c)
2015-06-26 10:42:07 +02:00
.tx update .tx/config to match Kilo Transifex resources 2015-04-23 23:24:34 +00:00
doc Merge "Fixing typo in AVAILABLE_REGIONS section" 2015-04-13 08:25:15 +00:00
horizon Fix date pickers in metering modal 2015-06-26 10:42:07 +02:00
openstack_dashboard Fix date pickers in metering modal 2015-06-26 10:42:07 +02:00
tools Adding review clean up script 2015-01-27 08:56:21 -07:00
.gitignore Added a migrate_settings command 2015-02-05 12:24:18 +01:00
.gitreview update .gitreview for stable/kilo 2015-04-17 10:29:31 +02:00
.jshintrc Adding horizon to jshint 2015-04-08 18:08:06 +00:00
.mailmap Update my mailmap 2013-10-25 14:49:23 +08:00
.pylintrc updating run_tests.sh to mimic other openstack projects, pep8, pylint, coverage 2011-08-31 14:41:36 -07:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:36 +00:00
HACKING.rst Remove #noqa from django.conf.urls.include 2014-09-29 13:58:39 +04:00
LICENSE Initial commit 2011-01-12 13:43:31 -08:00
MANIFEST.in Drop NodeJS dependency in favor of pure-python lesscpy 2013-08-16 09:31:08 +02:00
Makefile Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
README.rst Add install guide for users and clean up README 2014-10-09 03:29:26 +09:00
manage.py Gate on H102 Apache 2.0 license header not found for pep8 2013-11-19 13:55:04 -05:00
openstack-common.conf Remove unused openstack.common.importutils 2014-10-13 15:15:31 -07:00
requirements.txt Updated from global requirements 2015-04-23 15:48:09 +00:00
run_tests.sh run compilemessages with runtime deps 2015-03-25 19:12:14 +01:00
setup.cfg Bump pre-release to 2015.1.1 2015-05-04 15:30:23 -05:00
setup.py Updated from global requirements 2014-05-01 13:44:26 +00:00
test-requirements.txt Updated from global requirements 2015-03-21 00:09:13 +00:00
tox.ini Inherit environment variables for tests that use nodeenv 2015-05-26 12:39:35 -07:00

README.rst

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.

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