diff --git a/src/components/ZclCustomZclView.vue b/src/components/ZclCustomZclView.vue index 6f1c5c8e9b..7ca4c16fc1 100644 --- a/src/components/ZclCustomZclView.vue +++ b/src/components/ZclCustomZclView.vue @@ -73,11 +73,13 @@ limitations under the License. @@ -88,13 +90,13 @@ limitations under the License.
- {{ sessionPackage.pkg.path }} + {{ sessionPackage.pkg.path }}
@@ -103,18 +105,18 @@ limitations under the License.
-
Errors
    -
  • @@ -123,21 +125,21 @@ limitations under the License.
-
Warnings
    -
  • + > {{ warning.message }}
@@ -166,7 +168,7 @@ export default { watch: { packages(newPackages) { this.loadPackageNotification(newPackages) - } + }, }, methods: { getFileName(path) { @@ -194,7 +196,8 @@ export default { this.error = packageStatus.err Notify.create({ message: this.error, - color: 'negative', + type: 'warning', + classes: 'custom-notification notification-warning', position: 'top', html: true, }) @@ -233,11 +236,10 @@ export default { errors: [], } notifications.forEach((notification) => { - if (notification.type == "ERROR") { + if (notification.type == 'ERROR') { currentPackage.hasError = true currentPackage.errors.push(notification) - } - else { + } else { currentPackage.warnings.push(notification) } }) @@ -263,15 +265,15 @@ export default { } }, handleIconClick(packageId) { - let iconName = this.iconName(packageId); + let iconName = this.iconName(packageId) if (iconName === 'error' || iconName === 'warning') { - this.dialogData[packageId] = true; + this.dialogData[packageId] = true } }, populateNotifications(packageId, type) { - let key = type == "ERROR" ? "errors" : "warnings" + let key = type == 'ERROR' ? 'errors' : 'warnings' return this.notisData[packageId][key] - } + }, }, mounted() { if (this.$serverGet != null) { @@ -287,7 +289,7 @@ export default { } } ) - } + } }, data() { return { diff --git a/src/components/ZclDomainClusterView.vue b/src/components/ZclDomainClusterView.vue index 10e66689fa..d3b6e28d1a 100644 --- a/src/components/ZclDomainClusterView.vue +++ b/src/components/ZclDomainClusterView.vue @@ -47,8 +47,8 @@ limitations under the License. :cover="false" :offset="[0, -54]" v-model="uc_label" - class="bg-white text-black" - style="overflow-wrap: break-word; padding: 0px" + class="custom-notification notification-warning q-p-lg" + style="overflow-wrap: break-word" >
@@ -57,18 +57,13 @@ limitations under the License. class="text-amber q-mr-sm" style="font-size: 1.5rem" > -
- Required SLC Component not installed -
-
- -
- Install following components to continue endpoint - configuration. -
- -
-
+
+ + Required SLC Component not installed + +
+ Install following components to continue endpoint + configuration.
+
-
+
+
The following components ${verb} ${action}.
` msg += `
    ` @@ -100,7 +101,8 @@ export function notifyComponentUpdateStatus(componentIdStates, added) { // notify ui Notify.create({ message: msg, - color, + type: type, + classes: classes, position: 'top', html: true, })