styling fixes
This commit is contained in:
parent
93c90ddcef
commit
ef6970ffe6
|
@ -1,5 +1,5 @@
|
||||||
<div class="confirmation-dialog">
|
<div class="container-fluid">
|
||||||
<div class="row d-flex">
|
<div class="row d-flex mt-2">
|
||||||
<div class="confirmation-message col-auto align-self-center">
|
<div class="confirmation-message col-auto align-self-center">
|
||||||
<h4>{{ data.message }}</h4>
|
<h4>{{ data.message }}</h4>
|
||||||
</div>
|
</div>
|
||||||
|
@ -7,35 +7,38 @@
|
||||||
<mat-icon class="close-btn" (click)="cancel()">close</mat-icon>
|
<mat-icon class="close-btn" (click)="cancel()">close</mat-icon>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<mat-dialog-content>
|
||||||
<div class="col-12">
|
<div class="row">
|
||||||
<ngx-dropzone class="drop-file" (change)="selectXML($event)" [accept]="'text/xml'" [multiple]="false">
|
<div class="col-12">
|
||||||
<ngx-dropzone-preview class="file-preview" [removable]="true" *ngIf="hasBlueprint()" (removed)="onRemove()">
|
<ngx-dropzone class="drop-file" (change)="selectXML($event)" [accept]="'text/xml'" [multiple]="false">
|
||||||
<ngx-dropzone-label class="file-label">{{ selectedFileName }}</ngx-dropzone-label>
|
<ngx-dropzone-preview class="file-preview" [removable]="true" *ngIf="hasBlueprint()" (removed)="onRemove()">
|
||||||
</ngx-dropzone-preview>
|
<ngx-dropzone-label class="file-label">{{ selectedFileName }}</ngx-dropzone-label>
|
||||||
</ngx-dropzone>
|
</ngx-dropzone-preview>
|
||||||
|
</ngx-dropzone>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="row">
|
||||||
<div class="row">
|
<div class="col-12 d-flex justify-content-center attach-btn">
|
||||||
<div class="col-12 d-flex justify-content-center attach-btn">
|
<button mat-button type="button" class="col-auto attach-file" (click)="imgFileInput.click()">
|
||||||
<button mat-button type="button" class="col-auto attach-file" (click)="imgFileInput.click()">
|
<mat-icon class="mr-2">input</mat-icon>
|
||||||
<mat-icon class="mr-2">input</mat-icon>
|
<span *ngIf="!hasBlueprint()">{{'GENERAL.START-NEW-DMP-DIALOG.UPLOAD-FILE' | translate}}</span>
|
||||||
<span *ngIf="!hasBlueprint()">{{'GENERAL.START-NEW-DMP-DIALOG.UPLOAD-FILE' | translate}}</span>
|
<span *ngIf="hasBlueprint()">{{'GENERAL.START-NEW-DMP-DIALOG.REPLACE-FILE' | translate}}</span>
|
||||||
<span *ngIf="hasBlueprint()">{{'GENERAL.START-NEW-DMP-DIALOG.REPLACE-FILE' | translate}}</span>
|
</button>
|
||||||
</button>
|
<input class="hidden" type="file" #imgFileInput (change)="selectXML($event)" accept="text/xml" />
|
||||||
<input class="hidden" type="file" #imgFileInput (change)="selectXML($event)" accept="text/xml" />
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="row">
|
||||||
<div class="row">
|
<mat-form-field class="col-12">
|
||||||
<mat-form-field class="col-12">
|
<input matInput placeholder="{{'DMP-BLUEPRINT-LISTING.IMPORT.UPLOAD-XML-NAME'| translate}}" name="datasetBlueprintName" [(ngModel)]="data.name">
|
||||||
<input matInput placeholder="{{'DMP-BLUEPRINT-LISTING.IMPORT.UPLOAD-XML-NAME'| translate}}" name="datasetBlueprintName" [(ngModel)]="data.name">
|
</mat-form-field>
|
||||||
</mat-form-field>
|
<div class="col-auto">
|
||||||
<div class="col-auto">
|
<button mat-button type="button" class="cancel-btn" (click)="cancel()">{{ data.cancelButton }}</button>
|
||||||
<button mat-button type="button" class="cancel-btn" (click)="cancel()">{{ data.cancelButton }}</button>
|
</div>
|
||||||
|
<div class="col"></div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<button mat-button color="primary" class="next-btn" type="button" (click)="confirm()" [disabled]="!hasBlueprint()">{{ data.confirmButton }}</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col"></div>
|
</mat-dialog-content>
|
||||||
<div class="col-auto">
|
|
||||||
<button mat-button color="primary" class="next-btn" type="button" (click)="confirm()" [disabled]="!hasBlueprint()">{{ data.confirmButton }}</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue