diff --git a/dmp-frontend/src/app/library/auto-complete/multiple/multiple-auto-complete.component.scss b/dmp-frontend/src/app/library/auto-complete/multiple/multiple-auto-complete.component.scss index 8b0858e0d..1230c73a7 100644 --- a/dmp-frontend/src/app/library/auto-complete/multiple/multiple-auto-complete.component.scss +++ b/dmp-frontend/src/app/library/auto-complete/multiple/multiple-auto-complete.component.scss @@ -8,10 +8,10 @@ .align-arrow-right { - position: absolute; + // position: absolute; right: 0; // bottom: 0; - vertical-align: middle; + // vertical-align: middle; cursor: pointer; align-self: center; color: rgba(0, 0, 0, 0.54); @@ -39,3 +39,8 @@ .two-line-mat-option { line-height: 1.2em; } + +::ng-deep .mat-chip-list-wrapper { + max-height: 4.8em !important; + overflow: auto !important; +} diff --git a/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria-dialogue/dataset-criteria-dialog.component.html b/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria-dialogue/dataset-criteria-dialog.component.html index 167a8da14..db2bddfee 100644 --- a/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria-dialogue/dataset-criteria-dialog.component.html +++ b/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria-dialogue/dataset-criteria-dialog.component.html @@ -1,2 +1,2 @@ clear - + diff --git a/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria.component.html b/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria.component.html index b50c6e0c8..6498dc3f5 100644 --- a/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria.component.html +++ b/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria.component.html @@ -1,7 +1,11 @@
-
{{'CRITERIA.FILTERS'| translate}}
-
+
+
+
{{'CRITERIA.FILTERS'| translate}}
+
+
+
-
+
{{'CRITERIA.DATA-SETS.STATUS'| translate}}
- {{ 'TYPES.DATASET-STATUS.ANY' | translate }} - {{ 'TYPES.DATASET-STATUS.DRAFT' | translate }} - {{ 'TYPES.DATASET-STATUS.FINALISED' | translate }} + + {{ 'TYPES.DATASET-STATUS.ANY' | translate }} + + + {{ 'TYPES.DATASET-STATUS.DRAFT' | translate }} + + + {{ 'TYPES.DATASET-STATUS.FINALISED' | translate }} + +
-
+
{{ 'FACET-SEARCH.GRANT-STATUS.TITLE' | translate }}
- {{ 'FACET-SEARCH.GRANT-STATUS.OPTIONS.ANY' | translate }} - {{ 'FACET-SEARCH.GRANT-STATUS.OPTIONS.ACTIVE' | translate }} - {{ 'FACET-SEARCH.GRANT-STATUS.OPTIONS.INACTIVE' | translate }} + + {{ 'FACET-SEARCH.GRANT-STATUS.OPTIONS.ANY' | translate }} + + + {{ 'FACET-SEARCH.GRANT-STATUS.OPTIONS.ACTIVE' | translate }} + + + {{ 'FACET-SEARCH.GRANT-STATUS.OPTIONS.INACTIVE' | translate }} + +
-
+
{{'CRITERIA.DATA-SETS.RELATED-DATASET-TEMPLATES' | translate}}
- - + + {{'CRITERIA.DATA-SETS.SELECT-DATASET-TEMPLATES' | translate }} + +
-
+
{{'CRITERIA.DATA-SETS.RELATED-DMP' | translate}}
- - + + {{'CRITERIA.DATA-SETS.SELECT-DMP' | translate }} + +
-
+
{{'CRITERIA.DATA-SETS.ALL-VERSIONS'| translate}}
+
-
+
{{'CRITERIA.DATA-SETS.RELATED-GRANT' | translate}}
- - + + {{'CRITERIA.DATA-SETS.SELECT-GRANTS' | translate }} + +
-
+
{{'CRITERIA.DATA-SETS.RELATED-COLLABORATORS' | translate}}
- - + + {{'CRITERIA.DATA-SETS.SELECT-COLLABORATORS' | translate }} + +
-
+
{{'CRITERIA.DATA-SETS.ROLE' | translate }}
- {{ 'TYPES.DATASET-ROLE.ANY' | translate }} - {{ 'TYPES.DATASET-ROLE.OWNER' | translate }} - {{ 'TYPES.DATASET-ROLE.MEMBER' | translate }} + + {{ 'TYPES.DATASET-ROLE.ANY' | translate }} + + + {{ 'TYPES.DATASET-ROLE.OWNER' | translate }} + + + {{ 'TYPES.DATASET-ROLE.MEMBER' | translate }} + +
-
+
{{'CRITERIA.DATA-SETS.ORGANIZATION' | translate }}
- - + + {{'CRITERIA.DATA-SETS.SELECT-ORGANIZATIONS' | translate}} + +
-
+
{{'CRITERIA.DATA-SETS.TAGS' | translate }}
- - + + {{'CRITERIA.DATA-SETS.SELECT-TAGS' | translate}} +
diff --git a/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria.component.scss b/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria.component.scss index e94acdcec..62c992251 100644 --- a/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria.component.scss +++ b/dmp-frontend/src/app/ui/dataset/listing/criteria/dataset-criteria.component.scss @@ -1,37 +1,49 @@ .search ::ng-deep.mat-form-field-infix { - margin-left: 1em; + margin-left: 1em; } .category-title { - color: black; - // color: #089dbb; - margin-top: 8px; - margin-bottom: 12px; + color: black; + // color: #089dbb; + margin-top: 8px; + margin-bottom: 12px; + text-transform: none; + font-size: 1rem; + font-weight: 400; } .import { - margin: 10px; - padding: 0px; + margin: 10px; + padding: 0px; } .filters { - border: 1px solid #e4e4e4; - border-radius: 5px; + // border: 1px solid #e4e4e4; + // border-radius: 5px; +} + +.criteria-title { + color: black; + font-weight: 500; + text-transform: none; + font-size: 1.25rem; + margin-bottom: 1.5em; + opacity: 0.8; } .filters-title { - width: 93px; - // color: #089dbb; - color: #23bcba; - background-color: white; - padding: 0px 20px; - margin-top: -10px; - margin-left: 20px; - text-transform: uppercase; + width: 93px; + // color: #089dbb; + color: #23bcba; + background-color: white; + padding: 0px 20px; + margin-top: -10px; + margin-left: 20px; + text-transform: uppercase; } .style-icon { - color: #adadad; + color: #adadad; } ::ng-deep .search-form .mat-form-field-wrapper { diff --git a/dmp-frontend/src/app/ui/dmp/clone/clone-dialog/clone-dialog.component.html b/dmp-frontend/src/app/ui/dmp/clone/clone-dialog/clone-dialog.component.html index 2f3e58286..bb17bf957 100644 --- a/dmp-frontend/src/app/ui/dmp/clone/clone-dialog/clone-dialog.component.html +++ b/dmp-frontend/src/app/ui/dmp/clone/clone-dialog/clone-dialog.component.html @@ -36,7 +36,8 @@
{{'DMP-EDITOR.FIELDS.TEMPLATES' | translate}}
- + {{'DMP-EDITOR.FIELDS.SELECT-TEMPLATE' | translate}} + {{data.formGroup.get('profiles').getError('backendError').message}} diff --git a/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.html b/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.html index 7012128db..79a8c1464 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.html +++ b/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.html @@ -13,7 +13,8 @@
- + {{'DMP-EDITOR.FIELDS.SELECT-TEMPLATE' | translate}} + {{formGroup.get('profiles').getError('backendError').message}} diff --git a/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.html b/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.html index f83b80bf7..29c17b5a0 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.html +++ b/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.html @@ -81,7 +81,8 @@
- + {{'DMP-EDITOR.PLACEHOLDER.RESEARCHERS' | translate}} + {{formGroup.get('researchers').getError('backendError').message}} @@ -108,7 +109,8 @@
- + {{'DMP-EDITOR.PLACEHOLDER.ORGANIZATION' | translate}} + {{formGroup.get('organisations').getError('backendError').message}} diff --git a/dmp-frontend/src/app/ui/dmp/invitation/dmp-invitation-dialog.component.html b/dmp-frontend/src/app/ui/dmp/invitation/dmp-invitation-dialog.component.html index fb7cc5926..1e0bd007e 100644 --- a/dmp-frontend/src/app/ui/dmp/invitation/dmp-invitation-dialog.component.html +++ b/dmp-frontend/src/app/ui/dmp/invitation/dmp-invitation-dialog.component.html @@ -8,6 +8,7 @@
+ diff --git a/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria-dialog.component.html b/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria-dialog.component.html index b38f8336c..39d6887fe 100644 --- a/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria-dialog.component.html +++ b/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria-dialog.component.html @@ -1,2 +1,2 @@ clear - + diff --git a/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.html b/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.html index c73aac723..0274d0c00 100644 --- a/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.html +++ b/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.html @@ -1,6 +1,11 @@
-
{{'CRITERIA.FILTERS'| translate}}
+
+
+
{{'CRITERIA.FILTERS'| translate}}
+
+
+
-
+
{{ 'TYPES.DMP-VISIBILITY.VISIBILITY' | translate }}
{{ 'TYPES.DMP-VISIBILITY.ANY' | translate }} @@ -21,11 +26,12 @@ {{ 'TYPES.DMP-VISIBILITY.FINALIZED' | translate }} {{ 'TYPES.DMP-VISIBILITY.DRAFT' | translate }} +
-
+
{{ 'FACET-SEARCH.GRANT-STATUS.TITLE' | translate }}
@@ -38,62 +44,67 @@ {{ 'FACET-SEARCH.GRANT-STATUS.OPTIONS.INACTIVE' | translate }} +
-
+
{{ 'CRITERIA.DMP.RELATED-DATASET-TEMPLATES' | translate}}
+ {{ 'CRITERIA.DMP.SELECT-DATASET-TEMPLATES' | translate }} +
-
+
{{ 'DMP-RELATED-GRANT.RELATED-GRANT' | translate}}
+ {{ 'CRITERIA.DMP.SELECT-GRANTS' | translate }} +
-
+
{{ 'CRITERIA.DMP.RELATED-COLLABORATORS' | translate}}
+ {{'CRITERIA.DMP.SELECT-COLLABORATORS' | translate}} +
-
+
{{ 'DATASET-PROFILE-LISTING.COLUMNS.ROLE' | translate }}
{{ 'TYPES.DATASET-ROLE.ANY' | translate }} {{ 'TYPES.DATASET-ROLE.OWNER' | translate }} {{ 'TYPES.DATASET-ROLE.MEMBER' | translate }} +
-
+
{{ 'DMP-RELATED-ORGANIZATION.RELATED-ORGANIZATION' | translate }}
+ {{'DMP-RELATED-ORGANIZATION.SELECT-ORGANIZATIONS' | translate}} diff --git a/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.scss b/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.scss index 8198a3f04..41829afd6 100644 --- a/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.scss +++ b/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.scss @@ -8,6 +8,15 @@ padding-bottom: 0px; } + .criteria-title { + color: black; + font-weight: 500; + text-transform: none; + font-size: 1.25rem; + margin-bottom: 1.5em; + opacity: 0.8; + } + .hidden { display: none; } @@ -26,11 +35,14 @@ // color: #089dbb; margin-top: 8px; margin-bottom: 12px; + text-transform: none; + font-size: 1rem; + font-weight: 400; } .filters { - border: 1px solid #e4e4e4; - border-radius: 5px; +// border: 1px solid #e4e4e4; +// border-radius: 5px; } .filters-title { diff --git a/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.ts b/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.ts index 54e4b4dd8..54b36fd77 100644 --- a/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.ts +++ b/dmp-frontend/src/app/ui/dmp/listing/criteria/dmp-criteria.component.ts @@ -106,6 +106,7 @@ export class DmpCriteriaComponent extends BaseCriteriaComponent implements OnIni this.formGroup.get('grants').setValue(this.criteriaFormGroup.get('grants').value); this.formGroup.get('collaborators').setValue(this.criteriaFormGroup.get('collaborators').value); this.formGroup.get('organisations').setValue(this.criteriaFormGroup.get('organisations').value); + this.formGroup.get('status').setValue(this.criteriaFormGroup.get('status').value); } this.formGroup.get('role').valueChanges diff --git a/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.html b/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.html index cfcad8106..941a735a4 100644 --- a/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.html +++ b/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.html @@ -23,7 +23,8 @@
@@ -31,7 +32,9 @@
- + {{'DMP-EDITOR.FIELDS.DATASET-TEMPLATES' | translate}} + +
@@ -41,7 +44,7 @@
- +
diff --git a/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.scss b/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.scss index be50ce8e5..efe9825bd 100644 --- a/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.scss +++ b/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.scss @@ -46,7 +46,7 @@ font-weight: 500; } -.next-btn-disabled { +.next-btn[disabled] { width: 100px; height: 43px; background: #ffffff 0% 0% no-repeat padding-box; @@ -55,11 +55,25 @@ opacity: 1; } -.next-btn:hover { - background: #129d99; +.next-btn:not([disabled]):hover { + background-color: #129d99; color: #ffffff; } +// .next-btn-disabled { +// width: 100px; +// height: 43px; +// background: #ffffff 0% 0% no-repeat padding-box; +// border: 1px solid #b5b5b5; +// border-radius: 30px; +// opacity: 1; +// } + +// .next-btn:hover { +// background: #129d99; +// color: #ffffff; +// } + .attach-btn { top: -20px; } @@ -93,12 +107,26 @@ width: auto !important; max-width: 500px !important; min-height: 1rem !important; + + background-color: #e0e0e0 !important; + background-image: none !important; + color: rgba(0, 0, 0, 0.87) !important; + font-weight: 500 !important; + border-radius: 24px !important; + line-height: 1.25 !important; } .file-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; + font-size: 14px !important; +} + +::ng-deep ngx-dropzone-remove-badge { + opacity: 1 !important; + margin-left: .5rem !important; + position: initial !important; } ::ng-deep .upload-form .mat-form-field-appearance-outline .mat-form-field-outline { diff --git a/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.ts b/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.ts index 5a147355d..614397aba 100644 --- a/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.ts +++ b/dmp-frontend/src/app/ui/dmp/listing/upload-dialogue/dmp-upload-dialogue.component.ts @@ -119,4 +119,8 @@ export class DmpUploadDialogue extends BaseComponent { request.criteria = criteria; return this._service.searchDMPProfiles(request); } + + hasFile(): boolean { + return this.files && this.files.length > 0; + } } diff --git a/dmp-frontend/src/app/ui/misc/navigation/user-dialog/user-dialog.component.scss b/dmp-frontend/src/app/ui/misc/navigation/user-dialog/user-dialog.component.scss index 00a2b8620..1f78b313e 100644 --- a/dmp-frontend/src/app/ui/misc/navigation/user-dialog/user-dialog.component.scss +++ b/dmp-frontend/src/app/ui/misc/navigation/user-dialog/user-dialog.component.scss @@ -15,6 +15,7 @@ $mat-card-header-size: 40px !default; font-weight: 300; color: #212121; height: 1.875rem; + line-height: 1.875rem; width: 100%; text-align: left; } diff --git a/dmp-frontend/src/app/ui/user-profile/user-profile.component.html b/dmp-frontend/src/app/ui/user-profile/user-profile.component.html index 75b6c9743..567239f41 100644 --- a/dmp-frontend/src/app/ui/user-profile/user-profile.component.html +++ b/dmp-frontend/src/app/ui/user-profile/user-profile.component.html @@ -199,7 +199,7 @@
diff --git a/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss b/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss index 3b7c5fbd9..903a18d24 100644 --- a/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss +++ b/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss @@ -142,6 +142,20 @@ font-weight: 500; } +.accent-btn { + background: #ffffff 0% 0% no-repeat padding-box; + box-shadow: 0px 3px 6px #1e202029; + border: 1px solid #b5b5b5; + border-radius: 30px; + opacity: 1; + min-width: 162px; + max-width: 256px; + height: 40px; + color: #129d99; + font-size: 0.87rem; + font-weight: 500; +} + .vertical-line { border-left: 2px solid #129d99; } diff --git a/dmp-frontend/src/assets/i18n/de.json b/dmp-frontend/src/assets/i18n/de.json index b33fe606e..8ba654889 100644 --- a/dmp-frontend/src/assets/i18n/de.json +++ b/dmp-frontend/src/assets/i18n/de.json @@ -85,7 +85,8 @@ "PRODUCED": "produced", "RDA-SPECIFICATIONS": "according to RDA specifications", "MACHINE-ACTIONABLE": "for machine-actionable DMPs", - "UPLOAD-FILE": "Upload File" + "UPLOAD-FILE": "Upload File", + "REPLACE-FILE": "Replace File" }, "INVITATION-DIALOG": { "HINT": "Press comma or enter between authors", diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json index 22a9fb101..5a5c2fc47 100644 --- a/dmp-frontend/src/assets/i18n/en.json +++ b/dmp-frontend/src/assets/i18n/en.json @@ -85,7 +85,8 @@ "PRODUCED": "produced", "RDA-SPECIFICATIONS": "according to RDA specifications", "MACHINE-ACTIONABLE": "for machine-actionable DMPs", - "UPLOAD-FILE": "Upload File" + "UPLOAD-FILE": "Upload File", + "REPLACE-FILE": "Replace File" }, "INVITATION-DIALOG": { "HINT": "Press comma or enter between authors", diff --git a/dmp-frontend/src/assets/i18n/es.json b/dmp-frontend/src/assets/i18n/es.json index ae69ccc06..61ae7e046 100644 --- a/dmp-frontend/src/assets/i18n/es.json +++ b/dmp-frontend/src/assets/i18n/es.json @@ -85,7 +85,8 @@ "PRODUCED": "produced", "RDA-SPECIFICATIONS": "according to RDA specifications", "MACHINE-ACTIONABLE": "for machine-actionable DMPs", - "UPLOAD-FILE": "Upload File" + "UPLOAD-FILE": "Upload File", + "REPLACE-FILE": "Replace File" }, "INVITATION-DIALOG": { "HINT": "Press comma or enter between authors", diff --git a/dmp-frontend/src/assets/i18n/gr.json b/dmp-frontend/src/assets/i18n/gr.json index 17ce0b8bc..f95ba004f 100644 --- a/dmp-frontend/src/assets/i18n/gr.json +++ b/dmp-frontend/src/assets/i18n/gr.json @@ -85,7 +85,8 @@ "PRODUCED": "που έχουν παραχθεί", "RDA-SPECIFICATIONS": "σύμφωνα με τις προδιαγραφές του RDA", "MACHINE-ACTIONABLE": "για μηχαναγνώσιμα Σχέδια Διαχείρισης Δεδομένων", - "UPLOAD-FILE": "Μεταφόρτωση Αρχείου" + "UPLOAD-FILE": "Μεταφόρτωση Αρχείου", + "REPLACE-FILE": "Replace File" }, "INVITATION-DIALOG": { "HINT": "Προσθέστε κόμμα ή πατήστε το κουμπί “enter” ανάμεσα στους συγγραφείς", diff --git a/dmp-frontend/src/assets/i18n/sk.json b/dmp-frontend/src/assets/i18n/sk.json index 5c8d10246..29b2a48dc 100644 --- a/dmp-frontend/src/assets/i18n/sk.json +++ b/dmp-frontend/src/assets/i18n/sk.json @@ -85,7 +85,8 @@ "PRODUCED": "vytvorené", "RDA-SPECIFICATIONS": "podľa špecifikácií RDS", "MACHINE-ACTIONABLE": "pre strojovo využiteľné DMP", - "UPLOAD-FILE": "Nahrať súbor" + "UPLOAD-FILE": "Nahrať súbor", + "REPLACE-FILE": "Replace File" }, "INVITATION-DIALOG": { "HINT": "Po každom vložení pozvánky nového užívateľa stlačte čiarku", diff --git a/dmp-frontend/src/assets/i18n/tr.json b/dmp-frontend/src/assets/i18n/tr.json index 46bcbbe1e..bc64b01a3 100644 --- a/dmp-frontend/src/assets/i18n/tr.json +++ b/dmp-frontend/src/assets/i18n/tr.json @@ -85,7 +85,8 @@ "PRODUCED": "produced", "RDA-SPECIFICATIONS": "according to RDA specifications", "MACHINE-ACTIONABLE": "for machine-actionable DMPs", - "UPLOAD-FILE": "Upload File" + "UPLOAD-FILE": "Upload File", + "REPLACE-FILE": "Replace File" }, "INVITATION-DIALOG": { "HINT": "Press comma or enter between authors",