You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
478 B
18 lines
478 B
mixin renderJobQueueJobList (jobQueue, jobList)
|
|
if !Array.isArray(jobList) || (jobList.length === 0)
|
|
div No jobs
|
|
else
|
|
table.uk-table.uk-table-small
|
|
thead
|
|
th ID
|
|
th Name
|
|
th Attempts
|
|
th Progress
|
|
tbody
|
|
each job in jobList
|
|
tr
|
|
td= job.id
|
|
td
|
|
a(href=`/admin/job-queue/${jobQueue.name}/${job.id}`)= job.name
|
|
td= job.attemptsMade
|
|
td #{job.progress()}%
|
|
|