summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.html
blob: a1eb64963395b73ff65bb23505cb73101e064670 (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
<cd-table [data]="data"
          (fetchData)="getConfigurationList($event)"
          [columns]="columns"
          [extraFilterableColumns]="filters"
          selectionType="single"
          [hasDetails]="true"
          (setExpandedRow)="setExpandedRow($event)"
          (updateSelection)="updateSelection($event)">
  <cd-table-actions class="table-actions"
                    [permission]="permission"
                    [selection]="selection"
                    [tableActions]="tableActions">
  </cd-table-actions>
  <cd-configuration-details cdTableDetail
                            [selection]="expandedRow">
  </cd-configuration-details>
</cd-table>

<ng-template #confValTpl
             let-value="value">
  <span *ngIf="value">
    <span *ngFor="let conf of value; last as isLast">
      {{ conf.section }}: {{ conf.value }}{{ !isLast ? "," : "" }}<br />
    </span>
  </span>
</ng-template>