From d132d800c7cf90955eca13fd883db1e8e3b73611 Mon Sep 17 00:00:00 2001 From: kalytka Date: Fri, 26 May 2023 10:50:32 +0300 Subject: [PATCH 1/2] UI refactoring --- .../relation/relation-filters.component.html | 25 ++++++++++--------- .../relation/relation-filters.component.scss | 6 ++++- .../entity/entity-subtype-list.component.html | 5 ++-- .../entity/entity-type-list.component.html | 4 +-- .../entity/entity-type-list.component.ts | 7 +++++- .../relation-type-autocomplete.component.html | 5 ++-- .../relation-type-autocomplete.component.ts | 4 ++- .../assets/locale/locale.constant-ca_ES.json | 1 - .../assets/locale/locale.constant-cs_CZ.json | 1 - .../assets/locale/locale.constant-da_DK.json | 1 - .../assets/locale/locale.constant-de_DE.json | 1 - .../assets/locale/locale.constant-el_GR.json | 1 - .../assets/locale/locale.constant-es_ES.json | 1 - .../assets/locale/locale.constant-fa_IR.json | 1 - .../assets/locale/locale.constant-fr_FR.json | 1 - .../assets/locale/locale.constant-it_IT.json | 1 - .../assets/locale/locale.constant-ko_KR.json | 1 - .../assets/locale/locale.constant-lv_LV.json | 1 - .../assets/locale/locale.constant-ro_RO.json | 1 - .../assets/locale/locale.constant-ru_RU.json | 1 - .../assets/locale/locale.constant-uk_UA.json | 2 +- .../assets/locale/locale.constant-zh_CN.json | 1 - .../assets/locale/locale.constant-zh_TW.json | 1 - 23 files changed, 34 insertions(+), 39 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html index 71965c4ba1..b052a1816c 100644 --- a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html +++ b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html @@ -22,14 +22,16 @@ fxLayoutAlign="start center" formArrayName="relationFilters" *ngFor="let relationFilterControl of relationFiltersFormArray.controls; let $index = index">
-
+
- @@ -49,14 +51,13 @@ relation.any-relation
-
- -
+
diff --git a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.scss b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.scss index 5713fa2461..a2d4232f24 100644 --- a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.scss +++ b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.scss @@ -29,7 +29,7 @@ } .body { - max-height: 300px; + max-height: 363px; overflow: auto; .row { @@ -48,5 +48,9 @@ .any-filter{ margin: 10px 0 20px; } + + .add-button { + margin: 5px 0px 15px; + } } } diff --git a/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.html b/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.html index 909d780e45..3ad2ef2824 100644 --- a/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.html +++ b/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.html @@ -15,8 +15,8 @@ limitations under the License. --> - - {{ label | translate }} + + {{ label }}