diff --git a/NzbDrone.Web/Controllers/SeriesController.cs b/NzbDrone.Web/Controllers/SeriesController.cs
index 9ba560e17..95d3389d6 100644
--- a/NzbDrone.Web/Controllers/SeriesController.cs
+++ b/NzbDrone.Web/Controllers/SeriesController.cs
@@ -46,6 +46,11 @@ public ActionResult Index()
return View();
}
+ public ActionResult Add()
+ {
+ return View(new AddSeriesModel());
+ }
+
public ActionResult Sync()
{
_syncProvider.BeginSyncUnmappedFolders();
diff --git a/NzbDrone.Web/Models/AddSeriesModel.cs b/NzbDrone.Web/Models/AddSeriesModel.cs
index 27d8ad311..dd46101b6 100644
--- a/NzbDrone.Web/Models/AddSeriesModel.cs
+++ b/NzbDrone.Web/Models/AddSeriesModel.cs
@@ -1,5 +1,7 @@
using System;
using System.Collections.Generic;
+using System.ComponentModel;
+using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
@@ -7,7 +9,14 @@ namespace NzbDrone.Web.Models
{
public class AddSeriesModel
{
+ [DataType(DataType.Text)]
+ [DisplayName("Single Series Path")]
+ [DisplayFormat(ConvertEmptyStringToNull = false)]
public string SingleSeries { get; set; }
+
+ [DataType(DataType.Text)]
+ [DisplayName("Series Root Path")]
+ [DisplayFormat(ConvertEmptyStringToNull = false)]
public string SeriesRoot { get; set; }
}
}
\ No newline at end of file
diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj
index 1d0373733..f1b0cf6bb 100644
--- a/NzbDrone.Web/NzbDrone.Web.csproj
+++ b/NzbDrone.Web/NzbDrone.Web.csproj
@@ -86,6 +86,7 @@
+
@@ -274,7 +275,9 @@
+
+
diff --git a/NzbDrone.Web/Views/Series/Add.aspx b/NzbDrone.Web/Views/Series/Add.aspx
new file mode 100644
index 000000000..505cad78d
--- /dev/null
+++ b/NzbDrone.Web/Views/Series/Add.aspx
@@ -0,0 +1,18 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
+
+
+ Add Series
+
+
+
+
+ //Add New
+
+
+ //Add Existing
+
+
\ No newline at end of file