From 899820cd27ecd8526a802c3b99919be504fc21be Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 10 Oct 2024 15:09:59 +0300 Subject: [PATCH] Fx flex replacements. Switch to tailwind.css. --- .../alarm/alarm-assignee-panel.component.html | 4 +- .../alarm/alarm-assignee.component.html | 2 +- .../alarm/alarm-comment-dialog.component.html | 2 +- .../alarm/alarm-comment.component.html | 54 ++++--- .../alarm/alarm-details-dialog.component.html | 37 ++--- .../alarm/alarm-filter-config.component.html | 10 +- ...aliases-entity-select-panel.component.html | 6 +- .../aliases-entity-select.component.html | 4 +- .../alias/entity-alias-dialog.component.html | 4 +- .../entity-aliases-dialog.component.html | 34 ++-- .../add-attribute-dialog.component.html | 4 +- ...-widget-to-dashboard-dialog.component.html | 12 +- .../attribute/attribute-table.component.html | 68 ++++---- .../delete-timeseries-panel.component.html | 6 +- .../edit-attribute-value-panel.component.html | 4 +- .../audit-log-details-dialog.component.html | 10 +- .../add-widget-dialog.component.html | 8 +- .../dashboard-image-dialog.component.html | 15 +- .../dashboard-page.component.html | 153 +++++++++--------- .../dashboard-settings-dialog.component.html | 10 +- .../dashboard-widget-select.component.html | 20 +-- .../dashboard-page/edit-widget.component.html | 8 +- .../add-new-breakpoint-dialog.component.html | 4 +- .../layout/dashboard-layout.component.html | 12 +- ...ge-dashboard-layouts-dialog.component.html | 51 +++--- ...ge-dashboard-layouts-dialog.component.scss | 6 +- .../layout/move-widgets-dialog.component.html | 6 +- .../dashboard-state-dialog.component.html | 6 +- .../default-state-controller.component.html | 2 +- .../entity-state-controller.component.html | 9 +- ...age-dashboard-states-dialog.component.html | 23 ++- .../widget-types-panel.component.html | 2 +- .../dashboard/dashboard.component.html | 8 +- .../components/dashboard/layout-button.scss | 8 + ...select-target-layout-dialog.component.html | 16 +- .../select-target-state-dialog.component.html | 6 +- .../components/details-panel.component.html | 16 +- .../components/router-tabs.component.html | 8 +- ...ification-type-filter-panel.component.html | 2 +- .../src/app/modules/home/home.component.html | 15 +- .../src/app/modules/home/home.component.scss | 4 - .../home/menu/menu-toggle.component.html | 6 +- .../button/copy-button.component.html | 6 +- .../shared/components/cheatsheet.component.ts | 2 +- .../components/color-input.component.html | 6 +- .../entity/entity-list.component.html | 2 +- .../components/help-popup.component.html | 2 +- .../components/image-input.component.html | 2 +- .../components/led-light.component.html | 2 +- .../shared/components/markdown.component.ts | 2 +- .../notification/notification.component.scss | 1 - .../shared/components/popover.component.ts | 8 +- .../shared/components/tb-error.component.ts | 2 +- .../history-selector.component.html | 16 +- ...xport-widgets-bundle-dialog.component.html | 4 +- .../import-dialog-csv.component.html | 22 +-- .../import-dialog.component.html | 6 +- ui-ngx/src/styles.scss | 22 +-- ui-ngx/tailwind.config.js | 9 +- 59 files changed, 394 insertions(+), 405 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.html b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.html index ffd0a196e9..d16176e7f4 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.html @@ -35,11 +35,11 @@ {{ assignedToCurrentUserText | translate }} + [class.!hidden]="assigneeId === user.id.id"> -
+
diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.html b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.html index 229566a3ae..7fb20305bd 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.html @@ -15,7 +15,7 @@ limitations under the License. --> - alarm.assignee diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-comment-dialog.component.html b/ui-ngx/src/app/modules/home/components/alarm/alarm-comment-dialog.component.html index 8145c31b06..293f7efe08 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-comment-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-comment-dialog.component.html @@ -17,7 +17,7 @@ -->
- + diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.html b/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.html index d98e960081..6d03da14ed 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.html @@ -15,10 +15,11 @@ limitations under the License. --> -
-
-
+
+
+
alarm-activity.activity @@ -47,13 +48,14 @@
-
+
-
-
+
+
{{ displayDataElement.commentText }} @@ -65,20 +67,20 @@
-
-
{{ getUserInitials(displayDataElement.displayName) }}
- no_accounts + no_accounts -
-
+
+
{{ displayDataElement.displayName }} {{ displayDataElement.commentText }}
-
+
-
-
+
{{ getUserInitials(displayDataElement.displayName) }}
- + -
+
-
-
+
+
{{ getUserInitials(userDisplayName) }}
- +