|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<form [formGroup]="form" (ngSubmit)="onSubmit()" *ngIf="form">
|
|
|
|
|
<h1 id="advancedOptionsTitle">
|
|
|
|
|
<i class="fas fa-sliders-h"></i> Advanced Search
|
|
|
|
|
<i class="fas fa-sliders-h"></i> {{ "Search.AdvancedSearchHeader" | translate }}
|
|
|
|
|
</h1>
|
|
|
|
|
<hr />
|
|
|
|
|
<div class="alert alert-info" role="alert">
|
|
|
|
@ -14,25 +14,26 @@
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div style="margin: 2%;">
|
|
|
|
|
<span>Please choose what type of media you are searching for:</span>
|
|
|
|
|
<span>{{ "Search.AdvancedSearchInstructions" | translate }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<div class="md-form-field">
|
|
|
|
|
<mat-radio-group formControlName="type" aria-label="Select an option">
|
|
|
|
|
<mat-radio-button value="movie">Movies </mat-radio-button>
|
|
|
|
|
<mat-radio-button style="padding-left: 5px;" value="tv">TV Shows </mat-radio-button>
|
|
|
|
|
<mat-radio-button value="movie">{{ "NavigationBar.Filter.Movies" | translate }} </mat-radio-button>
|
|
|
|
|
<mat-radio-button style="padding-left: 5px;" value="tv">{{ "NavigationBar.Filter.TvShows" | translate }} </mat-radio-button>
|
|
|
|
|
</mat-radio-group>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12" style="margin-top:1%">
|
|
|
|
|
<mat-form-field appearance="outline" floatLabel=auto>
|
|
|
|
|
<mat-label>Year of Release</mat-label>
|
|
|
|
|
<mat-label>{{ "Search.YearOfRelease" | translate }}</mat-label>
|
|
|
|
|
<input matInput id="releaseYear" name="releaseYear" formControlName="releaseYear">
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<mat-label>{{ "Search.YearOfRelease" | translate }}</mat-label>
|
|
|
|
|
<genre-select [form]="form" [mediaType]="form.controls.type.value"></genre-select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -41,7 +42,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
|
|
<span style="margin: 1%;">Please note that Keyword Searching is very hit and miss due to the inconsistent data in TheMovieDb</span>
|
|
|
|
|
<span style="margin: 1%;">{{ "Search.KeywordSearchingDisclaimer" | translate }}</span>
|
|
|
|
|
<keyword-search [form]="form"></keyword-search>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|