2011-07-11 06:53:34 +02:00
|
|
|
@using System.Collections
|
2011-08-22 02:48:37 +02:00
|
|
|
@using NzbDrone.Web.Models
|
2011-07-11 06:53:34 +02:00
|
|
|
@model IEnumerable<NzbDrone.Core.Repository.JobDefinition>
|
2011-04-22 07:46:47 +02:00
|
|
|
@section TitleContent{
|
|
|
|
Jobs
|
|
|
|
}
|
|
|
|
@section MainContent{
|
|
|
|
@{Html.Telerik().Grid(Model).Name("Grid")
|
2011-07-11 06:53:34 +02:00
|
|
|
.Render();}
|
|
|
|
|
|
|
|
Items currently in queue
|
|
|
|
|
2011-08-22 02:48:37 +02:00
|
|
|
@{Html.Telerik().Grid((IEnumerable<JobQueueItemModel>)ViewData["Queue"]).Name("QueueGrid")
|
|
|
|
.Columns(c => c.Bound(g => g.Name).Title("Type").Width(100))
|
|
|
|
.Columns(c => c.Bound(g => g.TargetId).Title("Target"))
|
|
|
|
.Columns(c => c.Bound(g => g.SecondaryTargetId).Title("Secondary Target"))
|
2011-07-11 06:53:34 +02:00
|
|
|
.Render();}
|
2011-04-22 07:46:47 +02:00
|
|
|
}
|