37 lines
1.6 KiB
HTML
37 lines
1.6 KiB
HTML
<div class="dataset-create-wizard">
|
|
<mat-horizontal-stepper linear #stepper>
|
|
<mat-step class="step-container" [stepControl]="formGroup.get('dmpMeta')">
|
|
<ng-template matStepLabel>{{'DATASET-CREATE-WIZARD.FIRST-STEP.TITLE'| translate}}</ng-template>
|
|
<form [formGroup]="formGroup.get('dmpMeta')">
|
|
<dataset-dmp-selector-component class="col-12" [formGroup]="formGroup.get('dmpMeta')">
|
|
</dataset-dmp-selector-component>
|
|
</form>
|
|
<div class="col-12">
|
|
<div class="row">
|
|
<div class="col"></div>
|
|
<div>
|
|
<button matStepperNext mat-raised-button
|
|
color="primary">{{'DATASET-CREATE-WIZARD.ACTIONS.NEXT'| translate}}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</mat-step>
|
|
<mat-step [stepControl]="formGroup">
|
|
<ng-template matStepLabel>
|
|
{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.THIRD-STEP.TITLE' | translate}}
|
|
</ng-template>
|
|
<div *ngIf="formGroup.get('dmpMeta').valid && isAvtive('step2')">
|
|
<app-dataset-editor-wizard-component class="col-12" [formGroup]="formGroup"
|
|
[datasetProfile]="formGroup.get('dmpMeta').get('datasetProfile')"
|
|
[datasetLabel]="formGroup.get('dmpMeta').get('dmp').value['label']">
|
|
</app-dataset-editor-wizard-component>
|
|
</div>
|
|
<div class="navigation-buttons-container">
|
|
<button matStepperPrevious mat-raised-button
|
|
color="primary">{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.ACTIONS.BACK' | translate}}</button>
|
|
<button style="float:right;" matStepperNext mat-raised-button (click)='save()'
|
|
color="primary">{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.ACTIONS.SAVE' | translate}}</button>
|
|
</div>
|
|
</mat-step>
|
|
</mat-horizontal-stepper>
|
|
</div> |