From ec37a637f8d0629baed669f83ff548a566c8da86 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Wed, 9 Feb 2022 09:51:21 +0100 Subject: [PATCH] chg: [header] moved inline style in css file --- .../header/header-notification-item.php | 14 ++++----- .../layouts/header/header-notifications.php | 2 +- webroot/css/layout-style.css | 2 +- webroot/css/layout.css | 29 +++++++++++++++++++ 4 files changed, 37 insertions(+), 10 deletions(-) diff --git a/templates/element/layouts/header/header-notification-item.php b/templates/element/layouts/header/header-notification-item.php index 36156d7..59a3df8 100644 --- a/templates/element/layouts/header/header-notification-item.php +++ b/templates/element/layouts/header/header-notification-item.php @@ -3,34 +3,32 @@ use Cake\Routing\Router; $seed = 's-' . mt_rand(); -$datetimeMW = 90; $variant = empty($notification['variant']) ? 'primary' : $notification['variant']; ?> href="" onclick="UI.submissionModal('', {closeOnSuccess: false})" - style="max-height: 76px;" title="ValueGetter->get($notification['text']), $this->ValueGetter->get($notification['details'])) ?>" >
- position-relative" style="width: 36px; height: 36px"> + position-relative"> Bootstrap->icon($notification['icon'], ['class' => ['fa-fw', 'position-absolute top-50 start-50 translate-middle']]) ?> - +
- ValueGetter->get($notification['text']) ?> + ValueGetter->get($notification['text']) ?> - format('Y-m-d\TH:i:s')) ?> + format('Y-m-d\TH:i:s')) ?>
- + ValueGetter->get($notification['details']) ?> diff --git a/templates/element/layouts/header/header-notifications.php b/templates/element/layouts/header/header-notifications.php index 2888de5..e18b619 100644 --- a/templates/element/layouts/header/header-notifications.php +++ b/templates/element/layouts/header/header-notifications.php @@ -30,7 +30,7 @@ $variant = array_flip($severity)[$maxSeverity]; ?>
-