Fixed static files for Liberty
Liberty is using a new base path for Horizon. Added auto discovery of static files to automatically add js files to Horizon. Change-Id: I8c0db007314f06d687d173a4f0be957b5f50f580
This commit is contained in:
parent
90dc51c1b9
commit
ae26a03c16
|
@ -14,6 +14,8 @@
|
|||
|
||||
ADD_INSTALLED_APPS = ['cloudkittydashboard']
|
||||
|
||||
AUTO_DISCOVER_STATIC_FILES = True
|
||||
|
||||
PANEL_GROUP = 'rating'
|
||||
PANEL_DASHBOARD = 'admin'
|
||||
PANEL = 'hashmap'
|
||||
|
|
|
@ -81,7 +81,7 @@ pricing = {
|
|||
var form_data = [{"service": "compute", "desc": desc_form, "volume": instance_count}];
|
||||
|
||||
// send the JSON by a POST request
|
||||
var url_data = '/project/rating/quote';
|
||||
var url_data = '/dashboard/project/rating/quote';
|
||||
this.sendPost(form_data, url_data);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue