Move sidebar content into tabs
Signed-off-by: trivernis <trivernis@protonmail.com>pull/4/head
parent
f4988efb7e
commit
b81a83a328
@ -1,15 +1,21 @@
|
|||||||
<div fxLayout="column" class="sidebar-inner">
|
<div class="sidebar-inner">
|
||||||
<div id="file-search-input" fxFlex="220px">
|
<mat-tab-group headerPosition="below">
|
||||||
<app-file-search #filesearch (searchStartEvent)="this.searchStartEvent.emit()"
|
<mat-tab label="Search">
|
||||||
(searchEndEvent)="this.searchEndEvent.emit()" [validTags]="this.getValidTagsForSearch()"></app-file-search>
|
<div class="search-tab-inner" fxLayout="column">
|
||||||
</div>
|
<div id="file-search-input" >
|
||||||
<div id="file-tag-list" fxFlex fxFlexAlign="start" fxFlexFill>
|
<app-file-search #filesearch (searchStartEvent)="this.searchStartEvent.emit()"
|
||||||
<h1>Selection Tags</h1>
|
(searchEndEvent)="this.searchEndEvent.emit()" [validTags]="this.getValidTagsForSearch()"></app-file-search>
|
||||||
<mat-selection-list [multiple]="false" *ngIf="tags.length > 0"
|
</div>
|
||||||
(selectionChange)="addSearchTagFromList($event)">
|
<div id="file-tag-list" fxFlex fxFlexAlign="start" fxFlexFill>
|
||||||
<mat-list-option
|
<h1>Selection Tags</h1>
|
||||||
*ngFor="let tag of tags"
|
<mat-selection-list [multiple]="false" *ngIf="tags.length > 0"
|
||||||
[value]="tag.getNormalizedOutput()">{{tag.getNormalizedOutput()}}</mat-list-option>
|
(selectionChange)="addSearchTagFromList($event)">
|
||||||
</mat-selection-list>
|
<mat-list-option
|
||||||
</div>
|
*ngFor="let tag of tags"
|
||||||
|
[value]="tag.getNormalizedOutput()">{{tag.getNormalizedOutput()}}</mat-list-option>
|
||||||
|
</mat-selection-list>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</mat-tab>
|
||||||
|
</mat-tab-group>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue