- @{
- var season = s;
- Html.RenderPartial("Season", season);
- }
-
-}
-
-
- @using (Html.BeginForm("Edit", "Series", FormMethod.Post, new { id = "SeriesEditorForm", name = "SeriesEditorForm", @class = "settingsForm" }))
- {
- @Html.HiddenFor(m => m.SeriesId)
- @Html.HiddenFor(m => m.Status)
-
- @Html.CheckBoxFor(m => m.Monitored, new { @class = "inputClass checkClass" })
-
- @Html.CheckBoxFor(m => m.SeasonFolder, new { @class = "inputClass checkClass" })
-
- @Html.DropDownListFor(m => m.QualityProfileId, (SelectList)ViewData["SelectList"], new { @class = "inputClass" })
-
- @Html.TextBoxFor(m => m.Path, new { @class = "inputClass" })
-
- @Html.DropDownListFor(m => m.BacklogSetting, (SelectList)ViewData["BacklogSettingSelectList"], new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.CustomStartDate, new { type = "date", @class = "inputClass jQuery-datepicker" })
- }
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Series/Editor.cshtml b/NzbDrone.Web/Views/Series/Editor.cshtml
deleted file mode 100644
index 0db6ff1f6..000000000
--- a/NzbDrone.Web/Views/Series/Editor.cshtml
+++ /dev/null
@@ -1,258 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model IEnumerable
-@{ViewBag.Title = "Series Editor";}
-
-@section HeaderContent
-{
- @Html.IncludeCss("Settings.css")
- @Html.IncludeCss("SeriesEditor.css")
-}
-
-@section ActionMenu
-{
-
-}
-
-@using (Html.BeginForm("Editor", "Series", FormMethod.Post, new { id = "SeriesEditor", name = "SeriesEditor" }))
-{
-
-
-
- @Html.CheckBox("editToggleMaster", false, new { @class = "editToggleMaster" }) |
- Title |
- Quality |
- Monitored |
- Season Folder |
- Backlog Status |
- Start Date |
- Path |
- |
-
-
-
-
- @foreach (var series in Model)
- {
- Html.RenderPartial("EditorItem", series);
- }
-
-
-
-
- |
- |
-
- @Html.DropDownList("masterQualitySelector", (SelectList)ViewData["MasterProfileSelectList"], new { @class = "footer-control-quality masterSelector master-quality", disabled = true })
- |
-
- @Html.DropDownList("masterMonitored", (SelectList)ViewData["BoolSelectList"], new { @class = "footer-control-boolean masterSelector master-monitored", disabled = true })
- |
-
- @Html.DropDownList("masterSeasonFolder", (SelectList)ViewData["BoolSelectList"], new { @class = "footer-control-boolean masterSelector master-season-folder", disabled = true })
- |
-
- @Html.DropDownList("masterBacklogSetting", (SelectList)ViewData["MasterBacklogSettingSelectList"], new { @class = "footer-control masterSelector master-backlog-setting", disabled = true })
- |
-
- @Html.TextBox("masterStartDate", "" , new { type = "date", @class = "footer-control-start-date masterSelector master-start-date jQuery-datepicker", disabled = true })
- |
-
-
-
-
- |
-
-
-
-
-@Html.CheckBox("highlightEnded", true)
-
-}
-
-@section Scripts
-{
-
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Series/EditorItem.cshtml b/NzbDrone.Web/Views/Series/EditorItem.cshtml
deleted file mode 100644
index 6b2efe736..000000000
--- a/NzbDrone.Web/Views/Series/EditorItem.cshtml
+++ /dev/null
@@ -1,38 +0,0 @@
-@model NzbDrone.Web.Models.SeriesModel
-@using NzbDrone.Core.Model
-@using NzbDrone.Core.Repository.Quality
-@using NzbDrone.Web.Helpers
-
-@{
- Layout = null;
-}
-
-@*SeriesId, Title, Quality, Monitored, Use Season Folder, Root Directory/Path*, Backlog Toggle*@
-
-
- @using (Html.BeginCollectionItem("series"))
- {
- var idClean = ViewData.TemplateInfo.HtmlFieldPrefix.Replace('[', '_').Replace(']', '_');
-
- @Html.HiddenFor(m => m.SeriesId)
- @Html.CheckBox("editToggle", false, new {@class = "editToggle"}) |
- @Model.Title |
- @Html.DropDownListFor(m => m.QualityProfileId, new SelectList((List)ViewData["QualityProfiles"], "QualityProfileId", "Name", Model.QualityProfileId), new { @class = "quality" }) |
- @Html.CheckBoxFor(m => m.Monitored, new {@class = "seriesCheckbox monitored"}) |
- @Html.CheckBoxFor(m => m.SeasonFolder, new {@class = "seriesCheckbox seasonFolder"}) |
- @Html.DropDownListFor(m => m.BacklogSetting, new SelectList((List>)ViewData["BacklogSettingTypes"], "Key", "Value", (int)Model.BacklogSetting), new { @class = "backlogSetting" }) |
- @Html.TextBoxFor(m => m.CustomStartDate, new { type = "date", @class = "start-date jQuery-datepicker" }) |
- @Html.TextBoxFor(m => m.Path, new { @class = "path" }) |
-
- @if (Model.Status == "Ended")
- {
-
- }
-
- else
- {
-
- }
- |
- }
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Series/Episode.cshtml b/NzbDrone.Web/Views/Series/Episode.cshtml
deleted file mode 100644
index 01f0b9f56..000000000
--- a/NzbDrone.Web/Views/Series/Episode.cshtml
+++ /dev/null
@@ -1,37 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.EpisodeModel
-
-
- @Model.EpisodeNumber |
- @Model.Title |
- @Model.AirDate |
- @Model.Quality |
-
- @{
- string cellColourClass = String.Empty;
-
- if (Model.Status == "Missing")
- {
- cellColourClass = "episodeMissing";
- }
-
- if (Model.Ignored)
- {
- cellColourClass = "episodeIgnored";
- }
- }
-
- @*Commands Column*@
-
-
- @Ajax.IconActionLink("icon-search gridAction", "", "Search", "Episode", new { EpisodeId = Model.EpisodeId }, null, new { title = "Search for episode" })
-
-
- |
-
-
-
- @Model.Overview
- @Model.Path
- |
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Series/Index.cshtml b/NzbDrone.Web/Views/Series/Index.cshtml
deleted file mode 100644
index c747b70a1..000000000
--- a/NzbDrone.Web/Views/Series/Index.cshtml
+++ /dev/null
@@ -1,255 +0,0 @@
-@using NzbDrone.Web.Helpers
-@{ViewBag.Title = "NzbDrone";}
-
-@section HeaderContent
-{
- @Html.IncludeCss("Settings.css")
-}
-
-@section ActionMenu{
-
-}
-
-
-
-
-
- Status |
- Title |
- Seasons |
- Quality |
- Network |
- Next Airing |
- Episodes |
-
- @*Commands Column*@
- |
-
-
-
-
-
-
-
-
-
-
-
-
- Are you sure you want to delete '
'?
-
- @Html.CheckBox("DeleteFromDisk")
-
-
-
-
-@section Scripts{
- @Html.IncludeScript("NzbDrone/series.js")
-
-
-}
diff --git a/NzbDrone.Web/Views/Series/Season.cshtml b/NzbDrone.Web/Views/Series/Season.cshtml
deleted file mode 100644
index 0c9b125c4..000000000
--- a/NzbDrone.Web/Views/Series/Season.cshtml
+++ /dev/null
@@ -1,48 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.SeasonModel
-
-
- @(Model.SeasonNumber == 0 ? "Specials" : "Season " + Model.SeasonNumber)
-
-
-
-
-
-
-
-
-
-
-
-
- # |
- Title |
- Air Date |
- Quality |
-
- @*Commands Column*@
-
-
- @Ajax.IconActionLink("icon-search gridAction", "", "SearchSeason", "Episode", new { SeriesId = Model.SeriesId, seasonnumber = Model.SeasonNumber }, null, new { title = "Search for all episodes in this season" })
-
- @Ajax.IconActionLink("icon-pencil gridAction", "", "RenameSeason", "Episode", new { SeriesId = Model.SeriesId, seasonnumber = Model.SeasonNumber }, null, new { Title = "Rename all episodes in this season" })
- |
-
-
-
- @for (int i = 0; i < Model.Episodes.Count; i++)
- {
- var episode = Model.Episodes[i];
-
- if (i % 2 == 0)
- {
- Html.RenderPartial("Episode", episode);
- }
-
- else
- {
- Html.RenderPartial("Episode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
- }
- }
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Blackhole.cshtml b/NzbDrone.Web/Views/Settings/Blackhole.cshtml
deleted file mode 100644
index 335b10065..000000000
--- a/NzbDrone.Web/Views/Settings/Blackhole.cshtml
+++ /dev/null
@@ -1,14 +0,0 @@
-@using NzbDrone.Web.Helpers;
-@model NzbDrone.Web.Models.DownloadClientSettingsModel
-
-@{
- Layout = null;
-}
-
-
-
- @Html.TextBoxFor(m => m.BlackholeDirectory, new { @class = "inputClass folderLookup" })
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/DownloadClient.cshtml b/NzbDrone.Web/Views/Settings/DownloadClient.cshtml
deleted file mode 100644
index 3ce526b9c..000000000
--- a/NzbDrone.Web/Views/Settings/DownloadClient.cshtml
+++ /dev/null
@@ -1,170 +0,0 @@
-@using NzbDrone.Web.Helpers;
-@model NzbDrone.Web.Models.DownloadClientSettingsModel
-
-@{
- Layout = "_SettingsLayout.cshtml";
-}
-
-
-
- @using (Html.BeginForm("SaveDownloadClient", "Settings", FormMethod.Post, new { id = "DownloadClientForm", name = "DownloadClientForm", @class = "settingsForm" }))
- {
-
-
- @Html.DropDownListFor(m => m.DownloadClient, Model.DownloadClientSelectList, new { @class = "inputClass selectClass" })
-
-
- @Html.TextBoxFor(m => m.DownloadClientDropDirectory, new { @class = "inputClass folderLookup" })
-
-
- @Html.CheckBoxFor(m => m.UseSceneName, new { @class = "inputClass checkClass" })
-
-
-
-
- @{Html.RenderPartial("Sabnzbd", Model);}
-
-
- @{Html.RenderPartial("Blackhole", Model);}
-
-
- @{Html.RenderPartial("Pneumatic", Model);}
-
-
- @{Html.RenderPartial("Nzbget", Model);}
-
-
-
- }
-
-
-
-
-@section Scripts{
-
-}
diff --git a/NzbDrone.Web/Views/Settings/EpisodeNamingPartial.cshtml b/NzbDrone.Web/Views/Settings/EpisodeNamingPartial.cshtml
deleted file mode 100644
index bec5a1c5e..000000000
--- a/NzbDrone.Web/Views/Settings/EpisodeNamingPartial.cshtml
+++ /dev/null
@@ -1,57 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.EpisodeNamingModel
-@{
- Layout = null;
-}
-
-
- @Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.")
-
- @Html.CheckBoxFor(m => m.SceneName, new { @class = "inputClass checkClass" })
-
- @Html.CheckBoxFor(m => m.SeriesName, new { @class = "inputClass checkClass" })
-
- @Html.CheckBoxFor(m => m.EpisodeName, new { @class = "inputClass checkClass" })
-
- @Html.CheckBoxFor(m => m.ReplaceSpaces, new { @class = "inputClass checkClass" })
-
- @Html.CheckBoxFor(m => m.AppendQuality, new { @class = "inputClass checkClass" })
-
- @Html.CheckBoxFor(m => m.SeasonFolders, new { @class = "inputClass checkClass" })
-
- @Html.TextBoxFor(m => m.SeasonFolderFormat, new { @class = "inputClass" })
-
- @Html.DropDownListFor(m => m.SeparatorStyle, Model.SeparatorStyles, new { @class = "inputClass selectClass" })
-
- @Html.DropDownListFor(m => m.NumberStyle, Model.NumberStyles, new { @class = "inputClass selectClass" })
-
- @Html.DropDownListFor(m => m.MultiEpisodeStyle, Model.MultiEpisodeStyles, new { @class = "inputClass selectClass" })
-
-
-
- Single Episode Example:
-
-
- Multi-Episode Example:
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Growl.cshtml b/NzbDrone.Web/Views/Settings/Growl.cshtml
deleted file mode 100644
index c0e26a967..000000000
--- a/NzbDrone.Web/Views/Settings/Growl.cshtml
+++ /dev/null
@@ -1,39 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.NotificationSettingsModel
-
-@{
- Layout = null;
-}
-
-
-
- @Html.CheckBoxFor(m => m.GrowlEnabled, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.GrowlNotifyOnGrab, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.GrowlNotifyOnDownload, new { @class = "inputClass checkClass" })
-
-
- @Html.TextBoxFor(m => m.GrowlHost, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.GrowlPassword, new { @class = "inputClass", type = "password" })
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Indexers.cshtml b/NzbDrone.Web/Views/Settings/Indexers.cshtml
deleted file mode 100644
index 05b904e6e..000000000
--- a/NzbDrone.Web/Views/Settings/Indexers.cshtml
+++ /dev/null
@@ -1,317 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.IndexerSettingsModel
-
-@{
- Layout = "_SettingsLayout.cshtml";
-}
-
-
-
-
- @Html.CheckBox("nzbsRusStatus", @Model.NzbsRUsEnabled, new { @class = "indexerStatusButton" })
-
-
- @Html.CheckBox("newznabStatus", @Model.NewznabEnabled, new { @class = "indexerStatusButton" })
-
-
- @Html.CheckBox("womblesStatus", @Model.WomblesEnabled, new { @class = "indexerStatusButton" })
-
-
- @Html.CheckBox("fileSharingTalkStatus", @Model.FileSharingTalkEnabled, new { @class = "indexerStatusButton" })
-
-
- @Html.CheckBox("nzbIndexStatus", @Model.NzbIndexEnabled, new { @class = "indexerStatusButton" })
-
-
- @Html.CheckBox("nzbClubStatus", @Model.NzbClubEnabled, new { @class = "indexerStatusButton" })
-
-
- @Html.CheckBox("omgwtfnzbsStatus", @Model.OmgwtfnzbsEnabled, new { @class = "indexerStatusButton" })
-
-
- @Html.CheckBox("nzbxStatus", @Model.NzbxEnabled, new { @class = "indexerStatusButton" })
-
-
-
- @using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "IndexersForm", name = "IndexersForm", @class = "settingsForm" }))
- {
-
-
-
-
NZBsRus does not support backlog searching
-
- @Html.CheckBoxFor(m => m.NzbsRUsEnabled, new { @class = "inputClass checkClass enabledCheck" })
-
- @Html.TextBoxFor(m => m.NzbsrusUId, new { @class = "inputClass" })
-
- @Html.TextBoxFor(m => m.NzbsrusHash, new { @class = "inputClass" })
-
-
-
-
-
- @Html.CheckBoxFor(m => m.NewznabEnabled, new { @class = "inputClass checkClass enabledCheck" })
-
-
-
-
-
-
- Add Newznab Provider
-
- @foreach (var provider in Model.NewznabDefinitions)
- {
- Html.RenderAction("GetNewznabProviderView", provider);
- }
-
-
-
-
-
-
Womble's Index does not support backlog searching
-
- @Html.CheckBoxFor(m => m.WomblesEnabled, new { @class = "inputClass checkClass enabledCheck" })
-
-
-
-
-
File Sharing Talk does not support backlog searching
-
- @Html.CheckBoxFor(m => m.FileSharingTalkEnabled, new { @class = "inputClass checkClass enabledCheck" })
-
- @Html.TextBoxFor(m => m.FileSharingTalkUid, new { @class = "inputClass" })
-
- @Html.TextBoxFor(m => m.FileSharingTalkSecret, new { @class = "inputClass" })
-
-
-
-
-
- @Html.CheckBoxFor(m => m.NzbIndexEnabled, new { @class = "inputClass checkClass enabledCheck" })
-
-
-
-
-
- @Html.CheckBoxFor(m => m.NzbClubEnabled, new { @class = "inputClass checkClass enabledCheck" })
-
-
-
-
-
- @Html.CheckBoxFor(m => m.OmgwtfnzbsEnabled, new { @class = "inputClass checkClass enabledCheck" })
-
-
- @Html.TextBoxFor(m => m.OmgwtfnzbsUsername, new { @class = "inputClass" })
-
- @Html.TextBoxFor(m => m.OmgwtfnzbsApiKey, new { @class = "inputClass" })
-
-
-
-
-
- @Html.CheckBoxFor(m => m.NzbxEnabled, new { @class = "inputClass checkClass enabledCheck" })
-
-
-
-
- @Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.")
-
- @Html.TextBoxFor(m => m.Retention, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.RssSyncInterval, new { @class = "inputClass" })
-
-
-
- }
-
-
-@section Scripts
-{
-
-}
diff --git a/NzbDrone.Web/Views/Settings/MetadataPartial.cshtml b/NzbDrone.Web/Views/Settings/MetadataPartial.cshtml
deleted file mode 100644
index c37de47b4..000000000
--- a/NzbDrone.Web/Views/Settings/MetadataPartial.cshtml
+++ /dev/null
@@ -1,15 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.EpisodeNamingModel
-@{
- Layout = null;
-}
-
-
-@Html.CheckBoxFor(m => m.MetadataXbmcEnabled, new { @class = "inputClass checkClass" })
-
-
-@Html.CheckBoxFor(m => m.MetadataUseBanners, new { @class = "inputClass checkClass" })
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Misc.cshtml b/NzbDrone.Web/Views/Settings/Misc.cshtml
deleted file mode 100644
index c2230d6ce..000000000
--- a/NzbDrone.Web/Views/Settings/Misc.cshtml
+++ /dev/null
@@ -1,41 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.MiscSettingsModel
-
-@{
- Layout = "_SettingsLayout.cshtml";
-}
-
-
- Enabling Backlog Searching can use lots of bandwidth and is not recommended for users with block Usenet accounts or bandwidth restrictions.
-
-
-
- @using (Html.BeginForm("SaveMisc", "Settings", FormMethod.Post, new { id = "MiscForm", name = "MiscForm", @class = "settingsForm" }))
- {
-
- @Html.CheckBoxFor(m => m.EnableBacklogSearching, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.AutoIgnorePreviouslyDownloadedEpisodes, new { @class = "inputClass checkClass" })
-
-
- @Html.TextBoxFor(m => m.AllowedReleaseGroups, new { @class = "inputClass" })
-
-
- @Html.CheckBoxFor(m => m.IgnoreArticlesWhenSortingSeries, new { @class = "inputClass checkClass" })
-
-
-
-
-
- }
-
diff --git a/NzbDrone.Web/Views/Settings/Naming.cshtml b/NzbDrone.Web/Views/Settings/Naming.cshtml
deleted file mode 100644
index f2c1b2620..000000000
--- a/NzbDrone.Web/Views/Settings/Naming.cshtml
+++ /dev/null
@@ -1,45 +0,0 @@
-@model NzbDrone.Web.Models.EpisodeNamingModel
-@{
- Layout = "_SettingsLayout.cshtml";
-}
-
-
-
- @using (Html.BeginForm("SaveNaming", "Settings", FormMethod.Post, new { id = "NamingForm", name = "NamingForm", @class = "settingsForm" }))
- {
-
-
-
- @{Html.RenderPartial("EpisodeNamingPartial", Model);}
-
-
-
-
- @{Html.RenderPartial("MetaDataPartial", Model);}
-
-
-
-
- }
-
-
-@section Scripts{
-
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/NewznabProvider.cshtml b/NzbDrone.Web/Views/Settings/NewznabProvider.cshtml
deleted file mode 100644
index c910a8099..000000000
--- a/NzbDrone.Web/Views/Settings/NewznabProvider.cshtml
+++ /dev/null
@@ -1,57 +0,0 @@
-@model NzbDrone.Core.Repository.NewznabDefinition
-@using NzbDrone.Web.Helpers
-@{
- Layout = null;
-}
-
-@using (Html.BeginCollectionItem("NewznabDefinitions"))
-{
- var idClean = ViewData.TemplateInfo.HtmlFieldPrefix.Replace('[', '_').Replace(']', '_');
-
-
-
-
-
- @Html.Label("Enabled")
- @Html.CheckBoxFor(m => m.Enable)
-
-
-
- @Html.LabelFor(x => x.Name)
- @Html.TextBoxFor(x => x.Name, new {@class = "providerName_textbox"})
-
-
- @if(!Model.BuiltIn)
- {
- @Html.LabelFor(x => x.Url)
- @Html.TextBoxFor(m => m.Url)
- }
-
- else
- {
- @Html.LabelFor(x => x.Url)
- @Html.TextBox("DisabledIndexer", Model.Url, new { disabled = "disabled" })
- @Html.HiddenFor(m => m.Url)
- }
-
-
-
- @Html.LabelFor(x => x.ApiKey)
- @Html.TextBoxFor(m => m.ApiKey)
-
-
-
- @Html.HiddenFor(x => x.Id, new {@class = "newznabProviderId"})
- @Html.Hidden("cleanId", idClean, new {@class = "cleanId"})
- @Html.HiddenFor(m => m.BuiltIn)
-
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Notifications.cshtml b/NzbDrone.Web/Views/Settings/Notifications.cshtml
deleted file mode 100644
index 1facc51db..000000000
--- a/NzbDrone.Web/Views/Settings/Notifications.cshtml
+++ /dev/null
@@ -1,99 +0,0 @@
-@model NzbDrone.Web.Models.NotificationSettingsModel
-
-@{
- Layout = "_SettingsLayout.cshtml";
-}
-
-
-
- @using (Html.BeginForm("SaveNotifications", "Settings", FormMethod.Post, new { id = "NotificationForm", name = "NotificationForm", @class = "settingsForm" }))
- {
-
-
- @{Html.RenderPartial("Xbmc", Model);}
-
- @{Html.RenderPartial("Plex", Model);}
-
- @{Html.RenderPartial("Growl", Model);}
-
- @{Html.RenderPartial("Prowl", Model);}
-
- @{Html.RenderPartial("Smtp", Model);}
-
- @{Html.RenderPartial("Twitter", Model);}
-
-
-
- }
-
-
-@section Scripts
-{
-
-}
diff --git a/NzbDrone.Web/Views/Settings/Nzbget.cshtml b/NzbDrone.Web/Views/Settings/Nzbget.cshtml
deleted file mode 100644
index 56068aa3e..000000000
--- a/NzbDrone.Web/Views/Settings/Nzbget.cshtml
+++ /dev/null
@@ -1,50 +0,0 @@
-@using NzbDrone.Web.Helpers;
-@model NzbDrone.Web.Models.DownloadClientSettingsModel
-
-@{
- Layout = null;
-}
-
-
-
- @Html.TextBoxFor(m => m.NzbgetHost, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.NzbgetPort, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.NzbgetUsername, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.NzbgetPassword, new { @class = "inputClass", type = "password" })
-
-
- @Html.TextBoxFor(m => m.NzbgetTvCategory, new { @class = "inputClass" })
-
-
- @Html.DropDownListFor(m => m.NzbgetBacklogTvPriority, Model.NzbgetPrioritySelectList, new { @class = "inputClass selectClass" })
-
-
- @Html.DropDownListFor(m => m.NzbgetRecentTvPriority, Model.NzbgetPrioritySelectList, new { @class = "inputClass selectClass" })
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Plex.cshtml b/NzbDrone.Web/Views/Settings/Plex.cshtml
deleted file mode 100644
index 14ffebfc1..000000000
--- a/NzbDrone.Web/Views/Settings/Plex.cshtml
+++ /dev/null
@@ -1,60 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.NotificationSettingsModel
-
-@{
- Layout = null;
-}
-
-
-
- @Html.CheckBoxFor(m => m.PlexEnabled, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.PlexNotifyOnGrab, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.PlexNotifyOnDownload, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.PlexUpdateLibrary, new { @class = "inputClass checkClass" })
-
-
- @Html.TextBoxFor(m => m.PlexServerHost, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.PlexClientHosts, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.PlexUsername, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.PlexPassword, new { @class = "inputClass", type = "password" })
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Pneumatic.cshtml b/NzbDrone.Web/Views/Settings/Pneumatic.cshtml
deleted file mode 100644
index 02e68ae16..000000000
--- a/NzbDrone.Web/Views/Settings/Pneumatic.cshtml
+++ /dev/null
@@ -1,14 +0,0 @@
-@using NzbDrone.Web.Helpers;
-@model NzbDrone.Web.Models.DownloadClientSettingsModel
-
-@{
- Layout = null;
-}
-
-
-
- @Html.TextBoxFor(m => m.PneumaticDirectory, new { @class = "inputClass folderLookup" })
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Prowl.cshtml b/NzbDrone.Web/Views/Settings/Prowl.cshtml
deleted file mode 100644
index aaf1ef473..000000000
--- a/NzbDrone.Web/Views/Settings/Prowl.cshtml
+++ /dev/null
@@ -1,39 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.NotificationSettingsModel
-
-@{
- Layout = null;
-}
-
-
-
- @Html.CheckBoxFor(m => m.ProwlEnabled, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.ProwlNotifyOnGrab, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.ProwlNotifyOnDownload, new { @class = "inputClass checkClass" })
-
-
- @Html.TextBoxFor(m => m.ProwlApiKeys, new { @class = "inputClass" })
-
-
- @Html.DropDownListFor(m => m.ProwlPriority, Model.ProwlPrioritySelectList, new { @class = "inputClass selectClass" })
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Quality.cshtml b/NzbDrone.Web/Views/Settings/Quality.cshtml
deleted file mode 100644
index c007dbb0e..000000000
--- a/NzbDrone.Web/Views/Settings/Quality.cshtml
+++ /dev/null
@@ -1,110 +0,0 @@
-@using NzbDrone.Core.Repository.Quality
-@using NzbDrone.Web.Helpers;
-@model NzbDrone.Web.Models.QualityModel
-
-@{
- Layout = "_SettingsLayout.cshtml";
-}
-
-
- @using (Html.BeginForm("SaveQuality", "Settings", FormMethod.Post, new { id = "QualityForm", name = "QualityForm", @class = "settingsForm" }))
- {
-
-
- @Html.DropDownListFor(m => m.DefaultQualityProfileId, Model.QualityProfileSelectList, new { @class = "inputClass" })
-
-
-
-
-
-
-
-
-
-
-
-
- Size Limits specify the maximum download size NzbDrone will send to your download client.
-
-
-
-
- }
-
-
-@section Scripts {
- @Html.IncludeScript("NzbDrone/qualitySettings.js")
-
- @Html.IncludeScript("backbone/apps/qualityProfileApp.js")
- @Html.IncludeScript("backbone/apps/qualityTypeApp.js")
- @Html.IncludeScript("backbone/constants.js")
- @Html.IncludeScript("backbone/models/qualityProfile.js")
- @Html.IncludeScript("backbone/models/qualityProfileCollection.js")
- @Html.IncludeScript("backbone/views/qualityProfiles.js")
- @Html.IncludeScript("backbone/models/qualityType.js")
- @Html.IncludeScript("backbone/models/qualityTypeCollection.js")
- @Html.IncludeScript("backbone/views/qualityTypes.js")
-
-
-
-
-
-
-
-
-
-
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Sabnzbd.cshtml b/NzbDrone.Web/Views/Settings/Sabnzbd.cshtml
deleted file mode 100644
index 7fd63f809..000000000
--- a/NzbDrone.Web/Views/Settings/Sabnzbd.cshtml
+++ /dev/null
@@ -1,62 +0,0 @@
-@using NzbDrone.Web.Helpers;
-@model NzbDrone.Web.Models.DownloadClientSettingsModel
-
-@{
- Layout = null;
-}
-
-
-
-
-
-
- @Html.TextBoxFor(m => m.SabHost, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.SabPort, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.SabApiKey, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.SabUsername, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.SabPassword, new { @class = "inputClass", type = "password" })
-
-
- @Html.DropDownListFor(m => m.SabTvCategory, Model.SabTvCategorySelectList, new { @class = "inputClass selectClass" })
-
-
- @Html.DropDownListFor(m => m.SabBacklogTvPriority, Model.SabPrioritySelectList, new { @class = "inputClass selectClass" })
-
-
- @Html.DropDownListFor(m => m.SabRecentTvPriority, Model.SabPrioritySelectList, new { @class = "inputClass selectClass" })
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Smtp.cshtml b/NzbDrone.Web/Views/Settings/Smtp.cshtml
deleted file mode 100644
index ba4b667f6..000000000
--- a/NzbDrone.Web/Views/Settings/Smtp.cshtml
+++ /dev/null
@@ -1,64 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.NotificationSettingsModel
-
-@{
- Layout = null;
-}
-
-
-
- @Html.CheckBoxFor(m => m.SmtpEnabled, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.SmtpNotifyOnGrab, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.SmtpNotifyOnDownload, new { @class = "inputClass checkClass" })
-
-
- @Html.TextBoxFor(m => m.SmtpServer, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.SmtpPort, new { @class = "inputClass" })
-
-
- @Html.CheckBoxFor(m => m.SmtpUseSsl, new { @class = "inputClass checkClass" })
-
-
- @Html.TextBoxFor(m => m.SmtpUsername, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.SmtpPassword, new { @class = "inputClass", type = "password" })
-
-
- @Html.TextBoxFor(m => m.SmtpFromAddress, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.SmtpToAddresses, new { @class = "inputClass" })
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/System.cshtml b/NzbDrone.Web/Views/Settings/System.cshtml
deleted file mode 100644
index 632a03d97..000000000
--- a/NzbDrone.Web/Views/Settings/System.cshtml
+++ /dev/null
@@ -1,77 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.SystemSettingsModel
-
-@{
- Layout = "_SettingsLayout.cshtml";
-}
-
-
- You must manually restart NzbDrone for these changes to take effect. (Automatic restart coming soon!)
-
-
-
- @using (Html.BeginForm("SaveSystem", "Settings", FormMethod.Post, new { id = "SystemForm", name = "SystemForm", @class = "settingsForm" }))
- {
- @Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.")
-
- @Html.CheckBoxFor(m => m.LaunchBrowser, new { @class = "inputClass checkClass" })
-
-
- @Html.TextBoxFor(m => m.Port, new { @class = "inputClass" })
-
-
- @Html.DropDownListFor(m => m.AuthenticationType, Model.AuthTypeSelectList, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.RecycleBin, new { @class = "inputClass folderLookup" })
-
-
-
-
-
- }
-
-
-@section Scripts
-{
-
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Twitter.cshtml b/NzbDrone.Web/Views/Settings/Twitter.cshtml
deleted file mode 100644
index dac35b055..000000000
--- a/NzbDrone.Web/Views/Settings/Twitter.cshtml
+++ /dev/null
@@ -1,40 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.NotificationSettingsModel
-
-@{
- Layout = null;
-}
-
-
-
- @Html.CheckBoxFor(m => m.TwitterEnabled, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.TwitterNotifyOnGrab, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.TwitterNotifyOnDownload, new { @class = "inputClass checkClass" })
-
-
-
-
-
- @Html.TextBox("twitterVerification", "", new { @class = "inputClass" })
-
-
-
-
- @Html.Hidden("authorizationRequestToken")
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/Xbmc.cshtml b/NzbDrone.Web/Views/Settings/Xbmc.cshtml
deleted file mode 100644
index 46a6456da..000000000
--- a/NzbDrone.Web/Views/Settings/Xbmc.cshtml
+++ /dev/null
@@ -1,64 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model NzbDrone.Web.Models.NotificationSettingsModel
-
-@{
- Layout = null;
-}
-
-
-
- @Html.CheckBoxFor(m => m.XbmcEnabled, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.XbmcNotifyOnGrab, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.XbmcNotifyOnDownload, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.XbmcUpdateLibrary, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.XbmcCleanLibrary, new { @class = "inputClass checkClass" })
-
-
- @Html.CheckBoxFor(m => m.XbmcUpdateWhenPlaying, new { @class = "inputClass checkClass" })
-
-
- @Html.TextBoxFor(m => m.XbmcHosts, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.XbmcUsername, new { @class = "inputClass" })
-
-
- @Html.TextBoxFor(m => m.XbmcPassword, new { @class = "inputClass", type = "password" })
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Settings/_SettingsLayout.cshtml b/NzbDrone.Web/Views/Settings/_SettingsLayout.cshtml
deleted file mode 100644
index 4cb5581ae..000000000
--- a/NzbDrone.Web/Views/Settings/_SettingsLayout.cshtml
+++ /dev/null
@@ -1,30 +0,0 @@
-@using NzbDrone.Web.Helpers
-
-@{
- Layout = "~/Views/Shared/_Layout.cshtml";
- ViewBag.Title = "Settings";
-}
-
-@section HeaderContent
-{
- @Html.IncludeCss("Settings.css")
- @Html.IncludeCss("IndexerSettings.css")
- @Html.IncludeCss("QualitySettings.css")
-}
-
-
- @MvcHtmlString.Create(Html.CurrentActionLink("Naming", "Naming", "Settings"))
- @MvcHtmlString.Create(Html.CurrentActionLink("Quality", "Quality", "Settings"))
- @MvcHtmlString.Create(Html.CurrentActionLink("Indexers", "Indexers", "Settings"))
- @MvcHtmlString.Create(Html.CurrentActionLink("Download Client", "DownloadClient", "Settings"))
- @MvcHtmlString.Create(Html.CurrentActionLink("Notifications", "Notifications", "Settings"))
- @MvcHtmlString.Create(Html.CurrentActionLink("System", "System", "Settings"))
- @MvcHtmlString.Create(Html.CurrentActionLink("Misc", "Misc", "Settings"))
-
-
-@RenderBody()
-
-@section Scripts{
- @Html.IncludeScript("NzbDrone/settings.js")
- @RenderSection("Scripts", required: false)
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Shared/Error.cshtml b/NzbDrone.Web/Views/Shared/Error.cshtml
deleted file mode 100644
index 84954a43c..000000000
--- a/NzbDrone.Web/Views/Shared/Error.cshtml
+++ /dev/null
@@ -1,7 +0,0 @@
-@model HandleErrorInfo
-@{ ViewBag.Title = "EPIC FAIL!"; }
-
- @Model.Exception.Message
-
-
-@Model.Exception.ToString()
diff --git a/NzbDrone.Web/Views/Shared/Footer.cshtml b/NzbDrone.Web/Views/Shared/Footer.cshtml
deleted file mode 100644
index 8573e1a0a..000000000
--- a/NzbDrone.Web/Views/Shared/Footer.cshtml
+++ /dev/null
@@ -1,4 +0,0 @@
-@using NzbDrone.Web.Models
-@model FooterModel
-@Html.ActionLink(String.Format("NzbDrone {0} ({1:MMM d, yyyy})", Model.Version, Model.BuildTime), "Index", "Update")
-
diff --git a/NzbDrone.Web/Views/Shared/FreeSpace.cshtml b/NzbDrone.Web/Views/Shared/FreeSpace.cshtml
deleted file mode 100644
index 603045c15..000000000
--- a/NzbDrone.Web/Views/Shared/FreeSpace.cshtml
+++ /dev/null
@@ -1,23 +0,0 @@
-@using NzbDrone.Core
-@model Dictionary
-@{
- Layout = null;
-}
-
-
-@{
- var rootDirString = "";
-
- foreach(var rootDir in Model)
- {
-
- @rootDir.Value.ToBestFileSize(1) Free
-
-
- rootDirString += String.Format("{0} - {1} Free\r\n", rootDir.Key, rootDir.Value.ToBestFileSize(1));
- }
-
-
-
-
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Shared/NoSeriesBanner.cshtml b/NzbDrone.Web/Views/Shared/NoSeriesBanner.cshtml
deleted file mode 100644
index cb78348ce..000000000
--- a/NzbDrone.Web/Views/Shared/NoSeriesBanner.cshtml
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/NzbDrone.Web/Views/Shared/_Layout.cshtml b/NzbDrone.Web/Views/Shared/_Layout.cshtml
deleted file mode 100644
index ecd94320d..000000000
--- a/NzbDrone.Web/Views/Shared/_Layout.cshtml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-@{ Layout = "~/Views/Shared/_ReferenceLayout.cshtml"; }
-@using NzbDrone.Common
-@using NzbDrone.Web.Helpers
-@using StackExchange.Profiling
-@section HeaderContent
-{
- @if (string.IsNullOrWhiteSpace(ViewBag.Title) || String.Equals(ViewBag.Title, "NzbDrone", StringComparison.InvariantCultureIgnoreCase))
- {
- ViewBag.Title = "NzbDrone";
- }
- else
- {
- ViewBag.Title = String.Format("{0} - NzbDrone", ViewBag.Title);
- }
- @ViewBag.Title
- @if (!Request.Browser.IsMobileDevice && (!EnvironmentProvider.IsProduction || ProfilerHelper.Enabled()))
- {
- @MiniProfiler.RenderIncludes()
- }
- @Html.IncludeCss("Grid.css")
- @RenderSection("HeaderContent", required: false)
-}
-
-
-
-
-
- @ViewBag.Title
-
-
- @RenderSection("ActionMenu", required: false)
- @RenderBody()
-
-
-
-
- background notification
-
-@section Scripts
-{
- @RenderSection("Scripts", required: false)
-}
diff --git a/NzbDrone.Web/Views/Shared/_ReferenceLayout.cshtml b/NzbDrone.Web/Views/Shared/_ReferenceLayout.cshtml
deleted file mode 100644
index 86d5d67db..000000000
--- a/NzbDrone.Web/Views/Shared/_ReferenceLayout.cshtml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-@using NzbDrone.Web.Helpers
-@using StackExchange.Profiling
-
-
-
- @this.InitClientTimings()
-
-
-
-
-
-
-
-
-
-
-
-
-
- @Html.IncludeCss("jQueryUI/jquery-ui-1.8.16.custom.css")
- @Html.IncludeCss("jquery.gritter.css")
- @Html.IncludeCss("NzbDrone.css")
- @Html.IncludeCss("ActionButton.css")
- @Html.IncludeCss("Menu.css")
- @Html.IncludeCss("Messages.css")
- @Html.IncludeCss("DataTables-NzbDrone/media/css/jquery.dataTables.css")
- @Html.IncludeCss("overrides.css")
- @Html.IncludeCss("font-awesome.css")
- @RenderSection("HeaderContent", required: false)
-
-
- @RenderBody()
- @Html.IncludeScript("jquery-1.8.2.min.js")
- @Html.IncludeScript("jquery-ui-1.8.24.js")
- @Html.IncludeScript("jquery.livequery.js")
- @Html.IncludeScript("jquery.gritter.js")
- @Html.IncludeScript("jquery.form.js")
- @Html.IncludeScript("jquery-tgc-countdown-1.0.js")
- @Html.IncludeScript("jquery.watermark.min.js")
- @Html.IncludeScript("jquery.hotkeys.js")
- @Html.IncludeScript("jquery.signalR-0.5.3.min.js")
- @Html.IncludeScript("jquery.validate.js")
- @Html.IncludeScript("jquery.validate.unobtrusive.js")
- @Html.IncludeScript("jquery.unobtrusive-ajax.min.js")
- @Html.IncludeScript("jquery.cookie.js")
- @Html.IncludeScript("doTimeout.js")
- @Html.IncludeScript("conditional-validation.js")
-
- @Html.IncludeScript("NzbDrone/localSearch.js")
- @Html.IncludeScript("NzbDrone/AutoComplete.js")
- @Html.IncludeScript("NzbDrone/Notification.js")
- @Html.IncludeScript("NzbDrone/AutoBind.js")
- @Html.IncludeScript("NzbDrone/grid.js")
- @Html.IncludeScript("DataTables-1.9.4/media/js/jquery.dataTables.min.js")
- @Html.IncludeScript("DataTables-1.9.4/media/js/jquery.dataTables.reloadAjax.js")
- @Html.IncludeScript("DataTables-1.9.4/media/js/jquery.dataTables.editable.js")
- @Html.IncludeScript("DataTables-1.9.4/media/js/jquery.jeditable.js")
- @Html.IncludeScript("DataTables-1.9.4/media/js/jquery.dataTablesFilteringDelay.js")
- @Html.IncludeScript("DataTables-1.9.4/media/js/FixedHeader.min.js")
- @Html.IncludeScript("jquery.dataTables.4button.pagination.js")
- @Html.IncludeScript("NzbDrone/common.js")
- @Html.IncludeScript("underscore.min.js")
- @Html.IncludeScript("backbone.min.js")
- @Html.IncludeScript("backbone.marionette.min.js")
- @RenderSection("Scripts", required: false)
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/System/Config.cshtml b/NzbDrone.Web/Views/System/Config.cshtml
deleted file mode 100644
index f7ad4ab5a..000000000
--- a/NzbDrone.Web/Views/System/Config.cshtml
+++ /dev/null
@@ -1,101 +0,0 @@
-@model string
-@{ViewBag.Title = "Configuration";}
-
-@section HeaderContent{
-
-}
-
-
-
-
-
-
- Key |
- Value |
-
-
-
-
-
-
-
-
-
-@section Scripts{
-
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/System/Index.cshtml b/NzbDrone.Web/Views/System/Index.cshtml
deleted file mode 100644
index e2cd2ef49..000000000
--- a/NzbDrone.Web/Views/System/Index.cshtml
+++ /dev/null
@@ -1,35 +0,0 @@
-@using NzbDrone.Web.Helpers
-@{
- ViewBag.Title = "System";
-
- }
-
-@*
-@section HeaderContent
-{
- @Html.IncludeCss("Settings.css")
-
-}*@
-
-@section ActionMenu{
-
-}
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/System/Indexers.cshtml b/NzbDrone.Web/Views/System/Indexers.cshtml
deleted file mode 100644
index e9dd0e203..000000000
--- a/NzbDrone.Web/Views/System/Indexers.cshtml
+++ /dev/null
@@ -1,43 +0,0 @@
-@model string
-
-
-
-
-
- ID |
- Enable |
- Index Provider Type |
- Name |
-
-
-
-
-
-
-
-@section Scripts{
-
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/System/Jobs.cshtml b/NzbDrone.Web/Views/System/Jobs.cshtml
deleted file mode 100644
index d11f82ee5..000000000
--- a/NzbDrone.Web/Views/System/Jobs.cshtml
+++ /dev/null
@@ -1,98 +0,0 @@
-@using NzbDrone.Web.Helpers
-@model string
-@{ViewBag.Title = "Jobs";}
-
-
-
-
-
- ID |
- Enable |
- Type Name |
- Name |
- Interval |
- Last Execution |
- Success |
-
- @*Commands Column*@
- Actions |
-
-
-
-
-
-
-
-Items currently in queue
-
-
-
-
-
- Type |
- Options |
-
-
-
-
-
-
-
-@section Scripts{
-
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/System/Logs.cshtml b/NzbDrone.Web/Views/System/Logs.cshtml
deleted file mode 100644
index 7406acda3..000000000
--- a/NzbDrone.Web/Views/System/Logs.cshtml
+++ /dev/null
@@ -1,101 +0,0 @@
-@using NzbDrone.Core.Instrumentation
-@model IEnumerable
-@{ ViewBag.Title = "Logs";}
-@section ActionMenu{
-
-}
-@section HeaderContent{
-
-}
-
- Log entries older than 30 days are automatically deleted.
-
-
-
-
-
- Time
- |
-
- Level
- |
-
- Source
- |
-
- Message
- |
- @*Details Column*@
-
- Details
- |
-
-
-
-
-
-
-@section Scripts{
-
-}
diff --git a/NzbDrone.Web/Views/System/PendingProcessing.cshtml b/NzbDrone.Web/Views/System/PendingProcessing.cshtml
deleted file mode 100644
index a9d429789..000000000
--- a/NzbDrone.Web/Views/System/PendingProcessing.cshtml
+++ /dev/null
@@ -1,76 +0,0 @@
-@model string
-@using NzbDrone.Web.Models
-@{ViewBag.Title = "Pending Processing";}
-
-
-
-
-
- Name |
- Creation Date |
- |
-
-
-
-
-
-
-
-@section Scripts
-{
-
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/System/Stats.cshtml b/NzbDrone.Web/Views/System/Stats.cshtml
deleted file mode 100644
index 72d6288e1..000000000
--- a/NzbDrone.Web/Views/System/Stats.cshtml
+++ /dev/null
@@ -1,39 +0,0 @@
-@model NzbDrone.Core.Model.StatsModel
-
-@{
- ViewBag.Title = "Stats";
-}
-
-@section HeaderContent
-{
-
-}
-
-@Html.LabelFor(m => m.SeriesTotal):
-@Html.DisplayTextFor(m => m.SeriesTotal)
-
-@Html.LabelFor(m => m.SeriesContinuing):
-@Html.DisplayTextFor(m => m.SeriesContinuing)
-
-@Html.LabelFor(m => m.SeriesEnded):
-@Html.DisplayTextFor(m => m.SeriesEnded)
-
-@Html.LabelFor(m => m.EpisodesTotal):
-@Html.DisplayTextFor(m => m.EpisodesTotal)
-
-@Html.LabelFor(m => m.EpisodesOnDisk):
-@Html.DisplayTextFor(m => m.EpisodesOnDisk)
-
-@Html.LabelFor(m => m.EpisodesMissing):
-@Html.DisplayTextFor(m => m.EpisodesMissing)
-
-@Html.LabelFor(m => m.DownloadLastWeek):
-@Html.DisplayTextFor(m => m.DownloadLastWeek)
-
-@Html.LabelFor(m => m.DownloadedLastMonth):
-@Html.DisplayTextFor(m => m.DownloadedLastMonth)
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Upcoming/Index.cshtml b/NzbDrone.Web/Views/Upcoming/Index.cshtml
deleted file mode 100644
index 0e08dd2dd..000000000
--- a/NzbDrone.Web/Views/Upcoming/Index.cshtml
+++ /dev/null
@@ -1,277 +0,0 @@
-@model NzbDrone.Web.Models.UpcomingEpisodesModel
-@{ViewBag.Title = "Upcoming";}
-@section HeaderContent
-{
-
-}
-@section ActionMenu{
-
-}
-
- @Html.CheckBox("showDownloaded", true)
-
-
-
-
-
-
-
-
-
-
-
-
-
- Series Title
- |
-
- Episode
- |
-
- Episode Title
- |
-
- Air Time
- |
- @*Commands/Status Column*@
-
- Status
- |
-
-
-
-
-
- Yesterday
- |
-
- @for (int i = 0; i < Model.Yesterday.Count; i++)
- {
- var episode = Model.Yesterday[i];
-
- if (i % 2 == 0)
- {
- Html.RenderPartial("UpcomingEpisode", episode);
- }
-
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
- }
- }
-
-
- Today
- |
-
- @for (int i = 0; i < Model.Today.Count; i++)
- {
- var episode = Model.Today[i];
-
- if (i % 2 == 0)
- {
- Html.RenderPartial("UpcomingEpisode", episode);
- }
-
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
- }
- }
-
-
- Tomorrow
- |
- @for (int i = 0; i < Model.Tomorrow.Count; i++)
- {
- var episode = Model.Tomorrow[i];
-
- if (i % 2 == 0)
- {
- Html.RenderPartial("UpcomingEpisode", episode);
- }
-
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
- }
- }
-
-
- @DateTime.Today.AddDays(2).DayOfWeek
- |
-
- @for (int i = 0; i < Model.TwoDays.Count; i++)
- {
- var episode = Model.TwoDays[i];
-
- if (i % 2 == 0)
- {
- Html.RenderPartial("UpcomingEpisode", episode);
- }
-
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
- }
- }
-
-
- @DateTime.Today.AddDays(3).DayOfWeek
- |
-
- @for (int i = 0; i < Model.ThreeDays.Count; i++)
- {
- var episode = Model.ThreeDays[i];
-
- if (i % 2 == 0)
- {
- Html.RenderPartial("UpcomingEpisode", episode);
- }
-
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
- }
- }
-
-
- @DateTime.Today.AddDays(4).DayOfWeek
- |
-
- @for (int i = 0; i < Model.FourDays.Count; i++)
- {
- var episode = Model.FourDays[i];
-
- if (i % 2 == 0)
- {
- Html.RenderPartial("UpcomingEpisode", episode);
- }
-
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
- }
- }
-
-
- @DateTime.Today.AddDays(5).DayOfWeek
- |
-
- @for (int i = 0; i < Model.FiveDays.Count; i++)
- {
- var episode = Model.FiveDays[i];
-
- if (i % 2 == 0)
- {
- Html.RenderPartial("UpcomingEpisode", episode);
- }
-
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
- }
- }
-
-
- @DateTime.Today.AddDays(6).DayOfWeek
- |
-
- @for (int i = 0; i < Model.SixDays.Count; i++)
- {
- var episode = Model.SixDays[i];
-
- if (i % 2 == 0)
- {
- Html.RenderPartial("UpcomingEpisode", episode);
- }
-
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
- }
- }
-
-
- Later
- |
-
- @for (int i = 0; i < Model.Later.Count; i++)
- {
- var episode = Model.Later[i];
-
- if (i % 2 == 0)
- {
- Html.RenderPartial("UpcomingEpisode", episode);
- }
-
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
- }
- }
-
-
-@section Scripts{
-
-}
diff --git a/NzbDrone.Web/Views/Upcoming/UpcomingEpisode.cshtml b/NzbDrone.Web/Views/Upcoming/UpcomingEpisode.cshtml
deleted file mode 100644
index c1193d5fc..000000000
--- a/NzbDrone.Web/Views/Upcoming/UpcomingEpisode.cshtml
+++ /dev/null
@@ -1,61 +0,0 @@
-@using NzbDrone.Core.Model
-@using NzbDrone.Web.Helpers
-@using NzbDrone.Web.Models
-@model UpcomingEpisodeModel
-
-@{
- Layout = null;
-}
-
-
- @Html.ActionLink(Model.SeriesTitle, "Details", "Series", new { seriesId = Model.SeriesId }, null) |
- @Model.EpisodeNumbering |
- @Model.Title |
-
-
- @{ if(Model.AirDateTime >= DateTime.Today.AddDays(-1) && Model.AirDateTime <= DateTime.Today.AddDays(2))
- {
- @(Model.AirTime)
- }
- else
- {
- @(Model.AirDate + " at " + Model.AirTime)
- }
- }
- |
-
- @{
- string cellColourClass = String.Empty;
-
- if (Model.Status == "Missing")
- {
- cellColourClass = "episodeMissing";
- }
- }
-
- @{
- var statusTitle = Model.Status;
-
- if (Model.Status == "AirsToday")
- {
- statusTitle = "Airs today";
- }
-
- if (Model.Status == "NotAired")
- {
- statusTitle = "Not yet aired";
- }
- }
-
- @*Commands Column*@
-
-
- @Ajax.IconActionLink("icon-search gridAction", "", "Search", "Episode", new { EpisodeId = Model.EpisodeId }, null, new { title = "Search for episode" })
- |
-
-
-
-
- Overview: @Model.Overview
- |
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Update/Index.cshtml b/NzbDrone.Web/Views/Update/Index.cshtml
deleted file mode 100644
index b5583b20a..000000000
--- a/NzbDrone.Web/Views/Update/Index.cshtml
+++ /dev/null
@@ -1,61 +0,0 @@
-@model NzbDrone.Web.Models.UpdateModel
-@{ViewBag.Title = "Update";}
-
-@if (Model.UpdatePackage == null)
-{
-
- There are no updates available.
-}
-else
-{
-
- Available Update: @Model.UpdatePackage.Version
- @Ajax.ActionLink("Update", "StartUpdate", "Update", new AjaxOptions{ OnSuccess = "updateStarted" })
- @Html.HiddenFor(m => m.UpdatePackage.Version)
-
-}
-@if (Model.LogFiles.Count != 0)
-{
-
- Update Logs (@Model.LogFolder)
-
-
- foreach (var log in Model.LogFiles)
- {
-
- }
-}
-
-@section Scripts
-{
-
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Update/Post.cshtml b/NzbDrone.Web/Views/Update/Post.cshtml
deleted file mode 100644
index 196569f40..000000000
--- a/NzbDrone.Web/Views/Update/Post.cshtml
+++ /dev/null
@@ -1,19 +0,0 @@
-@model NzbDrone.Web.Models.PostUpgradeModel
-@{
- ViewBag.Title = "Post Upgrade";
-}
-
- @if (Model.Success)
- {
- Successfully upgraded to @(Model.CurrentVersion)
- }
-
- else{
- Failed to upgrade to @(Model.ExpectedVersion)
-
-
- }
diff --git a/NzbDrone.Web/Views/Update/ViewLog.cshtml b/NzbDrone.Web/Views/Update/ViewLog.cshtml
deleted file mode 100644
index 4f0a6e2d1..000000000
--- a/NzbDrone.Web/Views/Update/ViewLog.cshtml
+++ /dev/null
@@ -1,2 +0,0 @@
-@{ViewBag.Title = "Update Log";}
-@Html.Raw(ViewBag.Log)
diff --git a/NzbDrone.Web/Views/Web.config b/NzbDrone.Web/Views/Web.config
deleted file mode 100644
index a2c0c87cf..000000000
--- a/NzbDrone.Web/Views/Web.config
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/_ViewStart.cshtml b/NzbDrone.Web/Views/_ViewStart.cshtml
deleted file mode 100644
index 2de62418c..000000000
--- a/NzbDrone.Web/Views/_ViewStart.cshtml
+++ /dev/null
@@ -1,3 +0,0 @@
-@{
- Layout = "~/Views/Shared/_Layout.cshtml";
-}
diff --git a/NzbDrone.Web/Web.Debug.config b/NzbDrone.Web/Web.Debug.config
deleted file mode 100644
index 2c6dd51a7..000000000
--- a/NzbDrone.Web/Web.Debug.config
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Web.Release.config b/NzbDrone.Web/Web.Release.config
deleted file mode 100644
index fb7dec3f4..000000000
--- a/NzbDrone.Web/Web.Release.config
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/Web.config b/NzbDrone.Web/Web.config
deleted file mode 100644
index b3eb527ca..000000000
--- a/NzbDrone.Web/Web.config
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/favicon.ico b/NzbDrone.Web/favicon.ico
deleted file mode 100644
index ddfdd7a83..000000000
Binary files a/NzbDrone.Web/favicon.ico and /dev/null differ
diff --git a/NzbDrone.Web/log.config b/NzbDrone.Web/log.config
deleted file mode 100644
index 766a6f1c6..000000000
--- a/NzbDrone.Web/log.config
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Web/packages.config b/NzbDrone.Web/packages.config
deleted file mode 100644
index 13d011855..000000000
--- a/NzbDrone.Web/packages.config
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.ncrunchsolution b/NzbDrone.ncrunchsolution
index 13a4b6131..969da6dd4 100644
--- a/NzbDrone.ncrunchsolution
+++ b/NzbDrone.ncrunchsolution
@@ -1,12 +1,12 @@
1
- False
+ True
true
+ true
UseDynamicAnalysis
Disabled
Disabled
Disabled
- NzbDrone.Web\**.*
Run all tests automatically:BFRydWU=;Run all tests manually:BUZhbHNl;Run impacted tests automatically, others manually (experimental!):CklzSW1wYWN0ZWQ=;Run pinned tests automatically, others manually:CElzUGlubmVk
diff --git a/package.bat b/package.bat
index 3e6cdc8c7..fc70a3ba8 100644
--- a/package.bat
+++ b/package.bat
@@ -18,21 +18,6 @@ xcopy NzbDrone\bin\Release\*.* %TARGET%\ /E /V /I /Y
xcopy NzbDrone.Update\bin\Debug\*.* %TARGET%\NzbDrone.Update\ /E /V /I /Y
xcopy NzbDrone.Update\bin\Release\*.* %TARGET%\NzbDrone.Update\ /E /V /I /Y
-xcopy NzbDrone.Web\bin\*.* %TARGET%\NzbDrone.Web\bin\ /E /V /I /Y
-xcopy NzbDrone.Web\App_GlobalResources\*.* %TARGET%\NzbDrone.Web\App_GlobalResources\ /E /V /I /Y
-xcopy NzbDrone.Web\Content\*.* %TARGET%\NzbDrone.Web\Content\ /E /V /I /Y
-xcopy NzbDrone.Web\Scripts\*.* %TARGET%\NzbDrone.Web\Scripts\ /E /V /I /Y
-xcopy NzbDrone.Web\Views\*.* %TARGET%\NzbDrone.Web\Views\ /E /V /I /Y
-xcopy NzbDrone.Web\_backboneApp\*.* %TARGET%\NzbDrone.Web\_backboneApp\ /E /V /I /Y
-
-del %TARGET%\NzbDrone.Web\bin\*.xml /Q /F
-
-
-xcopy NzbDrone.Web\log.config %TARGET%\NzbDrone.Web\
-xcopy NzbDrone.Web\Global.asax %TARGET%\NzbDrone.Web\
-xcopy NzbDrone.Web\favicon.ico %TARGET%\NzbDrone.Web\
-xcopy NzbDrone.Web\web.config %TARGET%\NzbDrone.Web\
-
CD %PACKAGEROOT%