From d667d574af727245467fb0773b68848952e454d4 Mon Sep 17 00:00:00 2001 From: Kristan Ntavidi Date: Tue, 30 Mar 2021 11:36:09 +0300 Subject: [PATCH] Dataset Profile editor. Create section button on page component. Dataset profile listing: Add Download Option. Minor ui fixes. --- ...file-editor-composite-field.component.html | 14 +++++---- ...file-editor-composite-field.component.scss | 4 ++- ...ile-editor-section-fieldset.component.html | 4 +-- .../dataset-profile-editor.component.html | 5 +++- .../dataset-profile-editor.component.scss | 9 ++++++ .../dataset-profile-listing.component.html | 4 +++ .../dataset-profile-listing.component.ts | 29 +++++++++++++++++++ .../table-of-contents/table-of-contents.html | 2 +- dmp-frontend/src/assets/i18n/de.json | 3 +- dmp-frontend/src/assets/i18n/en.json | 3 +- dmp-frontend/src/assets/i18n/es.json | 3 +- dmp-frontend/src/assets/i18n/gr.json | 3 +- dmp-frontend/src/assets/i18n/pt.json | 3 +- dmp-frontend/src/assets/i18n/sk.json | 3 +- dmp-frontend/src/assets/i18n/sr.json | 3 +- dmp-frontend/src/assets/i18n/tr.json | 3 +- 16 files changed, 77 insertions(+), 18 deletions(-) diff --git a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/composite-field/dataset-profile-editor-composite-field.component.html b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/composite-field/dataset-profile-editor-composite-field.component.html index 72d1685fd..35a28de3b 100644 --- a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/composite-field/dataset-profile-editor-composite-field.component.html +++ b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/composite-field/dataset-profile-editor-composite-field.component.html @@ -57,7 +57,7 @@ -
+
@@ -184,9 +184,11 @@
- {{'DATASET-PROFILE-EDITOR.ACTIONS.FIELD.PREVIEW' | translate}} +
+ {{'DATASET-PROFILE-EDITOR.ACTIONS.FIELD.PREVIEW' | translate}} +
-
+
@@ -212,7 +214,9 @@
  • - folder + Add Input icon + + - more_vert + more_vert {{'DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.DESCRIPTION' | translate}} diff --git a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/composite-field/dataset-profile-editor-composite-field.component.scss b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/composite-field/dataset-profile-editor-composite-field.component.scss index 39d036704..94cebbcc9 100644 --- a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/composite-field/dataset-profile-editor-composite-field.component.scss +++ b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/composite-field/dataset-profile-editor-composite-field.component.scss @@ -104,7 +104,9 @@ $blue-color-light: #5cf7f2; ::ng-deep .mat-menu-panel{ max-height: 32em; } - +:host ::ng-deep .fielset-header .mat-form-field-wrapper{ + padding-bottom: 0px; +} // ::ng-deep .underline-line-field .mat-form-field-appearance-legacy .mat-form-field-wapper{ // padding-bottom: 1.25em !important; diff --git a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/section-fieldset/dataset-profile-editor-section-fieldset.component.html b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/section-fieldset/dataset-profile-editor-section-fieldset.component.html index 18ac093a4..f23669afd 100644 --- a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/section-fieldset/dataset-profile-editor-section-fieldset.component.html +++ b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/section-fieldset/dataset-profile-editor-section-fieldset.component.html @@ -14,7 +14,7 @@ -
    +