
Also provide first approach to changing dependent field on field change according to schema received by $http AJAX call. This commit includes updated angular-bootstrap code is well for the typeahead plugin to work with ng-model-options="{getterSetter: true}" option. The ideal solution here would be to create a pull-request to the angular-bootstrap plugin repo at github, make it merged and then make the new version to be used in Horizon (and eliminate the need to use the customized version of angular-bootstrap plugin in Merlin). Implements: blueprint angular-fields-dependencies Change-Id: I2be49de07beb09f430a8a4ffe5a19552fbaeb81e
19 lines
713 B
Python
19 lines
713 B
Python
# The name of the panel to be added to HORIZON_CONFIG. Required.
|
|
PANEL = 'mistral'
|
|
# The name of the dashboard the PANEL associated with. Required.
|
|
PANEL_DASHBOARD = 'project'
|
|
# The name of the panel group the PANEL is associated with.
|
|
PANEL_GROUP = 'orchestration'
|
|
|
|
ADD_INSTALLED_APPS = ['merlin', 'mistral']
|
|
|
|
# Python panel class of the PANEL to be added.
|
|
ADD_PANEL = 'mistral.panel.MistralPanel'
|
|
|
|
ADD_ANGULAR_MODULES = ['angular.filter', 'merlin', 'mistral']
|
|
ADD_JS_FILES = ['merlin/js/lib/angular-filter.js',
|
|
'merlin/js/lib/ui-bootstrap-tpls-0.12.1.js',
|
|
'merlin/js/merlin.init.js',
|
|
'merlin/js/merlin.templates.js',
|
|
'mistral/js/mistral.init.js']
|