Ability to manually add a show has been added.

UI cleanup for adding series (new, existing and manual).
This commit is contained in:
Mark McDowall 2011-03-17 00:40:23 -07:00
commit 636f352599
24 changed files with 767 additions and 137 deletions

View file

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NzbDrone.Web.Models
{
public class AddExistingManualModel
{
public string Path { get; set; }
public string FolderName { get; set; }
}
}

View file

@ -9,6 +9,7 @@ namespace NzbDrone.Web.Models
{
public bool IsWanted { get; set; }
public string Path { get; set; }
public string PathEncoded { get; set; }
public int TvDbId { get; set; }
public string TvDbName { get; set; }
}

View file

@ -4,6 +4,7 @@ using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using NzbDrone.Core.Repository;
namespace NzbDrone.Web.Models
{
@ -14,5 +15,9 @@ namespace NzbDrone.Web.Models
[DisplayName("Single Series Path")]
[DisplayFormat(ConvertEmptyStringToNull = false)]
public string SeriesName { get; set; }
public string DirectorySeparatorChar { get; set; }
public List<RootDir> RootDirectories { get; set; }
}
}