Series SubMenu moved to partial view.
This commit is contained in:
parent
df041eb300
commit
24f4f608e5
|
@ -0,0 +1,13 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
|
||||||
|
namespace NzbDrone.Web.Models
|
||||||
|
{
|
||||||
|
public class AddSeriesModel
|
||||||
|
{
|
||||||
|
public string SingleSeries { get; set; }
|
||||||
|
public string SeriesRoot { get; set; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
|
||||||
|
|
||||||
|
<%@ Import Namespace="Telerik.Web.Mvc.UI" %>
|
||||||
|
|
||||||
|
<% Html.Telerik().Menu().Name("telerikGrid").Items(items =>
|
||||||
|
{
|
||||||
|
items.Add().Text("View Unmapped Folders").Action("Unmapped", "Series");
|
||||||
|
items.Add().Text("Sync With Disk").Action("Sync", "Series");
|
||||||
|
items.Add().Text("Start RSS Sync").Action("RssSync", "Series");
|
||||||
|
items.Add().Text("Rename All").Action("RenameAll", "Series");
|
||||||
|
items.Add().Text("Add Series").Action("Add", "Series");
|
||||||
|
}).Render();
|
||||||
|
%>
|
|
@ -7,11 +7,7 @@
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Menu" ContentPlaceHolderID="ActionMenu" runat="server">
|
<asp:Content ID="Menu" ContentPlaceHolderID="ActionMenu" runat="server">
|
||||||
<%
|
<%
|
||||||
Html.Telerik().Menu().Name("telerikGrid").Items(items => { items.Add().Text("View Unmapped Folders").Action("Unmapped", "Series");
|
Html.RenderPartial("SubMenu");
|
||||||
items.Add().Text("Sync With Disk").Action("Sync", "Series");
|
|
||||||
items.Add().Text("Start RSS Sync").Action("RssSync", "Series");
|
|
||||||
items.Add().Text("Rename All").Action("RenameAll", "Series");
|
|
||||||
}).Render();
|
|
||||||
%>
|
%>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||||
|
|
Loading…
Reference in New Issue