From: Waad Alkhoury Date: Tue, 30 Mar 2021 06:38:01 +0000 (+0200) Subject: mgr/dashboard: improve telemetry opt-in reminder notification message X-Git-Tag: v16.2.2~4^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F40887%2Fhead;p=ceph.git mgr/dashboard: improve telemetry opt-in reminder notification message Added activition button and linked the word telemetry to telemetry documentation Fixes: https://tracker.ceph.com/issues/49606 Signed-off-by: Waad Alkhoury (cherry picked from commit 527d912b878087672ab537b59e3addf35108a77c) --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.html b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.html index 7a801ecf87eb..481ae18dc782 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.html @@ -2,8 +2,8 @@ type="warning" *ngIf="displayNotification" (close)="close($event)"> -
The Telemetry module is not submitting telemetry data at the - moment. Click - here to activate it now.
+
The Ceph community needs your help to continue improving: please + Activate the + Telemetry module.
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.scss b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.scss index e6af78a6271c..569f1e0c4a4a 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.scss +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.scss @@ -1,3 +1,17 @@ +@use './src/styles/vendor/variables' as vv; + ::ng-deep cd-telemetry-notification .no-margin-bottom { margin-bottom: 0; } + +.activate-button { + background-color: vv.$barley-white; + border: vv.$gray-700 solid 0.5px; + border-radius: 10%; + padding: 0.1rem 0.4rem; +} + +.activate-text { + color: vv.$gray-700; + font-weight: bold; +} diff --git a/src/pybind/mgr/dashboard/frontend/src/styles/defaults/_bootstrap-defaults.scss b/src/pybind/mgr/dashboard/frontend/src/styles/defaults/_bootstrap-defaults.scss index 676b0cae770e..b1a386a803ad 100644 --- a/src/pybind/mgr/dashboard/frontend/src/styles/defaults/_bootstrap-defaults.scss +++ b/src/pybind/mgr/dashboard/frontend/src/styles/defaults/_bootstrap-defaults.scss @@ -22,6 +22,7 @@ $yellow: #ffc200 !default; $green: #0b0 !default; $teal: #20c997 !default; $cyan: #17a2b8 !default; +$barley-white: #fcecba !default; $primary: #2b99a8 !default; $secondary: #374249 !default;