Added activition button and linked the word telemetry to telemetry documentation
Fixes: https://tracker.ceph.com/issues/49606
Signed-off-by: Waad Alkhoury <walkhour@redhat.com>
(cherry picked from commit
527d912b878087672ab537b59e3addf35108a77c)
type="warning"
*ngIf="displayNotification"
(close)="close($event)">
- <div i18n>The Telemetry module is not submitting telemetry data at the
- moment. Click
- <a routerLink="/telemetry"
- class="alert-link">here</a> to activate it now.</div>
+ <div i18n>The Ceph community needs your help to continue improving: please
+ <a routerLink="/telemetry"
+ class="btn activate-button alert-link activate-text">Activate</a> the
+ <a href="https://docs.ceph.com/en/latest/mgr/telemetry/">Telemetry</a> module.</div>
</ngb-alert>
+@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;
+}
$green: #0b0 !default;
$teal: #20c997 !default;
$cyan: #17a2b8 !default;
+$barley-white: #fcecba !default;
$primary: #2b99a8 !default;
$secondary: #374249 !default;