github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/templates/components/job-deployment/deployment-allocations.hbs (about)

     1  <div data-test-deployment-allocations class="boxed-section">
     2    <div class="boxed-section-head">
     3      Allocations
     4    </div>
     5    <div class="boxed-section-body {{if this.job.allocations.length "is-full-bleed"}}">
     6      {{#if @deployment.allocations.length}}
     7        <ListTable @source={{@deployment.allocations}} @class="allocations" as |t|>
     8          <t.head>
     9            <th class="is-narrow"></th>
    10            <th>ID</th>
    11            <th>Task Group</th>
    12            <th>Created</th>
    13            <th>Modified</th>
    14            <th>Status</th>
    15            <th>Version</th>
    16            <th>Node</th>
    17            <th>Volume</th>
    18            <th>CPU</th>
    19            <th>Memory</th>
    20          </t.head>
    21          <t.body as |row|>
    22            <AllocationRow
    23              data-test-deployment-allocation
    24              @allocation={{row.model}}
    25              @context="job"
    26            />
    27          </t.body>
    28        </ListTable>
    29        {{else}}
    30          <div class="empty-message" data-test-empty-recent-allocations>
    31            <h3
    32              class="empty-message-headline"
    33              data-test-empty-recent-allocations-headline
    34            >
    35              No Allocations
    36            </h3>
    37            <p
    38              class="empty-message-body"
    39              data-test-empty-recent-allocations-message
    40            >
    41              No allocations have been placed.
    42            </p>
    43          </div>
    44      {{/if}}
    45    </div>
    46  </div>