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