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">
|
||||
|
||||
<mat-form-field appearance="fill" fxFlex fxFlexFill>
|
||||
<mat-form-field appearance="fill">
|
||||
<mat-label>{{label}}</mat-label>
|
||||
<input #filesInput matInput [value]="files.join(', ')" (focusout)="this.setFiles(filesInput.value)">
|
||||
</mat-form-field>
|
||||
<input #filesInput matInput [value]="files.join(', ')" (focusout)="this.setFiles(filesInput.value)" class="file-input">
|
||||
|
||||
<div class="buttons-native-select" fxFlex="6em">
|
||||
<button (click)="openNativeFileSelectDialog(false)" mat-button>
|
||||
<mat-icon>insert_drive_file</mat-icon>
|
||||
</button>
|
||||
<button (click)="openNativeFileSelectDialog(true)" mat-button>
|
||||
<mat-icon>folder</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
<div class="buttons-native-select">
|
||||
<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>
|
||||
</button>
|
||||
<button *ngIf="mode === 'folders'" (click)="openNativeFileSelectDialog(true)" mat-button>
|
||||
<mat-icon>folder</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</mat-form-field>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue