summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.html
blob: 8debf9dc66bc5fb2e5ae487e4db04f139d6998eb (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<ng-container *ngIf="selection">
  <table class="table table-striped table-bordered">
    <tbody>
      <tr>
        <td i18n
            class="bold w-25">Name</td>
        <td class="w-75">{{ selection.name }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Description</td>
        <td>{{ selection.desc }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Long description</td>
        <td>{{ selection.long_desc }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Current values</td>
        <td>
          <span *ngFor="let conf of selection.value; last as isLast">
            {{ conf.section }}: {{ conf.value }}{{ !isLast ? "," : "" }}<br />
          </span>
        </td>
      </tr>
      <tr>
        <td i18n
            class="bold">Default</td>
        <td>{{ selection.default }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Daemon default</td>
        <td>{{ selection.daemon_default }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Type</td>
        <td>{{ selection.type }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Min</td>
        <td>{{ selection.min }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Max</td>
        <td>{{ selection.max }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Flags</td>
        <td>
          <span *ngFor="let flag of selection.flags">
            <span title="{{ flags[flag] }}">
              <span class="badge badge-dark mr-2">{{ flag | uppercase }}</span>
            </span>
          </span>
        </td>
      </tr>
      <tr>
        <td i18n
            class="bold">Services</td>
        <td>
          <span *ngFor="let service of selection.services">
            <span class="badge badge-dark mr-2">{{ service }}</span>
          </span>
        </td>
      </tr>
      <tr>
        <td i18n
            class="bold">Source</td>
        <td>{{ selection.source }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Level</td>
        <td>{{ selection.level }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Can be updated at runtime (editable)</td>
        <td>{{ selection.can_update_at_runtime | booleanText }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Tags</td>
        <td>{{ selection.tags }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">Enum values</td>
        <td>{{ selection.enum_values }}</td>
      </tr>
      <tr>
        <td i18n
            class="bold">See also</td>
        <td>{{ selection.see_also }}</td>
      </tr>
    </tbody>
  </table>
</ng-container>