diff --git a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/animations/animations.ts b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/animations/animations.ts index c30863a32..c65851e63 100644 --- a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/animations/animations.ts +++ b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/animations/animations.ts @@ -70,6 +70,14 @@ export const GENERAL_ANIMATIONS = [ })), transition('untriggered => triggered', animate('400ms ease')), transition('triggered => untriggered', animate('400ms 100ms ease')) + ]), + trigger('scroll-on-top-btn',[ + transition(":enter", [style({opacity:0, transform:'scale(0)'}), animate('400ms ease', style({'opacity':1, transform:'scale(1)'}))]), + transition(":leave", [style({opacity:1,transform:'scale(1)'}), animate('400ms ease', style({'opacity':0, transform:'scale(0)'}))]) + ]), + trigger('action-btn',[ + transition(":enter", [style({opacity:0, transform:'scale(0)'}), animate('400ms ease', style({'opacity':1, transform:'scale(1)'}))]), + transition(":leave", [style({opacity:1,transform:'scale(1)'}), animate('400ms ease', style({'opacity':0, transform:'scale(0)'}))]) ]) ] \ No newline at end of file diff --git a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.html b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.html index ce671d60a..2870b764d 100644 --- a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.html +++ b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.html @@ -1,6 +1,6 @@  -
+
@@ -11,27 +11,54 @@
-
-

{{'DATASET-PROFILE-EDITOR.TITLE.NEW-PROFILE' | translate}}

-

- {{'DATASET-PROFILE-EDITOR.TITLE.NEW-PROFILE-CLONE' | translate}} - {{form.get('label').value}} -

-

- {{'DATASET-PROFILE-EDITOR.TITLE.NEW-PROFILE-VERSION' | translate}} - {{form.get('label').value}} -

- -

{{form.get('label').value}}

- -
- + + + + + + + + + + + + +
-
+
@@ -51,7 +78,7 @@
-
+
- - - - - - - - - + + + {{'DATASET-PROFILE-EDITOR.ACTIONS.SAVE' |translate}} + + + {{'DATASET-PROFILE-EDITOR.ACTIONS.UPDATE' |translate}} + - + + {{'DATASET-PROFILE-EDITOR.ACTIONS.FINALIZE' |translate}} + + @@ -461,7 +467,7 @@ - +
@@ -508,6 +514,14 @@ +
+ +
+