Also include some UI enhancements:
- Fix MDS chart container is not aligned to other components.
- Show header on client table.
Fixes: https://tracker.ceph.com/issues/37579
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit
a3e76ac5f5cf56f830fd2ae9d2e2ac4585195fc2)
@import '../../../../styles/chart-tooltip.scss';
.chart-container {
+ position: relative;
height: 500px;
width: 100%;
+ margin-bottom: 20px;
}
}
],
options: {
+ title: {
+ text: this.mdsCounter.name,
+ display: true
+ },
responsive: true,
maintainAspectRatio: false,
legend: {
<cd-table [data]="clients.data"
[columns]="clients.columns"
- (fetchData)="refresh()"
- [header]="false">
+ (fetchData)="refresh()">
</cd-table>
</div>
</div>
+ <legend i18n>MDS performance counters</legend>
<div class="row"
*ngFor="let mdsCounter of objectValues(mdsCounters); trackBy: trackByFn">
- <div class="cold-md-12">
+ <div class="col-md-12">
<cd-cephfs-chart [mdsCounter]="mdsCounter"></cd-cephfs-chart>
</div>
</div>