Files
blazar-dashboard/blazar_dashboard/enabled/_91_project_reservations_leases_panel.py
Pierre Riteau cd836a85d9 Replace minified apexcharts by full version
Using minified Javascript code raises packaging issues [1].

Replace with the full version of ApexCharts v4.7.0 [2], which is the
last release under MIT license. Newer 5.x releases are under a custom
license [3].

Included the full MIT license at the top of the vendored file to ensure
we comply with the distribution terms.

[1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/6IMESH5VFHFETLNLOM53DBPCPVI6QSDW/
[2] https://github.com/apexcharts/apexcharts.js/releases/tag/v4.7.0
[3] https://github.com/apexcharts/apexcharts.js/blob/main/LICENSE

Change-Id: I8c9fe77e6318efc69a3d709dc5e573338ce919f8
Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
2025-08-22 11:28:25 +02:00

31 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 panel to be added to HORIZON_CONFIG. Required.
PANEL = 'leases'
# The slug of the panel group the PANEL is associated with.
PANEL_GROUP = 'reservations'
# The slug of the dashboard the PANEL associated with. Required.
PANEL_DASHBOARD = 'project'
# Python panel class of the PANEL to be added.
ADD_PANEL = 'blazar_dashboard.content.leases.panel.Leases'
ADD_SCSS_FILES = [
'leases/scss/calendar.scss',
]
ADD_JS_FILES = [
'leases/js/calendar/lease_chart.js',
'leases/js/vendor/apexcharts.js',
]