]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: Display legend for CephFS standbys
authorVolker Theile <vtheile@suse.com>
Tue, 27 Aug 2019 09:29:53 +0000 (11:29 +0200)
committerVolker Theile <vtheile@suse.com>
Tue, 27 Aug 2019 11:56:13 +0000 (13:56 +0200)
If there is no data available for standbys, the UI looks strange without a legend.

Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.html

index d469bc4365e1d3fee6f6559ade928db8a834e4ef..4b0651cbd9f814de32c4137207e5e44e74799db0 100644 (file)
@@ -4,20 +4,19 @@
     <div class="row">
       <div class="col-sm-6">
         <legend i18n>Ranks</legend>
-
         <cd-table [data]="ranks.data"
                   [columns]="ranks.columns"
                   (fetchData)="refresh()"
                   [toolHeader]="false">
         </cd-table>
 
+        <legend i18n>Standbys</legend>
         <cd-table-key-value [data]="standbys">
         </cd-table-key-value>
       </div>
 
       <div class="col-sm-6">
         <legend i18n>Pools</legend>
-
         <cd-table [data]="pools.data"
                   [columns]="pools.columns"
                   [toolHeader]="false">