mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-30 19:56:54 +00:00
28 lines
1.1 KiB
Text
28 lines
1.1 KiB
Text
<%@ 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>
|