open-nomad/ui/app/templates/components/job-deployment/deployment-allocations.hbs
Buck Doyle 2998deac50
Convert to angle bracket invocation (#8075)
This is mostly a direct application of the ember-angle-brackets-codemod.
I manually restored newlines in multi-line component invocations, usually
preserving file line length except for now-non-positional link-to @route.

I needed to rename task to taskState in some cases to avoid Ember
Concurrency naming conflicts.
2020-06-01 14:03:56 -05:00

28 lines
739 B
Handlebars

<div data-test-deployment-allocations class="boxed-section">
<div class="boxed-section-head">
Allocations
</div>
<div class="boxed-section-body is-full-bleed">
<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>
</div>
</div>