2019-03-05 12:59:34 +01:00
|
|
|
<div class="confirmation-dialog">
|
2019-03-06 15:44:50 +01:00
|
|
|
<div class="row">
|
2019-03-06 16:58:49 +01:00
|
|
|
<div class="confirmation-message col align-self-center">
|
2019-03-06 15:44:50 +01:00
|
|
|
<h4>{{'DMP-UPLOAD.TITLE' | translate}}</h4>
|
|
|
|
</div>
|
|
|
|
<div class="col-auto">
|
2019-05-29 15:44:18 +02:00
|
|
|
<button class="col-auto attach-file" (click)="fileInput.click()" type="button">
|
2019-03-06 15:44:50 +01:00
|
|
|
<mat-icon color="primary">attach_file</mat-icon>
|
|
|
|
</button>
|
2020-03-26 17:39:25 +01:00
|
|
|
<input class="hidden" #fileInput type="file" (change)="uploadFile($event)" accept="text/xml, application/json">
|
2019-03-05 12:59:34 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2019-03-06 15:44:50 +01:00
|
|
|
<mat-form-field class="col-12">
|
2019-04-15 12:35:26 +02:00
|
|
|
<input class="uploadInput" [(ngModel)]="dmpTitle" matInput placeholder="{{'DMP-UPLOAD.PLACEHOLDER' | translate}}" name="uploadFileInput">
|
2019-03-06 15:44:50 +01:00
|
|
|
</mat-form-field>
|
2019-03-05 12:59:34 +01:00
|
|
|
<div class="col-auto">
|
2019-11-06 15:30:15 +01:00
|
|
|
<button mat-raised-button type="button" (click)="cancel()">{{'DMP-UPLOAD.ACTIONS.CANCEL' | translate}}</button>
|
2019-03-05 12:59:34 +01:00
|
|
|
</div>
|
|
|
|
<div class="col"></div>
|
|
|
|
<div class="col-auto">
|
|
|
|
<button mat-raised-button color="primary" type="button" (click)="confirm()" [disabled]="data.fileList.length === 0">{{'DMP-UPLOAD.ACTIONS.IMPORT' | translate}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|