horizon/openstack_dashboard
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
..
api Merge "Only use ports with non empy list of fixed_ips" 2015-07-21 12:02:47 +00:00
conf Adding policy check in quota call 2015-06-25 22:04:50 +00:00
contrib Moving Sahara to contrib 2015-07-14 22:35:09 +09:00
dashboards Fix bug where WEBROOT is not respected 2015-07-22 04:10:50 +00:00
django_pyscss_fix Workaround for 'File exists' test failure 2014-09-30 06:43:22 -05:00
enabled Merge "Moving AngularJS panel file to _200 range" 2015-07-16 22:07:37 +00:00
local Merge "Add anti-ClickJack XFS hardening for old browsers" 2015-07-03 02:53:10 +00:00
locale Imported Translations from Transifex 2015-07-20 06:05:00 +00:00
management Detect apache version 2015-04-03 09:51:05 +02:00
static Fix bug where WEBROOT is not respected 2015-07-22 04:10:50 +00:00
templates Fix bug where WEBROOT is not respected 2015-07-22 04:10:50 +00:00
templatetags Add anti-ClickJack XFS hardening for old browsers 2015-07-02 12:57:35 -04:00
test Merge "LBAAS VIP floating IP table actions" 2015-07-16 16:16:44 +00:00
usage Fix _get_tenant_volume_usages 2015-06-29 21:45:35 +08:00
utils Apply auto-file-discovery to plugins 2015-07-01 14:14:03 +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
.eslintrc Add selective ESLint rule activation for Horizon Legacy JS 2015-07-08 17:06:15 -07:00
context_processors.py Fix bug where WEBROOT is not respected 2015-07-22 04:10:50 +00:00
exceptions.py Revert "Refactoring the exceptions lists" 2015-04-06 16:49:17 -05:00
hooks.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
karma.conf.js Dashboard karma is missing framework files 2015-07-09 18:51:19 +00:00
policy_backend.py Remove files from oslo-incubator 2015-06-16 01:35:34 +00:00
policy.py Moving policy engine implementation 2015-01-22 15:55:19 -07:00
settings.py Fix bug where WEBROOT is not respected 2015-07-22 04:10:50 +00:00
static_settings.py Updated incorrect name for angular lrdragndrop 2015-03-31 10:42:18 +00:00
urls.py Allow specifying authentication URLs from settings 2015-03-18 11:44:30 +11:00
views.py Redirect initial hit to login page 2015-03-13 15:14:23 +11:00