2011-03-07 08:48:47 +01:00
|
|
|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
|
2011-04-01 08:36:34 +02:00
|
|
|
<%@ Import Namespace="NzbDrone.Web.Controllers" %>
|
2011-04-10 04:44:01 +02: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 02:12:48 +02:00
|
|
|
|
2011-04-10 04:44:01 +02: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 08:48:47 +01:00
|
|
|
%>
|