@model List @using NzbDrone.Web.Models @section TitleContent{ Pending Processing } @section ActionMenu{ @{Html.Telerik().Menu().Name("historyMenu").Items(items => { items.Add().Text("Trim History").Action("Trim", "History"); items.Add().Text("Purge History").Action("Purge", "History"); }).Render();} } @section MainContent{
@{Html.Telerik().Grid().Name("PendingProcessingGrid") .TableHtmlAttributes(new { @class = "Grid" }) .Columns(columns => { columns.Bound(c => c.Name); columns.Bound(c => c.Created).Title("Creation Date"); columns.Bound(c => c.Path).Title("") .ClientTemplate("'); return false;\">Rename"); }) .DetailView(detailView => detailView.ClientTemplate( "
<#= Files #>
" )) .DataBinding(data => data.Ajax().Select("_PendingProcessingAjaxBinding", "System")) .Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.Name).Ascending()).Enabled(true)) .Pageable( c => c.PageSize(20).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.NextPrevious)) .ClientEvents(clientEvents => { clientEvents.OnDataBinding("grid_bind"); clientEvents.OnDataBound("grid_bound"); }) .Render();} Loading Loading...
}