From 852a141c215a203d328ecf54c6e1d32b297dca43 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Wed, 30 Nov 2011 21:04:44 -0800 Subject: [PATCH 1/2] Settings is now a single page with tabs. --- .../Controllers/SettingsController.cs | 2 +- NzbDrone.Web/NzbDrone.Web.csproj | 6 + NzbDrone.Web/Views/Settings/Index.cshtml | 24 +++ NzbDrone.Web/Views/Settings/Indexers.cshtml | 203 +++++++++--------- NzbDrone.Web/Views/Settings/Naming.cshtml | 111 ++++------ .../Views/Settings/Notifications.cshtml | 175 +++++++-------- NzbDrone.Web/Views/Settings/Quality.cshtml | 175 ++++++++------- NzbDrone.Web/Views/Settings/Sabnzbd.cshtml | 51 ++--- NzbDrone.Web/Views/Settings/System.cshtml | 23 +- NzbDrone.Web/Views/Shared/_Layout.cshtml | 44 +--- .../Views/Shared/_RefrenceLayout.cshtml | 37 ++++ 11 files changed, 418 insertions(+), 433 deletions(-) create mode 100644 NzbDrone.Web/Views/Settings/Index.cshtml create mode 100644 NzbDrone.Web/Views/Shared/_RefrenceLayout.cshtml diff --git a/NzbDrone.Web/Controllers/SettingsController.cs b/NzbDrone.Web/Controllers/SettingsController.cs index 4d1390378..51c8e3cff 100644 --- a/NzbDrone.Web/Controllers/SettingsController.cs +++ b/NzbDrone.Web/Controllers/SettingsController.cs @@ -68,7 +68,7 @@ namespace NzbDrone.Web.Controllers public ActionResult Index() { - return RedirectToAction("Indexers"); + return View(); } public ActionResult Indexers() diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj index e41fcd79c..3f9a9223d 100644 --- a/NzbDrone.Web/NzbDrone.Web.csproj +++ b/NzbDrone.Web/NzbDrone.Web.csproj @@ -518,6 +518,12 @@ EditorLocalization.en-US.designer.cs + + + + + +