|
|
|
@ -53,36 +53,33 @@
|
|
|
|
|
<i class="fa-lg fas fa-bars"></i>
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<div class="col-8 col-lg-10 top-search-bar">
|
|
|
|
|
<span class="justify-content-center align-items-center">
|
|
|
|
|
<div class="top-search-block">
|
|
|
|
|
<!-- Search Bar -->
|
|
|
|
|
<div>
|
|
|
|
|
<div class="top-search-bar">
|
|
|
|
|
<app-nav-search></app-nav-search>
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
<button id="search-filter" mat-icon-button [matMenuTriggerFor]="filterMenu">
|
|
|
|
|
<i class="fa-lg fas fa-filter"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<mat-menu #filterMenu="matMenu" yPosition="below" class="smaller-panel">
|
|
|
|
|
<mat-slide-toggle id="filterMovies" class="mat-menu-item slide-menu" [checked]="searchFilter.movies"
|
|
|
|
|
(click)="$event.stopPropagation()" (change)="changeFilter($event,SearchFilterType.Movie)">
|
|
|
|
|
{{ 'NavigationBar.Filter.Movies' | translate}}</mat-slide-toggle>
|
|
|
|
|
<mat-slide-toggle id="filterTv" class="mat-menu-item slide-menu" [checked]="searchFilter.tvShows"
|
|
|
|
|
(click)="$event.stopPropagation()" (change)="changeFilter($event,SearchFilterType.TvShow)">
|
|
|
|
|
{{ 'NavigationBar.Filter.TvShows' | translate}}</mat-slide-toggle>
|
|
|
|
|
<mat-slide-toggle id="filterMusic" class="mat-menu-item slide-menu" [checked]="searchFilter.music"
|
|
|
|
|
(click)="$event.stopPropagation()" (change)="changeFilter($event,SearchFilterType.Music)">
|
|
|
|
|
{{ 'NavigationBar.Filter.Music' | translate}}</mat-slide-toggle>
|
|
|
|
|
<!-- <mat-slide-toggle class="mat-menu-item slide-menu" [checked]="searchFilter.people"
|
|
|
|
|
(click)="$event.stopPropagation()" (change)="changeFilter($event,SearchFilterType.People)">
|
|
|
|
|
{{ 'NavigationBar.Filter.People' | translate}}</mat-slide-toggle> -->
|
|
|
|
|
</mat-menu>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-1 top-filter">
|
|
|
|
|
<button id="search-filter" mat-icon-button [matMenuTriggerFor]="filterMenu">
|
|
|
|
|
<i class="fa-lg fas fa-filter"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<mat-menu #filterMenu="matMenu" yPosition="below" class="smaller-panel">
|
|
|
|
|
<mat-slide-toggle id="filterMovies" class="mat-menu-item slide-menu" [checked]="searchFilter.movies"
|
|
|
|
|
(click)="$event.stopPropagation()" (change)="changeFilter($event,SearchFilterType.Movie)">
|
|
|
|
|
{{ 'NavigationBar.Filter.Movies' | translate}}</mat-slide-toggle>
|
|
|
|
|
<mat-slide-toggle id="filterTv" class="mat-menu-item slide-menu" [checked]="searchFilter.tvShows"
|
|
|
|
|
(click)="$event.stopPropagation()" (change)="changeFilter($event,SearchFilterType.TvShow)">
|
|
|
|
|
{{ 'NavigationBar.Filter.TvShows' | translate}}</mat-slide-toggle>
|
|
|
|
|
<mat-slide-toggle id="filterMusic" class="mat-menu-item slide-menu" [checked]="searchFilter.music"
|
|
|
|
|
(click)="$event.stopPropagation()" (change)="changeFilter($event,SearchFilterType.Music)">
|
|
|
|
|
{{ 'NavigationBar.Filter.Music' | translate}}</mat-slide-toggle>
|
|
|
|
|
<!-- <mat-slide-toggle class="mat-menu-item slide-menu" [checked]="searchFilter.people"
|
|
|
|
|
(click)="$event.stopPropagation()" (change)="changeFilter($event,SearchFilterType.People)">
|
|
|
|
|
{{ 'NavigationBar.Filter.People' | translate}}</mat-slide-toggle> -->
|
|
|
|
|
</mat-menu>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-1">
|
|
|
|
|
<div class="profile-block">
|
|
|
|
|
<a routerLink="/user-preferences">
|
|
|
|
|
<img [matTooltip]="username" id="profile-image" class="profile-img" [src]="getUserImage()" />
|
|
|
|
|
<div class="profile-username">{{username}}</div>
|
|
|
|
|
<div class="profile-img"><img [matTooltip]="username" [src]="getUserImage()" /></div>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|