41b1b42dc0
When AUTO_DISCOVER_STATIC_FILES enabled in a plugin dashboard, static files including JavaScript files and static angular html templates will be automatically discovered. Change-Id: I7a88983f2604b71431b5b18c97a5c22c37961141 Partially-Implements: blueprint auto-js-file-finding
32 lines
1.1 KiB
Python
32 lines
1.1 KiB
Python
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
# The slug of the dashboard to be added to HORIZON['dashboards']. Required.
|
|
DASHBOARD = 'identity'
|
|
# If set to True, this dashboard will be set as the default dashboard.
|
|
DEFAULT = False
|
|
# A dictionary of exception classes to be added to HORIZON['exceptions'].
|
|
ADD_EXCEPTIONS = {}
|
|
# A list of applications to be added to INSTALLED_APPS.
|
|
ADD_INSTALLED_APPS = ['openstack_dashboard.dashboards.identity']
|
|
|
|
ADD_ANGULAR_MODULES = [
|
|
'hz.dashboard',
|
|
'hz.dashboard.identity',
|
|
]
|
|
|
|
AUTO_DISCOVER_STATIC_FILES = True
|
|
|
|
ADD_SCSS_FILES = [
|
|
'dashboard/identity/identity.scss'
|
|
]
|