1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/NzbDrone.Web/Views/Series/Unmapped.aspx
2011-02-03 16:48:09 -08:00

29 lines
1.1 KiB
Plaintext

<%@ 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">
Unmapped
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h2>
The following folders aren't currently mapped to any Series.</h2>
<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")
.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>