mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
improved the search buttons #865
This commit is contained in:
parent
a727bc0b4c
commit
7d1885d5b4
5 changed files with 13 additions and 23 deletions
|
@ -7,11 +7,11 @@
|
|||
<ul id="nav-tabs" class="nav nav-tabs" role="tablist">
|
||||
|
||||
<li role="presentation" class="active">
|
||||
<a id="movieTabButton" href="#MoviesTab" aria-controls="home" role="tab" data-toggle="tab" (click)="selectTab()"><i class="fa fa-film"></i> Movies</a>
|
||||
<a id="movieTabButton" href="#MoviesTab" aria-controls="home" role="tab" data-toggle="tab" (click)="selectMovieTab()"><i class="fa fa-film"></i> Movies</a>
|
||||
</li>
|
||||
|
||||
<li role="presentation">
|
||||
<a id="tvTabButton" href="#TvShowTab" aria-controls="profile" role="tab" data-toggle="tab" (click)="selectTab()"><i class="fa fa-television"></i> TV Shows</a>
|
||||
<a id="tvTabButton" href="#TvShowTab" aria-controls="profile" role="tab" data-toggle="tab" (click)="selectTvTab()"><i class="fa fa-television"></i> TV Shows</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -11,8 +11,13 @@ export class SearchComponent implements OnInit {
|
|||
this.showTv = false;
|
||||
}
|
||||
|
||||
public selectTab() {
|
||||
this.showMovie = !this.showMovie;
|
||||
this.showTv = !this.showTv;
|
||||
public selectMovieTab() {
|
||||
this.showMovie = true;
|
||||
this.showTv = false;
|
||||
}
|
||||
|
||||
public selectTvTab() {
|
||||
this.showMovie = true;
|
||||
this.showTv = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,23 +32,7 @@
|
|||
<None Remove="wwwroot\dist\**" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="NpmCommandsDebug" Condition="'$(Configuration)'=='Debug'" AfterTargets="Build">
|
||||
<Exec Command="npm run vendor" />
|
||||
</Target>
|
||||
<!--<Target Name="NpmCommandsRelease" Condition="'$(Configuration)'=='Release'" AfterTargets="Build">
|
||||
<Exec Command="npm run publish" />
|
||||
</Target>-->
|
||||
|
||||
<Target Name="RunWebpack" AfterTargets="ComputeFilesToPublish">
|
||||
<ItemGroup>
|
||||
<DistFiles Include="wwwroot\dist\**" />
|
||||
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
|
||||
<RelativePath>%(DistFiles.Identity)</RelativePath>
|
||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||
</ResolvedFileToPublish>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="AutoMapper" Version="6.1.1" />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/// <binding BeforeBuild='vendor' />
|
||||
/// <binding BeforeBuild='vendor, build' />
|
||||
'use strict';
|
||||
|
||||
const gulp = require('gulp');
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
left: 0;
|
||||
right: 0;
|
||||
background-color: #1f1f1f;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.app-loading {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue