From b48e276f44df6ba686e12329b2dc8f424b7b5e50 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 10 Oct 2024 16:10:04 +0300 Subject: [PATCH] Fx flex replacements. Switch to tailwind.css. --- .../copy-device-credentials.component.html | 2 +- ...ce-credentials-lwm2m-server.component.html | 4 +- .../device/device-credentials.component.html | 2 +- .../device/device-info-filter.component.html | 6 +- .../entity/add-entity-dialog.component.html | 6 +- .../entity/entities-table.component.html | 153 +++++++++--------- 6 files changed, 91 insertions(+), 82 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/device/copy-device-credentials.component.html b/ui-ngx/src/app/modules/home/components/device/copy-device-credentials.component.html index 1fe15c534c..5581e3d524 100644 --- a/ui-ngx/src/app/modules/home/components/device/copy-device-credentials.component.html +++ b/ui-ngx/src/app/modules/home/components/device/copy-device-credentials.component.html @@ -19,7 +19,7 @@ ngxClipboard [cbContent]="credential" (cbOnSuccess)="onCopyCredential()" - [fxHide]="hideButton" + [class.!hidden]="hideButton" [disabled]="disabled || loading"> {{ buttonLabel }} diff --git a/ui-ngx/src/app/modules/home/components/device/device-credentials-lwm2m-server.component.html b/ui-ngx/src/app/modules/home/components/device/device-credentials-lwm2m-server.component.html index 0f2412b857..31f7fe968a 100644 --- a/ui-ngx/src/app/modules/home/components/device/device-credentials-lwm2m-server.component.html +++ b/ui-ngx/src/app/modules/home/components/device/device-credentials-lwm2m-server.component.html @@ -15,7 +15,7 @@ limitations under the License. --> -
+
device.lwm2m-security-config.mode @@ -24,7 +24,7 @@ -
+
{{ 'device.lwm2m-security-config.client-publicKey-or-id' | translate }}
-
+
device.credentials-type
diff --git a/ui-ngx/src/app/modules/home/components/device/device-info-filter.component.html b/ui-ngx/src/app/modules/home/components/device/device-info-filter.component.html index 2590c24699..6852f642e8 100644 --- a/ui-ngx/src/app/modules/home/components/device/device-info-filter.component.html +++ b/ui-ngx/src/app/modules/home/components/device/device-info-filter.component.html @@ -30,9 +30,9 @@ -
+ -
+
-
+
- +
- +  
- +
{{ translations.selectedEntities | translate:{count: dataSource.selection.selected.length} }} - +
-
+
@@ -148,23 +148,23 @@ - + {{ column.ignoreTranslate ? column.title : (column.title | translate) }} - + [style]="cellStyle(entity, column, row)"> @@ -207,74 +207,83 @@ - {{ column.title | translate }} + {{ column.title | translate }} + [style]="cellStyle(entity, column, row)"> - - {{ entitiesTableConfig.actionsColumnTitle ? (entitiesTableConfig.actionsColumnTitle | translate) : '' }} + + +
+ {{ entitiesTableConfig.actionsColumnTitle ? (entitiesTableConfig.actionsColumnTitle | translate) : '' }} +
+
+ {{ entitiesTableConfig.actionsColumnTitle ? (entitiesTableConfig.actionsColumnTitle | translate) : '' }} +
+
- -
- -
-
- - - - -
+ +
+ + + + +
+
- - +
- {{ translations.noEntities | translate }} - {{ 'common.loading' | translate }} + {{ translations.noEntities | translate }} + {{ 'common.loading' | translate }}