OpenStack Dashboard (Horizon)
Go to file
Shu Muto c920dc9d42 Fix Angular errors in openstack_auth
Angular errors on login page are caused by loading ngdetails view.
Although registration of URL for ngdetails is executed on top level
of Horizon, ngdetails view is not needed to be loaded in login page,
i.e. openstack_auth side.
To fix this issue, this patch moves registration of URL for ngdetails
into openstack_dashboard side.

Conflicts:
	openstack_dashboard/test/urls.py
	openstack_dashboard/urls.py

The above conflicts are caused by bp/django2-support which landed in Rocky,
particully by https://review.openstack.org/#/c/527323/12.

Another problem:

ngdetails url doesn't have project prefix after Ocata release, pls see:
https://github.com/openstack/horizon/blob/stable/ocata/ \
    openstack_dashboard/static/app/core/images/images.service.js#L59
https://github.com/openstack/horizon/blob/stable/pike/ \
    openstack_dashboard/static/app/core/images/images.service.js#L69

So the following simple changes need to be made in urls.py
in addition to the primitive backport patches.

-ngdetails_url = url(r'^ngdetails/',
+ngdetails_url = url(r'^project/ngdetails/',

Change-Id: Ib039417b4e666c2341f17ac05fd7723bc758816c
Closes-Bug: #1754133
Closes-Bug: #1753557
(cherry picked from commit f494c6f2d4)
(cherry picked from commit 6f6f46dc6d)
Signed-off-by: Zhang Hua <joshua.zhang@canonical.com>
2019-01-15 13:58:14 +08:00
doc Add config for default create volume option 2017-06-09 23:56:18 +02:00
horizon Fix Angular errors in openstack_auth 2019-01-15 13:58:14 +08:00
openstack_dashboard Fix Angular errors in openstack_auth 2019-01-15 13:58:14 +08:00
releasenotes Enable to refresh ngdetails view 2019-01-15 11:40:54 +08:00
tools Refactor tox & update docs 2016-11-30 20:38:59 +00:00
.eslintignore bump eslint version to 1.10.3 2016-03-31 14:06:45 +00:00
.eslintrc Disabling warnings of 'quote-props' 2016-05-18 15:04:00 -06:00
.gitignore Refactor tox & update docs 2016-11-30 20:38:59 +00:00
.gitreview Update .gitreview for stable/ocata 2017-02-02 21:21:20 +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
.testr.conf Add testr support 2015-12-10 09:45:41 +01:00
.zuul.yaml import zuul job settings from project-config 2018-08-21 16:56:37 +09:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:36 +00:00
HACKING.rst Eliminate mutable default arguments 2015-12-17 09:58:46 +00:00
LICENSE Initial commit 2011-01-12 13:43:31 -08:00
MANIFEST.in Update MANIFEST for SCSS 2015-09-09 14:42:10 +01:00
Makefile Remove non-existent "test" target from Make help 2017-03-14 10:29:50 +00:00
README.rst Show team and repo badges on README 2016-12-06 06:26:16 +00:00
babel-django.cfg Added a django extract for .csv files 2015-09-15 21:57:42 +00:00
babel-djangojs.cfg Angular translation via babel (singular only) 2015-07-02 11:13:45 +10:00
manage.py Gate on H102 Apache 2.0 license header not found for pep8 2013-11-19 13:55:04 -05:00
package.json Refactor tox & update docs 2016-11-30 20:38:59 +00:00
requirements.txt Updated from global requirements 2017-05-15 23:30:57 +00:00
run_tests.sh Add constraints support to run_tests.sh 2016-11-28 11:06:07 +11:00
setup.cfg Add Python 3.5 classifier 2016-09-06 04:41:48 +00:00
setup.py Updated from global requirements 2015-09-19 05:37:19 +00:00
test-requirements.txt Updated from global requirements 2017-01-20 01:46:38 +00:00
test-shim.js Add Apache 2.0 license to source file 2016-12-02 17:40:28 +07:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/ocata 2017-02-10 10:20:51 +00: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.

image

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