mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
JquerySimpleDropdown menu added, not sure of full usage yet.
Fixed SettingsController for Quality Config.
This commit is contained in:
parent
9f0e512f5f
commit
764f67f8e8
11 changed files with 119 additions and 51 deletions
|
@ -1,41 +0,0 @@
|
|||
//using System;
|
||||
//using System.Collections.Generic;
|
||||
//using System.Linq;
|
||||
//using System.Threading;
|
||||
//using System.Web;
|
||||
//using System.Web.Mvc;
|
||||
//using NzbDrone.Core.Providers;
|
||||
//using NzbDrone.Web.Models;
|
||||
|
||||
//namespace NzbDrone.Web.Controllers
|
||||
//{
|
||||
// [HandleError]
|
||||
// public class SettingsController : Controller
|
||||
// {
|
||||
// //
|
||||
// // GET: /Settings/
|
||||
// private IConfigProvider _configProvider;
|
||||
|
||||
// public SettingsController(IConfigProvider configProvider)
|
||||
// {
|
||||
// _configProvider = configProvider;
|
||||
// }
|
||||
|
||||
// public ActionResult Index()
|
||||
// {
|
||||
// return View(new SettingsModel() { TvFolder = _configProvider.SeriesRoot });
|
||||
// }
|
||||
|
||||
// [HttpPost]
|
||||
// public ActionResult Index(SettingsModel model)
|
||||
// {
|
||||
// if (ModelState.IsValid)
|
||||
// {
|
||||
// _configProvider.SeriesRoot = model.TvFolder;
|
||||
// //return RedirectToAction("index");
|
||||
// }
|
||||
// return RedirectToAction("index", "series");
|
||||
// }
|
||||
|
||||
// }
|
||||
//}
|
|
@ -95,7 +95,7 @@ namespace NzbDrone.Web.Controllers
|
|||
|
||||
public ActionResult Quality()
|
||||
{
|
||||
ViewData["viewName"] = "Downloads";
|
||||
ViewData["viewName"] = "Quality";
|
||||
|
||||
var userProfiles = _qualityProvider.GetProfiles().Where(q => q.UserProfile).ToList();
|
||||
var profiles = _qualityProvider.GetProfiles().Where(q => q.UserProfile == false).ToList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue