From: Tatjana Dehler Date: Tue, 29 Jan 2019 15:18:45 +0000 (+0100) Subject: mgr/dashboard: Group buttons together into one button menu X-Git-Tag: v14.1.0~195^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5307b55353aa54522b8b5d8de3ede30c67162e26;p=ceph.git mgr/dashboard: Group buttons together into one button menu Group the two buttons 'Set Cluster-wide Flags' and 'Set Cluster-wide Recovery Priority' together into one button menu. Fixes: http://tracker.ceph.com/issues/37380 Signed-off-by: Tatjana Dehler --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html index dadc21beeddb..86f9afacba79 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html @@ -14,23 +14,35 @@ [tableActions]="tableActions"> - - - +
+ + + +
app/ceph/cluster/osd/osd-list/osd-list.component.html - 59 + 71 app/ceph/pool/pool-list/pool-list.component.html @@ -1062,13 +1062,13 @@ Set Cluster-wide Flags app/ceph/cluster/osd/osd-list/osd-list.component.html - 23 + 25 Set Cluster-wide Recovery Priority app/ceph/cluster/osd/osd-list/osd-list.component.html - 32 + 41 OSDs List @@ -1081,20 +1081,20 @@ if you proceed. app/ceph/cluster/osd/osd-list/osd-list.component.html - 69 + 81 The OSD is not safe to destroy! app/ceph/cluster/osd/osd-list/osd-list.component.html - 78 + 90 OSD will be if you proceed. app/ceph/cluster/osd/osd-list/osd-list.component.html - 80 + 92 Health diff --git a/src/pybind/mgr/dashboard/frontend/src/styles.scss b/src/pybind/mgr/dashboard/frontend/src/styles.scss index 6e3f1bdab089..1e2a69ff0bb1 100644 --- a/src/pybind/mgr/dashboard/frontend/src/styles.scss +++ b/src/pybind/mgr/dashboard/frontend/src/styles.scss @@ -155,6 +155,9 @@ button.btn.btn-label > i.fa { /** Add space between icon and text */ padding-right: 5px; } +.btn-toolbar .btn-group { + float: none; +} /* Dropdown */ .dropdown-menu {