Improve import path select input
Signed-off-by: trivernis <trivernis@protonmail.com>pull/4/head
parent
af8b84e975
commit
b5dcc17723
@ -1,17 +1,20 @@
|
|||||||
<div class="file-select-inner" fxLayout="row">
|
<div class="file-select-inner" fxLayout="row">
|
||||||
|
|
||||||
<mat-form-field appearance="fill" fxFlex fxFlexFill>
|
<mat-form-field appearance="fill">
|
||||||
<mat-label>{{label}}</mat-label>
|
<mat-label>{{label}}</mat-label>
|
||||||
<input #filesInput matInput [value]="files.join(', ')" (focusout)="this.setFiles(filesInput.value)">
|
<input #filesInput matInput [value]="files.join(', ')" (focusout)="this.setFiles(filesInput.value)" class="file-input">
|
||||||
</mat-form-field>
|
|
||||||
|
|
||||||
<div class="buttons-native-select" fxFlex="6em">
|
<div class="buttons-native-select">
|
||||||
<button (click)="openNativeFileSelectDialog(false)" mat-button>
|
<button *ngIf="mode === 'all'" (click)="openNativeFileSelectDialog(false)" mat-button>
|
||||||
|
<mat-icon>folder</mat-icon>
|
||||||
|
</button>
|
||||||
|
<button *ngIf="mode === 'files'" (click)="openNativeFileSelectDialog(false)" mat-button>
|
||||||
<mat-icon>insert_drive_file</mat-icon>
|
<mat-icon>insert_drive_file</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<button (click)="openNativeFileSelectDialog(true)" mat-button>
|
<button *ngIf="mode === 'folders'" (click)="openNativeFileSelectDialog(true)" mat-button>
|
||||||
<mat-icon>folder</mat-icon>
|
<mat-icon>folder</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue