From: Afreen Misbah Date: Mon, 9 Mar 2026 11:41:25 +0000 (+0530) Subject: mgr/dashboard: Fix breaking overview page X-Git-Tag: v21.0.0~98^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5e10c3dfa3e4079f911323ea04daf049cd20d477;p=ceph.git mgr/dashboard: Fix breaking overview page Fixes https://tracker.ceph.com/issues/75405 - removed cssgrid usage from notification page - The css of css grid overriding overview page's css Signed-off-by: Afreen Misbah --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notifications-page/notifications-page.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notifications-page/notifications-page.component.html index fa63eb30694..45b8d71e0ca 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notifications-page/notifications-page.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notifications-page/notifications-page.component.html @@ -1,214 +1,215 @@
-
- - - - - -
-
- - {{ notification.prometheusAlert.alertName }} - - {{ notification.prometheusAlert.status }} - - - - {{ notification.title }} - -
- - {{ notification.application }} - - • {{ notification.prometheusAlert.severity }} - - • {{ notification.prometheusAlert.instance }} - - - -
-
- - {{ formatDate(notification.timestamp) }} - -
-
+
- -

No notifications match your search

-

No notifications available

+ cdsCol + [columnNumbers]="{sm: 4, md: 4, lg: 6}"> + + + + + +
+
+ + {{ notification.prometheusAlert.alertName }} + + {{ notification.prometheusAlert.status }} + + + + {{ notification.title }} + +
+ + {{ notification.application }} + + • {{ notification.prometheusAlert.severity }} + + • {{ notification.prometheusAlert.instance }} + + + +
+
+ + {{ formatDate(notification.timestamp) }} + +
+
+
+ +

No notifications match your search

+

No notifications available

+
-
- -
+
-
-

{{ selectedNotification.title }}

- - - Application: - {{ selectedNotification.application }} - - - Type: - - - {{ selectedNotification.type === 0 ? 'Error' : - selectedNotification.type === 1 ? 'Info' : - selectedNotification.type === 2 ? 'Success' : 'Warning' }} - - - - - Date: - {{ formatDate(selectedNotification.timestamp) }} - - - Time: - {{ formatTime(selectedNotification.timestamp) }} - - - + cdsCol + [columnNumbers]="{sm: 12, md: 12, lg: 10}"> +
+
+

{{ selectedNotification.title }}

+ Alert Name: - {{ selectedNotification.prometheusAlert.alertName }} + class="detail-label">Application: + {{ selectedNotification.application }} Status: + class="detail-label">Type: - {{ selectedNotification.prometheusAlert.status }} + {{ selectedNotification.type === 0 ? 'Error' : + selectedNotification.type === 1 ? 'Info' : + selectedNotification.type === 2 ? 'Success' : 'Warning' }} Severity: - - - {{ selectedNotification.prometheusAlert.severity }} - - - - - Instance: - {{ selectedNotification.prometheusAlert.instance }} - - - Job: - {{ selectedNotification.prometheusAlert.job }} + class="detail-label">Date: + {{ formatDate(selectedNotification.timestamp) }} Description: - -

{{ selectedNotification.prometheusAlert.description }}

-
+ class="detail-label">Time: + {{ formatTime(selectedNotification.timestamp) }}
- + + + + Alert Name: + {{ selectedNotification.prometheusAlert.alertName }} + + + Status: + + + {{ selectedNotification.prometheusAlert.status }} + + + + + Severity: + + + {{ selectedNotification.prometheusAlert.severity }} + + + + + Instance: + {{ selectedNotification.prometheusAlert.instance }} + + + Job: + {{ selectedNotification.prometheusAlert.job }} + + + Description: + +

{{ selectedNotification.prometheusAlert.description }}

+
+
+ + Source: + + + + View in Prometheus + + + + + Fingerprint: + + {{ selectedNotification.prometheusAlert.fingerprint }} + + +
+ + Source: + class="detail-label">Message: - - - View in Prometheus - +

{{ selectedNotification.message }}

- - Fingerprint: - - {{ selectedNotification.prometheusAlert.fingerprint }} - - - - - - Message: - -

{{ selectedNotification.message }}

-
-
-
+ +