github.com/hernad/nomad@v1.6.112/ui/app/components/das/diffs-table.hbs (about)

     1  {{!
     2    Copyright (c) HashiCorp, Inc.
     3    SPDX-License-Identifier: MPL-2.0
     4  ~}}
     5  
     6  <table class='diffs-table' ...attributes>
     7    <tbody>
     8      <tr data-test-current>
     9        <th>Current</th>
    10        <td data-test-cpu>{{@model.reservedCPU}} MHz</td>
    11        <td data-test-memory>{{@model.reservedMemory}} MiB</td>
    12        <th class='diff'>Difference</th>
    13        <td class='diff' data-test-cpu-unit-diff>{{this.diffs.cpu.signedDiff}}</td>
    14        <td class='diff' data-test-memory-unit-diff>{{this.diffs.memory.signedDiff}}</td>
    15      </tr>
    16      <tr data-test-recommended>
    17        <th>Recommended</th>
    18        <td data-test-cpu class={{this.cpuClass}}>{{this.diffs.cpu.recommended}} MHz</td>
    19        <td data-test-memory class={{this.memoryClass}}>{{this.diffs.memory.recommended}} MiB</td>
    20        <th class='diff'>% Difference</th>
    21        <td class='diff' data-test-cpu-percent-diff>{{this.diffs.cpu.percentDiff}}</td>
    22        <td class='diff' data-test-memory-percent-diff>{{this.diffs.memory.percentDiff}}</td>
    23      </tr>
    24    </tbody>
    25  </table>