Show print runtime
This commit is contained in:
parent
74f635fcf6
commit
dd6f6ac59f
1 changed files with 7 additions and 1 deletions
|
@ -18,8 +18,14 @@
|
|||
{% endif %}
|
||||
<div class="job-filename u-flex">
|
||||
<label for="filename">File</label>
|
||||
<span name="filename">{{ctx.db.fetch_file(ctx.uid, job.file_id).filename}}</span>
|
||||
<span name="filename">{{ctx.db.fetch_file(ctx.uid, job.file_id).filename or "it's a secret"}}</span>
|
||||
</div>
|
||||
{% if job.started_at %}
|
||||
<div class="job-runtime u-flex">
|
||||
<label for="runtime">Runtime</label>
|
||||
<span name="Runtime">{{ (datetime.now() - datetime.fromisoformat(job.started_at)) }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="controls u-flex u-ml-auto">
|
||||
{% if ctx.uid %}
|
||||
|
|
Loading…
Reference in a new issue