Skip to content

Commit

Permalink
enh(drawio-map): Weather style resource: status as bg-color (#170)
Browse files Browse the repository at this point in the history
* fix image url

* enh(drawio - map): add checkbox
  • Loading branch information
Yassir-BenBOUBKER authored Dec 9, 2024
1 parent 7f76ea2 commit 8f350e6
Show file tree
Hide file tree
Showing 7 changed files with 237 additions and 215 deletions.
107 changes: 55 additions & 52 deletions src/main/webapp/js/app.min.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/main/webapp/js/extensions.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/main/webapp/js/grapheditor/Actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ Actions.prototype.init = function()
}

const resourceCentreonProps = ['type', 'resourceType', 'resourceId', 'displayLabel', 'displayParentName', 'useResourceName', 'label',
'resourceName', 'modelId', 'viewId', 'parentName', 'parentType', 'parentId', 'displayWeatherStatusBackgroundColor'];
'resourceName', 'modelId', 'viewId', 'parentName', 'parentType', 'parentId', 'displayWeatherStatusBackgroundColor', 'useBackgroundStatusColor'];
const linkProps = ['type', 'linkType', 'parentName', 'parentType', 'parentId',
'resourceType', 'resourceId', 'resourceName', 'modelId','metric1Min',
'metric1Max', 'metric2Min', 'metric2Max', 'metricName1', 'metricName2', 'displayPercent'];
Expand All @@ -741,7 +741,7 @@ Actions.prototype.init = function()
'metricsColorStart', 'metricsColorEnd', 'parentName', 'parentType', 'parentId',
'resourceName', 'orientation', 'useResourceName', 'displayLabel', 'displayParentName'
];
const containerProps = ['type', 'modelId', 'viewId', 'imageName', 'centreonImageId', 'label', 'displayLabel', 'displayWeatherStatusBackgroundColor'];
const containerProps = ['type', 'modelId', 'viewId', 'imageName', 'centreonImageId', 'label', 'displayLabel', 'displayWeatherStatusBackgroundColor', 'useBackgroundStatusColor'];

let cellAttributes = [];

Expand Down
116 changes: 62 additions & 54 deletions src/main/webapp/js/integrate.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/main/webapp/js/orgchart.min.js

Large diffs are not rendered by default.

108 changes: 56 additions & 52 deletions src/main/webapp/js/viewer-static.min.js

Large diffs are not rendered by default.

108 changes: 56 additions & 52 deletions src/main/webapp/js/viewer.min.js

Large diffs are not rendered by default.

0 comments on commit 8f350e6

Please sign in to comment.