blob: c2c2d6b00024cb7da4f188f109dda802157f8901 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
{%extends "background-jobs/base.html"%}
{%from "flash_messages.html" import flash_all_messages%}
{%from "background-jobs/macro-display-job-details.html" import display_job_details%}
{%block title%}Background Jobs{%endblock%}
{%block pagetitle%}Background Jobs{%endblock%}
{%block breadcrumbs%}
{{super()}}
<li class="breadcrumb-item">
<a href="{{url_for('background-jobs.job_summary', job_id=job.job_id)}}">
summary
</a>
</li>
{%endblock%}
{%block contents%}
{{flash_all_messages()}}
<div class="row">
<h2 class="heading">background jobs: summary</h2>
{{display_job_details(job, display_datetime)}}
</div>
<div class="row">
{%if view_under_construction%}
<div class="col">
<a href="#"
class="btn btn-info not-implemented"
title="Update the expiry date and time for this job.">update expiry</a>
</div>
{%if job.metadata.status in ("stopped",)%}
<div class="col">
<a href="#"
class="btn btn-warning not-implemented"
title="Create a new copy of this job, and run the copy.">Run Copy</a>
</div>
{%endif%}
{%endif%}
<div class="col">
<a href="{{url_for('background-jobs.delete_single', job_id=job.job_id)}}"
class="btn btn-danger"
title="Delete this job.">delete</a>
</div>
</div>
<div class="row">
<h3 class="subheading">Script Errors and Logging</h3>
<pre>{{job["stderr"]}}</pre>
</div>
<div class="row">
<h3 class="subheading">Script Output</h3>
<pre>{{job["stdout"]}}</pre>
</div>
{%endblock%}
{%block sidebarcontents%}
<div class="row">
<h6 class="subheading">What is this?</h6>
</div>
<div class="row">
<p>This page shows the results of running job '{{job.job_id}}'.</p>
</div>
{{super()}}
{%endblock%}
|