small changes #865

This commit is contained in:
tidusjar 2017-06-29 22:55:54 +01:00
parent 0875b5f665
commit 3ee65f4f0c
2 changed files with 23 additions and 9 deletions

View file

@ -1,5 +1,21 @@
<div *ngIf="series"> <style>
#bannerimage {
width: 758px;
height: 140px;
background-color: black;
background-position: center;
padding-bottom:30px;
}
</style>
<div *ngIf="series">
<!--<div class="row">
<div class="col-md-6 col-md-push-2">
<div id="bannerimage" style="background-image: url('https://thetvdb.com/banners/graphical/121361-g19.jpg');">
</div>
</div>
</div>-->
<ngb-tabset> <ngb-tabset>
<div *ngFor="let season of series.seasonRequests"> <div *ngFor="let season of series.seasonRequests">

View file

@ -119,22 +119,20 @@ namespace Ombi
services.AddHangfire(x => services.AddHangfire(x =>
{ {
#if DEBUG
x.UseMemoryStorage(new MemoryStorageOptions()); x.UseMemoryStorage(new MemoryStorageOptions());
#else
x.UseSQLiteStorage("Data Source=Ombi.db;"); //x.UseSQLiteStorage("Data Source=Ombi.db;");
#endif
x.UseActivator(new IoCJobActivator(services.BuildServiceProvider())); x.UseActivator(new IoCJobActivator(services.BuildServiceProvider()));
}); });
#if DEBUG #if DEBUG
// Note .AddMiniProfiler() returns a IMiniProfilerBuilder for easy intellisense // Note .AddMiniProfiler() returns a IMiniProfilerBuilder for easy intellisense
services.AddMiniProfiler(); services.AddMiniProfiler();
#endif
// Make sure you have memory cache available unless you're using another storage provider // Make sure you have memory cache available unless you're using another storage provider
services.AddMemoryCache(); services.AddMemoryCache();
#endif
} }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.