more root dir UI cleanup

This commit is contained in:
kay.one 2011-07-01 00:23:07 -07:00
parent c65b0a68b0
commit 9deea44c87
11 changed files with 1181 additions and 285 deletions

View file

@ -242,10 +242,15 @@ namespace NzbDrone.Web.Controllers
}
public ActionResult RootDir()
public ActionResult RootList()
{
var rootDir = _rootFolderProvider.GetAll().Select(c => c.Path);
return PartialView("RootDir", rootDir);
return PartialView("RootList", rootDir);
}
public ActionResult RootDir()
{
return PartialView("RootDir");
}
public JsonResult DeleteRootDir(string path)