summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/create-cluster/create-cluster-review.component.html
blob: 7fbc6718576538f84d836888a02e9b9709473aea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<div class="row">
  <div class="col-lg-3">
    <fieldset>
      <legend class="cd-header"
              i18n>Cluster Resources</legend>
      <table class="table table-striped">
        <tr>
          <td i18n
              class="bold">Hosts</td>
          <td>{{ hostsCount }}</td>
        </tr>
        <tr>
          <td>
          <dl>
            <dt>
              <p i18n>Storage Capacity</p>
            </dt>
            <dd>
              <p i18n>Number of devices</p>
            </dd>
            <dd>
              <p i18n>Raw capacity</p>
            </dd>
          </dl>
        </td>
          <td class="pt-5"><p>{{ totalDevices }}</p><p>
            {{ totalCapacity | dimlessBinary }}</p></td>
        </tr>
        <tr>
          <td i18n
              class="bold">CPUs</td>
          <td>{{ totalCPUs }}</td>
        </tr>
        <tr>
          <td i18n
              class="bold">Memory</td>
          <td>{{ totalMemory }}</td>
        </tr>
      </table>
    </fieldset>
  </div>

<div class="col-lg-9">
  <legend i18n
          class="cd-header">Host Details</legend>
  <cd-hosts [hiddenColumns]="['services', 'status']"
            [hideToolHeader]="true"
            [hideTitle]="true"
            [hideSubmitBtn]="true"
            [hasTableDetails]="false"
            [showGeneralActionsOnly]="true">
  </cd-hosts>
</div>
</div>