Moved indexer images to a subfolder.

pull/4/head
Mark McDowall 14 years ago
parent 0a844e8c58
commit 2e32d6efd4

Before

Width:  |  Height:  |  Size: 902 B

After

Width:  |  Height:  |  Size: 902 B

Before

Width:  |  Height:  |  Size: 719 B

After

Width:  |  Height:  |  Size: 719 B

Before

Width:  |  Height:  |  Size: 198 B

After

Width:  |  Height:  |  Size: 198 B

Before

Width:  |  Height:  |  Size: 264 B

After

Width:  |  Height:  |  Size: 264 B

Before

Width:  |  Height:  |  Size: 816 B

After

Width:  |  Height:  |  Size: 816 B

@ -1,4 +1,5 @@
using System.Linq;
using System;
using System.Linq;
using System.Web.Mvc;
using NzbDrone.Core.Model;
using NzbDrone.Core.Providers;
@ -55,7 +56,7 @@ namespace NzbDrone.Web.Controllers
Quality = h.Quality.ToString(),
IsProper = h.IsProper,
Date = h.Date,
Indexer = h.Indexer.ToString()
Indexer = String.IsNullOrEmpty(h.Indexer.ToString()) ? "Unknown" : h.Indexer.ToString()
});
return View(new GridModel(history));

@ -559,10 +559,17 @@
<Content Include="Content\ajax-loader.gif" />
<Content Include="Content\ie.css" />
<Content Include="Content\Images\arrow.png" />
<Content Include="Content\Images\favicon.ico" />
<Content Include="Content\Images\icon.jpg" />
<Content Include="Content\Images\img01.jpg" />
<Content Include="Content\Images\img02.jpg" />
<Content Include="Content\Images\img03.jpg" />
<Content Include="Content\Images\img07.jpg" />
<Content Include="Content\Images\Indexers\Newzbin.png" />
<Content Include="Content\Images\Indexers\NzbMatrix.png" />
<Content Include="Content\Images\Indexers\NzbsOrg.png" />
<Content Include="Content\Images\Indexers\NzbsRus.png" />
<Content Include="Content\Images\Indexers\Unknown.png" />
<Content Include="Content\Images\Plus.png" />
<Content Include="Content\Images\spin.gif" />
<Content Include="Content\Images\ui-bg_diagonals-small_0_aaaaaa_40x40.png" />

@ -16,7 +16,7 @@ History
.Columns(columns =>
{
columns.Bound(c => c.Indexer)
.ClientTemplate("<center><img alt='<#= Indexer #>' src='" + Url.Content("~/Content/Images/") + "<#= Indexer #>.png' /></center>")
.ClientTemplate("<center><img alt='<#= Indexer #>' src='" + Url.Content("~/Content/Images/Indexers/") + "<#= Indexer #>.png' /></center>")
.Title("")
.Width(20);
columns.Bound(c => c.SeriesTitle).Title("Series Name");

@ -67,7 +67,7 @@
{
item.Add()
.Text("NZBs.org")
.ImageUrl("~/Content/Images/NzbsOrg.png")
.ImageUrl("~/Content/Images/Indexers/NzbsOrg.png")
.Content(
"<div class=\"section_content\">" +
@ -100,7 +100,7 @@
);
item.Add()
.Text("NZB Matrix")
.ImageUrl("~/Content/Images/NzbMatrix.png")
.ImageUrl("~/Content/Images/Indexers/NzbMatrix.png")
.Content(
"<div class=\"section_content\">" +
@ -133,7 +133,7 @@
);
item.Add()
.Text("NZBsRus")
.ImageUrl("~/Content/Images/NzbsRus.png")
.ImageUrl("~/Content/Images/Indexers/NzbsRus.png")
.Content(
"<div class=\"section_content\">" +
@ -166,7 +166,7 @@
);
item.Add()
.Text("Newzbin")
.ImageUrl("~/Content/Images/Newzbin.png")
.ImageUrl("~/Content/Images/Indexers/Newzbin.png")
.Content(
"<div class=\"section_content\">" +

Loading…
Cancel
Save