From f96be893b8d46ce6fb44fb082f0142f41b56068b Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Fri, 21 Jan 2022 15:31:53 +0200 Subject: [PATCH] Tenant profile rate limits configuration UI refactoring --- .../tenant-profile-data.component.html | 17 +++++-- .../profile/tenant-profile.component.html | 8 ++-- ...enant-profile-configuration.component.html | 48 +++++++------------ 3 files changed, 33 insertions(+), 40 deletions(-) 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 4a979fb0cb..9af8d294de 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 @@ -16,8 +16,17 @@ -->
- - + + + +
tenant-profile.profile-configuration
+
+
+ + + + +
diff --git a/ui-ngx/src/app/modules/home/components/profile/tenant-profile.component.html b/ui-ngx/src/app/modules/home/components/profile/tenant-profile.component.html index 18dd97fac4..e5a3a54293 100644 --- a/ui-ngx/src/app/modules/home/components/profile/tenant-profile.component.html +++ b/ui-ngx/src/app/modules/home/components/profile/tenant-profile.component.html @@ -62,14 +62,14 @@
{{'tenant.isolated-tb-rule-engine-details' | translate}}
- - tenant-profile.description - - + + tenant-profile.description + + diff --git a/ui-ngx/src/app/modules/home/components/profile/tenant/default-tenant-profile-configuration.component.html b/ui-ngx/src/app/modules/home/components/profile/tenant/default-tenant-profile-configuration.component.html index 9ea904d820..911b0b4bd2 100644 --- a/ui-ngx/src/app/modules/home/components/profile/tenant/default-tenant-profile-configuration.component.html +++ b/ui-ngx/src/app/modules/home/components/profile/tenant/default-tenant-profile-configuration.component.html @@ -213,12 +213,10 @@ - + {{ 'tenant-profile.max-rule-node-executions-per-message-required' | translate}} - + {{ 'tenant-profile.max-rule-node-executions-per-message-range' | translate}} @@ -262,32 +260,28 @@ tenant-profile.transport-tenant-msg-rate-limit - + {{ 'tenant-profile.incorrect-pattern-for-rate-limits' | translate}} tenant-profile.transport-tenant-telemetry-msg-rate-limit - + {{ 'tenant-profile.incorrect-pattern-for-rate-limits' | translate}} tenant-profile.transport-tenant-telemetry-data-points-rate-limit - + {{ 'tenant-profile.incorrect-pattern-for-rate-limits' | translate}} tenant-profile.transport-device-msg-rate-limit - + {{ 'tenant-profile.incorrect-pattern-for-rate-limits' | translate}} @@ -298,8 +292,7 @@ tenant-profile.transport-device-telemetry-data-points-rate-limit - + {{ 'tenant-profile.incorrect-pattern-for-rate-limits' | translate}} @@ -308,8 +301,7 @@ - + {{ 'tenant-profile.incorrect-pattern-for-rate-limits' | translate}} @@ -318,8 +310,7 @@ - + {{ 'tenant-profile.incorrect-pattern-for-rate-limits' | translate}} @@ -340,8 +331,7 @@ tenant-profile.ws-limit-max-sessions-per-public-user - + {{ 'tenant-profile.too-small-value-zero' | translate}} @@ -362,48 +352,42 @@ tenant-profile.ws-limit-max-subscriptions-per-tenant - + {{ 'tenant-profile.too-small-value-zero' | translate}} tenant-profile.ws-limit-max-subscriptions-per-customer - + {{ 'tenant-profile.too-small-value-zero' | translate}} tenant-profile.ws-limit-max-subscriptions-per-regular-user - + {{ 'tenant-profile.too-small-value-zero' | translate}} tenant-profile.ws-limit-max-subscriptions-per-public-user - + {{ 'tenant-profile.too-small-value-zero' | translate}} tenant-profile.ws-limit-updates-per-session - + {{ 'tenant-profile.incorrect-pattern-for-rate-limits' | translate}} tenant-profile.cassandra-tenant-limits-configuration - + {{ 'tenant-profile.incorrect-pattern-for-rate-limits' | translate}}