Feature: Job Queues
Also UI style, theme and element changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Disco.Models.Authorization;
|
||||
using Disco.Models.Services.Authorization;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Disco.Models.Authorization;
|
||||
using Disco.Models.Services.Authorization;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
@@ -11,11 +11,7 @@ namespace Disco.Models.UI.Config.DocumentTemplate
|
||||
Disco.Models.Repository.DocumentTemplate DocumentTemplate { get; set; }
|
||||
int StoredInstanceCount { get; set; }
|
||||
|
||||
List<string> Types { get; set; }
|
||||
List<string> SubTypes { get; set; }
|
||||
|
||||
List<Disco.Models.Repository.JobType> JobTypes { get; set; }
|
||||
List<Disco.Models.Repository.JobSubType> JobSubTypes { get; set; }
|
||||
|
||||
List<string> Scopes { get; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Disco.Models.UI.Config.JobQueue
|
||||
{
|
||||
public interface ConfigJobQueueCreateModel : BaseUIModel
|
||||
{
|
||||
Repository.JobQueue JobQueue { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using Disco.Models.Services.Jobs.JobQueues;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Disco.Models.UI.Config.JobQueue
|
||||
{
|
||||
public interface ConfigJobQueueIndexModel : BaseUIModel
|
||||
{
|
||||
List<IJobQueueToken> Tokens { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using Disco.Models.Services.Jobs.JobQueues;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Disco.Models.UI.Config.JobQueue
|
||||
{
|
||||
public interface ConfigJobQueueShowModel : BaseUIModel
|
||||
{
|
||||
IJobQueueToken Token { get; set; }
|
||||
|
||||
int OpenJobCount { get; set; }
|
||||
int TotalJobCount { get; set; }
|
||||
|
||||
List<Disco.Models.Repository.JobType> JobTypes { get; set; }
|
||||
|
||||
bool CanDelete { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user