From: Waad Alkhoury Date: Thu, 1 Apr 2021 09:07:14 +0000 (+0200) Subject: mgr/dashboard: Warn the user when creating/editing pools without application tags X-Git-Tag: v17.1.0~2406^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c1e553ccabd27daa525afc32685e54928d33a47f;p=ceph.git mgr/dashboard: Warn the user when creating/editing pools without application tags Added warning icon when no application tag is selected Fixes: https://tracker.ceph.com/issues/40676 Signed-off-by: Waad Alkhoury --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html index f62a7283feb8f..dd45a4616459a 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html @@ -184,9 +184,13 @@ [selectionLimit]="4" (selection)="appSelection()"> + + -
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.scss b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.scss index e69de29bb2d1d..587d5d6b14498 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.scss +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.scss @@ -0,0 +1,3 @@ +.icon-warning-color { + margin-left: 3px; +}