From b19bcdfe9a3b0eae6409654a4a7a92597767b8b1 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Wed, 23 Dec 2020 17:31:08 +0200 Subject: [PATCH] UI: Improvement time rendering profiles seated too many parameters --- .../alarm/device-profile-alarm.component.html | 164 +++++++++--------- .../profile/device-profile.component.html | 38 ++-- .../tenant-profile-data.component.html | 10 +- 3 files changed, 113 insertions(+), 99 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/profile/alarm/device-profile-alarm.component.html b/ui-ngx/src/app/modules/home/components/profile/alarm/device-profile-alarm.component.html index cec0f48259..79fa9b7383 100644 --- a/ui-ngx/src/app/modules/home/components/profile/alarm/device-profile-alarm.component.html +++ b/ui-ngx/src/app/modules/home/components/profile/alarm/device-profile-alarm.component.html @@ -33,87 +33,91 @@ -
- - - {{'device-profile.alarm-type' | translate}} - - - {{ 'device-profile.alarm-type-required' | translate }} - - - {{ 'device-profile.alarm-type-unique' | translate }} - - -
- - - -
-
device-profile.advanced-settings
-
-
-
- - {{ 'device-profile.propagate-alarm' | translate }} - -
- - device-profile.alarm-rule-relation-types-list - - - {{key}} - close - - - - + +
+ + + {{'device-profile.alarm-type' | translate}} + + + {{ 'device-profile.alarm-type-required' | translate }} + + + {{ 'device-profile.alarm-type-unique' | translate }} + -
-
-
-
device-profile.create-alarm-rules
- - -
device-profile.clear-alarm-rule
-
-
- - +
+ + + +
+
device-profile.advanced-settings
+
+
+
+ + + {{ 'device-profile.propagate-alarm' | translate }} + +
+ + device-profile.alarm-rule-relation-types-list + + + {{key}} + close + + + + + +
+
+
+
+
device-profile.create-alarm-rules
+ + +
device-profile.clear-alarm-rule
+
+
+ + +
+ +
+
+ device-profile.no-clear-alarm-rule +
+
+
-
-
- device-profile.no-clear-alarm-rule -
-
- -
-
+ diff --git a/ui-ngx/src/app/modules/home/components/profile/device-profile.component.html b/ui-ngx/src/app/modules/home/components/profile/device-profile.component.html index 4cba236d2a..bb3d6e7e43 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device-profile.component.html +++ b/ui-ngx/src/app/modules/home/components/profile/device-profile.component.html @@ -91,10 +91,12 @@
device-profile.profile-configuration
- - + + + + @@ -102,10 +104,12 @@
device-profile.transport-configuration
- - + + + +
@@ -115,10 +119,12 @@ entityForm.get('profileData.alarms').value.length : 0} }}
- - + + + + @@ -126,9 +132,11 @@
device-profile.device-provisioning
- - + + + +
diff --git a/ui-ngx/src/app/modules/home/components/profile/tenant-profile-data.component.html b/ui-ngx/src/app/modules/home/components/profile/tenant-profile-data.component.html index 3d853940f4..ae7a9540db 100644 --- a/ui-ngx/src/app/modules/home/components/profile/tenant-profile-data.component.html +++ b/ui-ngx/src/app/modules/home/components/profile/tenant-profile-data.component.html @@ -22,9 +22,11 @@
tenant-profile.profile-configuration
- - + + + +