1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-28 02:37:40 +00:00
Sonarr/NzbDrone.Web/Views/Series/index.aspx

34 lines
1.5 KiB
Text
Raw Normal View History

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<NzbDrone.Core.Repository.Series>>" %>
2010-09-24 02:39:28 +00:00
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
2010-10-02 19:01:43 +00:00
Series
</asp:Content>
<asp:Content ID="Menu" ContentPlaceHolderID="ActionMenu" runat="server">
2010-10-02 19:01:43 +00:00
<%
2011-03-07 07:48:47 +00:00
Html.RenderPartial("SubMenu");
2011-04-10 02:44:01 +00:00
%>
2010-09-24 02:39:28 +00:00
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
2010-10-02 19:01:43 +00:00
<%
Html.Telerik().Grid(Model)
2011-04-10 02:44:01 +00:00
.Name("Grid")
.Columns(columns =>
{
columns.Template(c =>
{
%>
<%:Html.ActionLink(c.Title ?? "New Series",
"Details",
new {seriesId = c.SeriesId})%>
2010-10-02 19:01:43 +00:00
<%
2011-04-10 02:44:01 +00:00
}).Title("Title");
columns.Bound(o => o.Seasons.Count).Title("Seasons");
columns.Bound(o => o.QualityProfile.Name).Title("Quality");
columns.Bound(o => o.Status);
columns.Bound(o => o.AirsDayOfWeek);
columns.Bound(o => o.Path);
})
.Sortable(sort => sort.OrderBy(order => order.Add(o => o.Title).Ascending()).Enabled(false))
.Render();
%>
2010-09-24 02:39:28 +00:00
</asp:Content>