diff --git a/src/routes/settings/jobs/+page.svelte b/src/routes/settings/jobs/+page.svelte index ed0dfd3..fbb26be 100644 --- a/src/routes/settings/jobs/+page.svelte +++ b/src/routes/settings/jobs/+page.svelte @@ -1,9 +1,75 @@
No background jobs configured
-{row.description}
+ {/if} + +- {job.description} -
- {/if} -| - Schedule - | -- Last Run - | -- Next Run - | -
|---|---|---|
-
- {job.scheduleDisplay}
-
- |
-
-
-
-
-
-
-
- {#if job.last_run_duration}
-
- {formatDateTime(job.last_run_at)}
-
- {#if job.last_run_status === 'success'}
-
-
- Duration:
- {/if}
- {#if job.last_run_error}
- {formatDuration(job.last_run_duration)}
-
-
- {/if}
- |
-
-
-
-
-
-
- {getRelativeTime(job.next_run_at)}
-
-
- {formatDateTime(job.next_run_at)}
-
- |
-
| - Job - | -- Status - | -- Started - | -- Duration - | -- Output - | -
|---|---|---|---|---|
| - {formatJobName(run.job_name)} - | - - -
- {#if run.status === 'success'}
-
- |
-
-
-
-
-
-
- {getRelativeTime(run.started_at)}
-
-
- {formatDateTime(run.started_at)}
-
- |
-
-
-
-
- {formatDuration(run.duration_ms)}
-
- |
-
-
-
- {#if run.error}
-
- {run.error}
-
- {:else if run.output}
- {run.output}
- {:else}
- -
- {/if}
- |
-
| - No job runs yet - | -