18 lines
514 B
Plaintext
18 lines
514 B
Plaintext
component EditorJobs(jobs []*utils.JobInfo, jobLogs []string, url string, user *arn.User)
|
|
EditorTabs(url, user)
|
|
|
|
h1.mountable Background jobs
|
|
|
|
.buttons
|
|
each job in jobs
|
|
button.background-job.mountable.action(data-action="startJob", data-trigger="click", data-job=job.Name, data-running=job.IsRunning())
|
|
if job.IsRunning()
|
|
Icon("hourglass-start")
|
|
else
|
|
Icon("rocket")
|
|
|
|
span= job.Name
|
|
|
|
footer.footer
|
|
for i := 0; i < len(jobLogs); i++
|
|
p.mountable= jobLogs[len(jobLogs) - 1 - i] |