From 0204865db658af8650bc47315604d8e851104f1c Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Tue, 10 Mar 2020 10:33:45 -0100 Subject: [PATCH] mgr/dashboard: Use ModalComponent in all modals Fixes: https://tracker.ceph.com/issues/44547 Signed-off-by: Tiago Melo --- .../rbd-namespace-form.component.html | 165 +++-- .../rbd-snapshot-form.component.html | 88 ++- .../silence-matcher-modal.component.html | 168 +++-- .../erasure-code-profile-form.component.html | 599 +++++++++--------- .../rgw-user-capability-modal.component.html | 137 ++-- .../rgw-user-s3-key-modal.component.html | 243 ++++--- .../rgw-user-subuser-modal.component.html | 247 ++++---- .../rgw-user-swift-key-modal.component.html | 108 ++-- .../mgr/dashboard/frontend/src/styles.scss | 4 + 9 files changed, 866 insertions(+), 893 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form.component.html index d75d6c6ab6097..fb0d3650d0d0a 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form.component.html @@ -1,88 +1,85 @@ - -
-
+ + + + + diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form.component.html index f96eb581bcf20..9a32a3ce887d6 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form.component.html @@ -1,49 +1,45 @@ - -
-