28 lines
1.0 KiB
HTML
28 lines
1.0 KiB
HTML
|
<div class="confirmation-dialog">
|
||
|
<div class="confirmation-message">
|
||
|
<div class="row">
|
||
|
<div class="col-auto">
|
||
|
{{'DMP-UPLOAD.TITLE' | translate}}
|
||
|
</div>
|
||
|
<div class="uploadButton">
|
||
|
<button mat-raised-button color="primary" (click)="fileInput.click()" type="button col-auto">
|
||
|
{{'DMP-UPLOAD.UPLOAD-BUTTON' | translate}}
|
||
|
</button>
|
||
|
<input class="hidden" #fileInput type="file" (change)="uploadFile($event)">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<mat-form-field class="col">
|
||
|
<input class="uploadInput" [(ngModel)]="dmpTitle" matInput placeholder="DMP Name" name="uploadFileInput">
|
||
|
</mat-form-field>
|
||
|
<div class="row">
|
||
|
<div class="col-auto">
|
||
|
<button mat-raised-button color="primary" type="button" (click)="cancel()">{{'DMP-UPLOAD.ACTIONS.CANCEL' | translate}}</button>
|
||
|
</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>
|