Update: New Device UI
This commit is contained in:
@@ -7,6 +7,7 @@ using Disco.BI;
|
||||
using Disco.BI.Extensions;
|
||||
using Disco.Models.UI.Device;
|
||||
using Disco.Web.Extensions;
|
||||
using Disco.Services.Plugins;
|
||||
|
||||
namespace Disco.Web.Models.Device
|
||||
{
|
||||
@@ -15,6 +16,9 @@ namespace Disco.Web.Models.Device
|
||||
public Disco.Models.Repository.Device Device { get; set; }
|
||||
|
||||
public List<Disco.Models.Repository.DeviceProfile> DeviceProfiles { get; set; }
|
||||
public Disco.Models.BI.Config.OrganisationAddress DeviceProfileDefaultOrganisationAddress { get; set; }
|
||||
public PluginFeatureManifest DeviceProfileCertificateProvider { get; set; }
|
||||
|
||||
public List<Disco.Models.Repository.DeviceBatch> DeviceBatches { get; set; }
|
||||
public Disco.Models.BI.Job.JobTableModel Jobs { get; set; }
|
||||
public List<Disco.Models.Repository.DeviceCertificate> Certificates { get; set; }
|
||||
@@ -28,7 +32,7 @@ namespace Disco.Web.Models.Device
|
||||
get
|
||||
{
|
||||
var list = new List<SelectListItem>();
|
||||
list.Add(new SelectListItem() { Selected = true, Value = string.Empty, Text = "Select a Document to Generate" });
|
||||
list.Add(new SelectListItem() { Selected = true, Value = string.Empty, Text = "Generate Document" });
|
||||
list.AddRange(this.DocumentTemplates.ToSelectListItems());
|
||||
return list;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user