@model List @using NzbDrone.Core.Repository @section TitleContent{ Add Series } @section MainContent{ @{ Html.Telerik().Window() .Name("Window") .Title("Add New Series") .Modal(true) .Buttons(b => b.Close()) .Width(500) .Height(200) .Visible(false) .Draggable(true) .Resizable(resizing => resizing.Enabled(false)) .LoadContentFrom("AddNew", "AddSeries") .Render(); } @{ Html.Telerik().PanelBar() .Name("RootDirPanel") .HtmlAttributes(new { style = "margin: 0px;" }) .ExpandMode(PanelBarExpandMode.Multiple) .Items(panelItem => { panelItem.Add() .Text("Root Directories") .ImageUrl("~/Content/Images/VideoFolder.png") .Selected((bool)ViewData["ShowRootDirs"]) .Expanded((bool)ViewData["ShowRootDirs"]) .Content(@
Add New Profile

Add New Root Directory

@foreach (var root in Model) { Html.RenderAction("GetRootDirView", root); }
); }).Render(); }
@Html.Telerik().DropDownList().Name("masterDropbox").BindTo((SelectList) ViewData["qualities"]).HtmlAttributes( new {style = "width: 100px; margin-left:224px;"}).ClientEvents(events => events.OnChange("masterChanged"))
@{ Html.RenderAction("AddExisting", "AddSeries"); }
}