diff --git a/library/Icinga/Web/Form/Decorator/FormNotifications.php b/library/Icinga/Web/Form/Decorator/FormNotifications.php index 2ab1afc33..46734dfc6 100644 --- a/library/Icinga/Web/Form/Decorator/FormNotifications.php +++ b/library/Icinga/Web/Form/Decorator/FormNotifications.php @@ -37,10 +37,7 @@ class FormNotifications extends Zend_Form_Decorator_Abstract return $content; } - $html = '
' - . Icinga::app()->getViewRenderer()->view->icon('ok', '', ['class' => 'form-notification-icon']) - . '
'; diff --git a/public/css/icinga/forms.less b/public/css/icinga/forms.less index 4452adf19..15d117ddf 100644 --- a/public/css/icinga/forms.less +++ b/public/css/icinga/forms.less @@ -386,7 +386,17 @@ form.icinga-forms { } .form-notifications { - background-color: fade(@color-ok, 20%); + &.info { + background-color: fade(@color-ok, 20%); + } + + &.error { + background-color: fade(@color-critical, 30%); + } + + &.warning { + background-color: fade(@color-warning, 40%); + } } .form-description {