<%- include("partials/header") %>

Queued

    <% if (queued.length === 0) { %>
  • No queued jobs
  • <% } %> <% queued.forEach(job => { %>
  • <%= job.filename %>
    <%= job.url %>
    <%= new Date(job.created_at).toLocaleString() %>
  • <% }) %>

Processing

    <% if (processing.length === 0) { %>
  • Nothing processing
  • <% } %> <% processing.forEach(job => { %>
  • <%= job.filename %>
    <%= job.url %>
    <%= job.started_at ? 'Started' : 'Queued' %>: <%= new Date(job.started_at || job.created_at).toLocaleString() %>
    <% if (job.fileSize) { %> Downloaded: <%= job.fileSize %> <% } %> <% if (job.output_log) { %>
    Live Log
    <%= job.output_log %>
    <% } %>
  • <% }) %>

Done

    <% if (finished.length === 0) { %>
  • No completed jobs
  • <% } %> <% finished.forEach(job => { %>
  • <%= job.filename %>
    <%= new Date(job.finished_at).toLocaleString() %>
    <% if (job.fileSize) { %> Size: <%= job.fileSize %>
    <% } %> <% if (job.output_log) { %>
    Show Log
    <%= job.output_log %>
    <% } %>
  • <% }) %>

Failed

    <% if (failed.length === 0) { %>
  • No failed jobs
  • <% } %> <% failed.forEach(job => { %>
  • <%= job.filename %>
    <%= new Date(job.failed_at).toLocaleString() %>
    <% if (job.output_log) { %>
    Show Error Log
    <%= job.output_log %>
    <% } %>
  • <% }) %>
<%- include("partials/footer") %>