27c21175d7
Migrate much of BI to Services. Added Wireless Profile Provider plugin feature. Added Certificate Authority Provider plugin feature. Modified Certificate Provider plugin feature. Database migration v17, for Device Profiles. Enrolment Client Updated to support CA Certificates, Wireless Profiles and Hardware Info. New Client Enrolment Protocol to support new features. Plugin Manifest Generator added to main solution. Improved AD search performance.
36 lines
1.2 KiB
C#
36 lines
1.2 KiB
C#
using Disco.Models.Services.Job;
|
|
using Disco.Models.Services.Jobs.JobLists;
|
|
using Disco.Models.UI.Job;
|
|
using Disco.Web.Extensions;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Web.Mvc;
|
|
|
|
namespace Disco.Web.Models.Job
|
|
{
|
|
public class ShowModel : JobShowModel
|
|
{
|
|
public Disco.Models.Repository.Job Job { get; set; }
|
|
|
|
public TimeSpan? LongRunning { get; set; }
|
|
|
|
public List<Disco.Models.Repository.DocumentTemplate> AvailableDocumentTemplates { get; set; }
|
|
public List<Disco.Models.Repository.JobSubType> UpdatableJobSubTypes { get; set; }
|
|
public List<Disco.Models.Repository.JobQueue> AvailableQueues { get; set; }
|
|
|
|
public List<SelectListItem> DocumentTemplatesSelectListItems
|
|
{
|
|
get
|
|
{
|
|
var list = new List<SelectListItem>();
|
|
list.Add(new SelectListItem() { Selected = true, Value = string.Empty, Text = "Generate Document" });
|
|
list.AddRange(this.AvailableDocumentTemplates.ToSelectListItems());
|
|
return list;
|
|
}
|
|
}
|
|
|
|
|
|
public LocationModes LocationMode { get; set; }
|
|
public List<JobLocationReference> LocationOptions { get; set; }
|
|
}
|
|
} |