github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/components/das/diffs-table.hbs (about)

     1  <table class='diffs-table' ...attributes>
     2    <tbody>
     3      <tr data-test-current>
     4        <th>Current</th>
     5        <td data-test-cpu>{{@model.reservedCPU}} MHz</td>
     6        <td data-test-memory>{{@model.reservedMemory}} MiB</td>
     7        <th class='diff'>Difference</th>
     8        <td class='diff' data-test-cpu-unit-diff>{{this.diffs.cpu.signedDiff}}</td>
     9        <td class='diff' data-test-memory-unit-diff>{{this.diffs.memory.signedDiff}}</td>
    10      </tr>
    11      <tr data-test-recommended>
    12        <th>Recommended</th>
    13        <td data-test-cpu class={{this.cpuClass}}>{{this.diffs.cpu.recommended}} MHz</td>
    14        <td data-test-memory class={{this.memoryClass}}>{{this.diffs.memory.recommended}} MiB</td>
    15        <th class='diff'>% Difference</th>
    16        <td class='diff' data-test-cpu-percent-diff>{{this.diffs.cpu.percentDiff}}</td>
    17        <td class='diff' data-test-memory-percent-diff>{{this.diffs.memory.percentDiff}}</td>
    18      </tr>
    19    </tbody>
    20  </table>