From f2b10edf1e7e4cd8021774b8c244bec7c8c6620a Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Thu, 9 Apr 2020 17:53:24 +0300 Subject: [PATCH] [3.0] Improvements import and tables for mobile view (#2594) * Fix width table in Safari * Improvement in mobile view * Improvement attributes-table from mobile view * Relation-table improvement for mobile view * Improvement entity-table from mobile view --- .../alarm/alarm-details-dialog.component.html | 7 +- .../components/alarm/alarm-table-config.ts | 4 - .../alarm/alarm-table-header.component.html | 4 +- .../alarm/alarm-table-header.component.scss | 12 +++ .../components/alarm/alarm-table.component.ts | 5 +- .../attribute/attribute-table.component.html | 82 ++++++++++--------- .../attribute/attribute-table.component.scss | 43 ++++++++++ .../attribute/attribute-table.component.ts | 6 +- .../entity/entities-table.component.html | 20 +++-- .../entity/entities-table.component.scss | 28 +++++++ .../event/event-table-header.component.html | 4 +- .../event/event-table-header.component.scss | 12 +++ .../components/event/event-table.component.ts | 12 +-- .../import-dialog-csv.component.html | 40 ++++----- .../import-dialog-csv.component.scss | 1 - .../import-dialog.component.html | 8 +- .../table-columns-assignment.component.html | 6 +- .../relation/relation-table.component.html | 50 +++++------ .../relation/relation-table.component.scss | 37 +++++++++ .../asset/asset-table-header.component.scss | 13 +++ .../asset/asset-table-header.component.ts | 12 +-- .../device/device-table-header.component.scss | 13 +++ .../entity-view-table-header.component.scss | 13 +++ .../widgets-bundle-select.component.scss | 6 ++ ui-ngx/src/styles.scss | 2 +- 25 files changed, 303 insertions(+), 137 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.html b/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.html index 7ff3317789..47c9ef8645 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.html @@ -16,10 +16,10 @@ -->
- +

{{ 'alarm.alarm-details' | translate }}

- - - - - - - - - +
+ + +
@@ -95,18 +96,19 @@ {{ 'import.stepper-text.column-type' | translate }} -
+
- - - +
+ + +
diff --git a/ui-ngx/src/app/modules/home/components/import-export/import-dialog-csv.component.scss b/ui-ngx/src/app/modules/home/components/import-export/import-dialog-csv.component.scss index 9be9def15f..bed63393bb 100644 --- a/ui-ngx/src/app/modules/home/components/import-export/import-dialog-csv.component.scss +++ b/ui-ngx/src/app/modules/home/components/import-export/import-dialog-csv.component.scss @@ -17,7 +17,6 @@ .mat-dialog-content { .mat-vertical-content { form { - overflow: hidden !important; padding-bottom: 12px; } } diff --git a/ui-ngx/src/app/modules/home/components/import-export/import-dialog.component.html b/ui-ngx/src/app/modules/home/components/import-export/import-dialog.component.html index a75d2b4bca..3e35485b9b 100644 --- a/ui-ngx/src/app/modules/home/components/import-export/import-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/import-export/import-dialog.component.html @@ -16,7 +16,7 @@ -->
- +

{{ importTitle }}

-
- - - -
-
- - {{ translate.get('relation.selected-relations', {count: dataSource.selection.selected.length}) | async }} - - - -