github.com/hernad/nomad@v1.6.112/ui/app/templates/components/job-deployment/deployment-allocations.hbs (about)

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