From 089942ae316f4ce9512eaaed209f9e630faed21d Mon Sep 17 00:00:00 2001 From: rusikv Date: Fri, 31 Mar 2023 15:35:25 +0300 Subject: [PATCH] Add exoprt of alarm activity in CSV format --- .../alarm/alarm-assignee-panel.component.scss | 10 +++--- .../alarm/alarm-comment.component.html | 13 +++++-- .../alarm/alarm-comment.component.ts | 34 ++++++++++++++++--- .../alarm/alarm-details-dialog.component.scss | 5 --- .../import-export/import-export.models.ts | 5 +++ .../import-export/import-export.service.ts | 30 ++++++++++++++++ .../assets/locale/locale.constant-en_US.json | 7 +++- 7 files changed, 85 insertions(+), 19 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.scss b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.scss index cb9ae63dc2..5472d60495 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.scss +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.scss @@ -17,7 +17,7 @@ :host { width: 100%; overflow: auto; - background: #fff; + background: white; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15); border-radius: 4px; } @@ -27,7 +27,7 @@ padding: 8px; height: 340px; font-size: 14px; - background-color: #fff; + background-color: white; } .mat-form-field-appearance-outline .mdc-notched-outline__trailing{ @@ -61,12 +61,12 @@ height: 28px; min-width: 28px; min-height: 28px; - color: #fff; + color: white; font-size: 13px; font-weight: 700 } .user-display-name { - max-width: 180px; + max-width: 80%; overflow: hidden; span { overflow: hidden; @@ -77,8 +77,8 @@ } } .mdc-list-item__primary-text { + width: 100%; display: flex; - justify-content: start; align-items: center; line-height: normal; } 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 71f110e7d1..4d0527841f 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 @@ -24,6 +24,13 @@ alarm-activity.activity
+