|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<List<String>>" %>
|
|
|
|
|
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<List<NzbDrone.Web.Models.MappingModel>>" %>
|
|
|
|
|
|
|
|
|
|
<%@ Import Namespace="Telerik.Web.Mvc.UI" %>
|
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|
|
|
@ -10,13 +10,19 @@
|
|
|
|
|
<h3>
|
|
|
|
|
Please Re-sync your folders. If the problem persists try renaming your folders to
|
|
|
|
|
something more similar to the name of series they contain.</h3>
|
|
|
|
|
<%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Html.Telerik().Grid(Model)
|
|
|
|
|
.Name("Grid")
|
|
|
|
|
.Columns(columns => columns.Bound(o => o).Title("Folder"))
|
|
|
|
|
.Sortable(sort => sort.OrderBy(order => order.Add(o => o).Ascending()).Enabled(false))
|
|
|
|
|
.Render();
|
|
|
|
|
<%= Html.Telerik().Grid(Model)
|
|
|
|
|
.Name("Grid")
|
|
|
|
|
.DataKeys(dataKeys => dataKeys.Add(c => c.Id))
|
|
|
|
|
.DataBinding(dataBinding => dataBinding
|
|
|
|
|
//Server binding
|
|
|
|
|
.Ajax()
|
|
|
|
|
.Select("UnMapped", "Series")
|
|
|
|
|
.Update("Update", "Home")
|
|
|
|
|
)
|
|
|
|
|
.Columns(columns =>
|
|
|
|
|
{
|
|
|
|
|
columns.Bound(c => c.Path);
|
|
|
|
|
columns.Command(commands => commands.Edit());
|
|
|
|
|
})
|
|
|
|
|
%>
|
|
|
|
|
</asp:Content>
|
|
|
|
|