2022-01-03 14:54:37 +00:00
|
|
|
<JobPage @job={{@job}} as |jobPage|>
|
|
|
|
<jobPage.ui.Body>
|
|
|
|
<jobPage.ui.Error />
|
|
|
|
<jobPage.ui.Title @title={{@job.trimmedName}} />
|
|
|
|
<jobPage.ui.StatsBox>
|
|
|
|
<:before-namespace>
|
|
|
|
<span class="pair" data-test-job-stat="parent">
|
|
|
|
<span class="term">
|
|
|
|
Parent
|
|
|
|
</span>
|
|
|
|
<LinkTo
|
|
|
|
@route="jobs.job"
|
|
|
|
@model={{@job.parent}}
|
|
|
|
>
|
2022-01-05 17:46:37 +00:00
|
|
|
{{@job.parent.name}}
|
2022-01-03 14:54:37 +00:00
|
|
|
</LinkTo>
|
|
|
|
</span>
|
|
|
|
</:before-namespace>
|
|
|
|
</jobPage.ui.StatsBox>
|
2022-01-03 17:35:00 +00:00
|
|
|
<jobPage.ui.JobClientStatusSummary />
|
2022-01-03 14:54:37 +00:00
|
|
|
<jobPage.ui.Summary @forceCollapsed={{@job.hasClientStatus}} />
|
|
|
|
<jobPage.ui.PlacementFailures />
|
2022-01-03 16:35:41 +00:00
|
|
|
<jobPage.ui.TaskGroups @sortProperty={{@sortProperty}} @sortDescending={{@sortDescending}} />
|
2022-01-03 14:54:37 +00:00
|
|
|
<jobPage.ui.RecentAllocations />
|
|
|
|
<div class="boxed-section">
|
2022-06-24 19:03:08 +00:00
|
|
|
{{#if @job.meta}}
|
2022-01-03 14:54:37 +00:00
|
|
|
<jobPage.ui.Meta />
|
2018-01-26 00:57:58 +00:00
|
|
|
{{else}}
|
2022-06-24 19:03:08 +00:00
|
|
|
<div class="boxed-section-head">
|
|
|
|
Meta
|
|
|
|
</div>
|
2022-01-03 14:54:37 +00:00
|
|
|
<div class="boxed-section-body">
|
|
|
|
<div data-test-empty-meta-message class="empty-message">
|
|
|
|
<h3 class="empty-message-headline">
|
|
|
|
No Meta Attributes
|
|
|
|
</h3>
|
|
|
|
<p class="empty-message-body">
|
|
|
|
This job is configured with no meta attributes.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-01-26 00:57:58 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-01-03 14:54:37 +00:00
|
|
|
<div class="boxed-section">
|
|
|
|
<div class="boxed-section-head">
|
|
|
|
Payload
|
|
|
|
</div>
|
|
|
|
<div class="boxed-section-body is-dark">
|
|
|
|
{{#if this.payloadJSON}}
|
|
|
|
<JsonViewer @json={{this.payloadJSON}} />
|
|
|
|
{{else}}
|
|
|
|
<pre class="cli-window is-elastic">
|
|
|
|
<code>
|
|
|
|
{{this.payload}}
|
|
|
|
</code>
|
|
|
|
</pre>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</jobPage.ui.Body>
|
|
|
|
</JobPage>
|