Moved indexer images to a subfolder.

This commit is contained in:
Mark McDowall 2011-04-27 23:04:57 -07:00
parent 0a844e8c58
commit 2e32d6efd4
9 changed files with 15 additions and 7 deletions

View File

Before

Width:  |  Height:  |  Size: 902 B

After

Width:  |  Height:  |  Size: 902 B

View File

Before

Width:  |  Height:  |  Size: 719 B

After

Width:  |  Height:  |  Size: 719 B

View File

Before

Width:  |  Height:  |  Size: 198 B

After

Width:  |  Height:  |  Size: 198 B

View File

Before

Width:  |  Height:  |  Size: 264 B

After

Width:  |  Height:  |  Size: 264 B

View File

Before

Width:  |  Height:  |  Size: 816 B

After

Width:  |  Height:  |  Size: 816 B

View File

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

View File

@ -559,10 +559,17 @@
<Content Include="Content\ajax-loader.gif" /> <Content Include="Content\ajax-loader.gif" />
<Content Include="Content\ie.css" /> <Content Include="Content\ie.css" />
<Content Include="Content\Images\arrow.png" /> <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\img01.jpg" />
<Content Include="Content\Images\img02.jpg" /> <Content Include="Content\Images\img02.jpg" />
<Content Include="Content\Images\img03.jpg" /> <Content Include="Content\Images\img03.jpg" />
<Content Include="Content\Images\img07.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\Plus.png" />
<Content Include="Content\Images\spin.gif" /> <Content Include="Content\Images\spin.gif" />
<Content Include="Content\Images\ui-bg_diagonals-small_0_aaaaaa_40x40.png" /> <Content Include="Content\Images\ui-bg_diagonals-small_0_aaaaaa_40x40.png" />

View File

@ -16,7 +16,7 @@ History
.Columns(columns => .Columns(columns =>
{ {
columns.Bound(c => c.Indexer) 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("") .Title("")
.Width(20); .Width(20);
columns.Bound(c => c.SeriesTitle).Title("Series Name"); columns.Bound(c => c.SeriesTitle).Title("Series Name");

View File

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