2018-01-05 20:59:36 +00:00
|
|
|
<div data-test-deployment-allocations class="boxed-section">
|
2017-09-19 14:47:10 +00:00
|
|
|
<div class="boxed-section-head">
|
|
|
|
Allocations
|
|
|
|
</div>
|
2022-11-22 14:19:16 +00:00
|
|
|
<div class="boxed-section-body {{if this.job.allocations.length "is-full-bleed"}}">
|
|
|
|
{{#if @deployment.allocations.length}}
|
|
|
|
<ListTable @source={{@deployment.allocations}} @class="allocations" as |t|>
|
|
|
|
<t.head>
|
|
|
|
<th class="is-narrow"></th>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>Task Group</th>
|
|
|
|
<th>Created</th>
|
|
|
|
<th>Modified</th>
|
|
|
|
<th>Status</th>
|
|
|
|
<th>Version</th>
|
|
|
|
<th>Node</th>
|
|
|
|
<th>Volume</th>
|
|
|
|
<th>CPU</th>
|
|
|
|
<th>Memory</th>
|
|
|
|
</t.head>
|
|
|
|
<t.body as |row|>
|
|
|
|
<AllocationRow
|
|
|
|
data-test-deployment-allocation
|
|
|
|
@allocation={{row.model}}
|
|
|
|
@context="job"
|
|
|
|
/>
|
|
|
|
</t.body>
|
|
|
|
</ListTable>
|
|
|
|
{{else}}
|
|
|
|
<div class="empty-message" data-test-empty-recent-allocations>
|
|
|
|
<h3
|
|
|
|
class="empty-message-headline"
|
|
|
|
data-test-empty-recent-allocations-headline
|
|
|
|
>
|
|
|
|
No Allocations
|
|
|
|
</h3>
|
|
|
|
<p
|
|
|
|
class="empty-message-body"
|
|
|
|
data-test-empty-recent-allocations-message
|
|
|
|
>
|
|
|
|
No allocations have been placed.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2017-09-19 14:47:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|