horizon/openstack_dashboard/dashboards
Thai Tran 35e47358f0 Fix bug where WEBROOT is not respected
The WEB_ROOT setting needs to be respected rather than assuming / as
the root of the application. Simiarly, we can not assume that STATIC_URL
is a sub url of the WEB_ROOT. They can be configured as two indepedent url.

Angular templates are loaded dynamically with Ajax, which requires an
absolute base path. We define those base paths as angular constants for
template use and future routing.

TO TEST, follow directions at:
  http://docs.openstack.org/developer/horizon/topics/settings.html#webroot

Co-Authored-By: Matt Borland <matt.borland@hp.com>
Co-Authored-By: Shaoquan Chen <sean.chen2@hp.com>
Co-Authored-By: Thai Tran <tqtran@us.ibm.com>

Change-Id: Ifcd459633682edc94b270019ce77e17d64bea22d
Closes-Bug: #1451681
2015-07-22 04:10:50 +00:00
..
admin fixed the cancel button look in migrate host 2015-07-16 13:56:29 +05:30
identity Fix bug where WEBROOT is not respected 2015-07-22 04:10:50 +00:00
project Fix bug where WEBROOT is not respected 2015-07-22 04:10:50 +00:00
router Replace mox with mox3 2015-07-13 15:02:10 +02:00
settings Replace mox with mox3 2015-07-13 15:02:10 +02:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00