2011-03-07 07:48:47 +00:00
|
|
|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
|
2011-04-01 06:36:34 +00:00
|
|
|
<%@ Import Namespace="NzbDrone.Web.Controllers" %>
|
2011-04-10 02:44:01 +00:00
|
|
|
<%
|
|
|
|
Html.Telerik().Menu().Name("telerikGrid").Items(items =>
|
|
|
|
{
|
|
|
|
items.Add().Text("Add Series")
|
|
|
|
.Items(
|
|
|
|
subItem =>
|
|
|
|
subItem.Add().Text("New Series").Action
|
|
|
|
<AddSeriesController>(c => c.AddNew()))
|
|
|
|
.Items(
|
|
|
|
subItem =>
|
|
|
|
subItem.Add().Text("Existing Series").Action
|
|
|
|
<AddSeriesController>(c => c.AddExisting()));
|
2011-03-29 00:12:48 +00:00
|
|
|
|
2011-04-10 02:44:01 +00:00
|
|
|
items.Add().Text("Start RSS Sync").Action<SeriesController>(
|
|
|
|
c => c.RssSync());
|
|
|
|
items.Add().Text("Rename All").Action<SeriesController>(
|
|
|
|
c => c.RenameAll());
|
|
|
|
}).Render();
|
2011-03-07 07:48:47 +00:00
|
|
|
%>
|