2020-06-01 19:03:56 +00:00
|
|
|
<JobPage::Parts::Body @job={{job}}>
|
|
|
|
<JobPage::Parts::Error @errorMessage={{errorMessage}} @onDismiss={{action "clearErrorMessage"}} />
|
2018-04-19 17:18:16 +00:00
|
|
|
|
2020-06-01 19:03:56 +00:00
|
|
|
<JobPage::Parts::Title @job={{job}} @title={{job.trimmedName}} @handleError={{action "handleError"}} />
|
2018-01-26 00:57:58 +00:00
|
|
|
|
|
|
|
<div class="boxed-section job-stats">
|
|
|
|
<div class="boxed-section-body">
|
|
|
|
<span data-test-job-stat="type"><strong>Type:</strong> {{job.type}} | </span>
|
|
|
|
<span data-test-job-stat="priority"><strong>Priority:</strong> {{job.priority}} </span>
|
|
|
|
<span data-test-job-stat="parent">
|
|
|
|
<strong>Parent:</strong>
|
2020-06-01 19:03:56 +00:00
|
|
|
<LinkTo @route="jobs.job" @model={{job.parent}} @query={{hash jobNamespace=job.parent.namespace.name}}>
|
2018-01-26 00:57:58 +00:00
|
|
|
{{job.parent.name}}
|
2020-06-01 19:03:56 +00:00
|
|
|
</LinkTo>
|
2018-01-26 00:57:58 +00:00
|
|
|
</span>
|
|
|
|
{{#if (and job.namespace system.shouldShowNamespaces)}}
|
|
|
|
<span data-test-job-stat="namespace"> | <strong>Namespace:</strong> {{job.namespace.name}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-06-01 19:03:56 +00:00
|
|
|
<JobPage::Parts::Summary @job={{job}} />
|
2018-01-26 00:57:58 +00:00
|
|
|
|
2020-06-01 19:03:56 +00:00
|
|
|
<JobPage::Parts::PlacementFailures @job={{job}} />
|
2018-01-26 00:57:58 +00:00
|
|
|
|
2020-06-01 19:03:56 +00:00
|
|
|
<JobPage::Parts::TaskGroups
|
|
|
|
@job={{job}}
|
|
|
|
@sortProperty={{sortProperty}}
|
|
|
|
@sortDescending={{sortDescending}}
|
|
|
|
@gotoTaskGroup={{gotoTaskGroup}} />
|
2018-01-26 00:57:58 +00:00
|
|
|
|
2020-06-01 19:03:56 +00:00
|
|
|
<JobPage::Parts::RecentAllocations @job={{job}} />
|
2018-07-19 23:08:51 +00:00
|
|
|
|
2018-01-26 00:57:58 +00:00
|
|
|
<div class="boxed-section">
|
|
|
|
<div class="boxed-section-head">Payload</div>
|
|
|
|
<div class="boxed-section-body is-dark">
|
|
|
|
{{#if payloadJSON}}
|
2020-06-01 19:03:56 +00:00
|
|
|
<JsonViewer @json={{payloadJSON}} />
|
2018-01-26 00:57:58 +00:00
|
|
|
{{else}}
|
|
|
|
<pre class="cli-window is-elastic"><code>{{payload}}</code></pre>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-01 19:03:56 +00:00
|
|
|
</JobPage::Parts::Body>
|