diff --git a/modules/monitoring/application/views/scripts/list/contactgroups.phtml b/modules/monitoring/application/views/scripts/list/contactgroups.phtml index 5e3b038a7..3030d4224 100644 --- a/modules/monitoring/application/views/scripts/list/contactgroups.phtml +++ b/modules/monitoring/application/views/scripts/list/contactgroups.phtml @@ -18,10 +18,12 @@ if (count($groupData) === 0) {
$groupInfo): ?>
-

+
+

-

+

+
diff --git a/modules/monitoring/application/views/scripts/tactical/components/hostservicechecks.phtml b/modules/monitoring/application/views/scripts/tactical/components/hostservicechecks.phtml index b85199962..af727bc12 100644 --- a/modules/monitoring/application/views/scripts/tactical/components/hostservicechecks.phtml +++ b/modules/monitoring/application/views/scripts/tactical/components/hostservicechecks.phtml @@ -1,5 +1,7 @@
-

translate('Host and Service Checks'); ?>

+
+

translate('Host and Service Checks'); ?>

+
diff --git a/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml b/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml index a67e9057c..c3a16ae2a 100644 --- a/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml +++ b/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml @@ -1,5 +1,7 @@
-

translate('Monitoring Features'); ?>

+
+

translate('Monitoring Features'); ?>

+
statusSummary->hosts_without_flap_detection || $this->statusSummary->services_without_flap_detection || $this->statusSummary->hosts_flapping || $this->statusSummary->services_flapping): ?> diff --git a/modules/monitoring/application/views/scripts/tactical/components/ok_hosts.phtml b/modules/monitoring/application/views/scripts/tactical/components/ok_hosts.phtml index 8deebf19e..7f25b6e5f 100644 --- a/modules/monitoring/application/views/scripts/tactical/components/ok_hosts.phtml +++ b/modules/monitoring/application/views/scripts/tactical/components/ok_hosts.phtml @@ -9,42 +9,44 @@ $service_problems = ( ); ?>
-statusSummary->hosts_up): ?> -

qlink( - sprintf( - $this->translatePlural('%u Host UP', '%u Hosts UP', $this->statusSummary->hosts_up), - $this->statusSummary->hosts_up - ), - 'monitoring/list/hosts', - array('host_state' => 0), - array('title' => sprintf( - $this->translatePlural( - 'List %u host that is currently in state UP', - 'List %u hosts which are currently in state UP', +
+ statusSummary->hosts_up): ?> +

qlink( + sprintf( + $this->translatePlural('%u Host UP', '%u Hosts UP', $this->statusSummary->hosts_up), $this->statusSummary->hosts_up ), - $this->statusSummary->hosts_up - )) - ); ?>

- -statusSummary->hosts_pending): ?> -

qlink( - sprintf( - $this->translatePlural('%u Host PENDING', '%u Hosts PENDING', $this->statusSummary->hosts_pending), - $this->statusSummary->hosts_pending - ), - 'monitoring/list/hosts', - array('host_state' => 99), - array('title' => sprintf( - $this->translatePlural( - 'List %u host that is currently in state PENDING', - 'List %u hosts which are currently in state PENDING', + 'monitoring/list/hosts', + array('host_state' => 0), + array('title' => sprintf( + $this->translatePlural( + 'List %u host that is currently in state UP', + 'List %u hosts which are currently in state UP', + $this->statusSummary->hosts_up + ), + $this->statusSummary->hosts_up + )) + ); ?>

+ + statusSummary->hosts_pending): ?> +

qlink( + sprintf( + $this->translatePlural('%u Host PENDING', '%u Hosts PENDING', $this->statusSummary->hosts_pending), $this->statusSummary->hosts_pending ), - $this->statusSummary->hosts_pending - )) - ); ?>

- + 'monitoring/list/hosts', + array('host_state' => 99), + array('title' => sprintf( + $this->translatePlural( + 'List %u host that is currently in state PENDING', + 'List %u hosts which are currently in state PENDING', + $this->statusSummary->hosts_pending + ), + $this->statusSummary->hosts_pending + )) + ); ?>

+ +
statusSummary->hosts_down || $this->statusSummary->hosts_unreachable): ?>
translate('Services'); ?> diff --git a/modules/monitoring/application/views/scripts/tactical/components/problem_hosts.phtml b/modules/monitoring/application/views/scripts/tactical/components/problem_hosts.phtml index bab0cfc8e..faeb98668 100644 --- a/modules/monitoring/application/views/scripts/tactical/components/problem_hosts.phtml +++ b/modules/monitoring/application/views/scripts/tactical/components/problem_hosts.phtml @@ -4,46 +4,48 @@ echo ' handled'; } ?>"> -statusSummary->hosts_down): ?> -

qlink( - sprintf( - $this->translatePlural('%u Host DOWN', '%u Hosts DOWN', $this->statusSummary->hosts_down), - $this->statusSummary->hosts_down - ), - 'monitoring/list/hosts', - array('host_state' => 1), - array('title' => sprintf( - $this->translatePlural( - 'List %u host that is currently in state DOWN', - 'List %u hosts which are currently in state DOWN', +
+ statusSummary->hosts_down): ?> +

qlink( + sprintf( + $this->translatePlural('%u Host DOWN', '%u Hosts DOWN', $this->statusSummary->hosts_down), $this->statusSummary->hosts_down ), - $this->statusSummary->hosts_down - )) - ); ?>

- -statusSummary->hosts_unreachable): ?> -

qlink( - sprintf( - $this->translatePlural( - '%u Host UNREACHABLE', - '%u Hosts UNREACHABLE', + 'monitoring/list/hosts', + array('host_state' => 1), + array('title' => sprintf( + $this->translatePlural( + 'List %u host that is currently in state DOWN', + 'List %u hosts which are currently in state DOWN', + $this->statusSummary->hosts_down + ), + $this->statusSummary->hosts_down + )) + ); ?>

+ + statusSummary->hosts_unreachable): ?> +

qlink( + sprintf( + $this->translatePlural( + '%u Host UNREACHABLE', + '%u Hosts UNREACHABLE', + $this->statusSummary->hosts_unreachable + ), $this->statusSummary->hosts_unreachable ), - $this->statusSummary->hosts_unreachable - ), - 'monitoring/list/hosts', - array('host_state' => 2), - array('title' => sprintf( - $this->translatePlural( - 'List %u host that is currently in state UNREACHABLE', - 'List %u hosts which are currently in state UNREACHABLE', + 'monitoring/list/hosts', + array('host_state' => 2), + array('title' => sprintf( + $this->translatePlural( + 'List %u host that is currently in state UNREACHABLE', + 'List %u hosts which are currently in state UNREACHABLE', + $this->statusSummary->hosts_unreachable + ), $this->statusSummary->hosts_unreachable - ), - $this->statusSummary->hosts_unreachable - )) - ); ?>

- + )) + ); ?>

+ +
translate('Services'); ?> partial( diff --git a/modules/monitoring/public/css/module.less b/modules/monitoring/public/css/module.less index 888925fa2..406031c19 100644 --- a/modules/monitoring/public/css/module.less +++ b/modules/monitoring/public/css/module.less @@ -531,39 +531,39 @@ a.critical { background: #eee; } -/* Box caption */ -.boxview div.box h2 { - margin-top: 0; - margin-bottom: 0.6em; +/* Box header */ +.boxview div.box.header { + padding-bottom: 0.5em; + margin-bottom: 0.5em; + border-bottom: 1px solid #888; +} + +.boxview div.box.header h2 { + margin-top: 0.1em; + margin-bottom: 0; font-size: 0.8em; + border-bottom: none; color: @colorTextDefault; } -.boxview div.box h2:first-child { +.boxview div.box.header h2:first-child { margin-top: 0.2em; - padding-bottom: 0.5em; font-size: inherit; color: @colorTextDefault; - border-bottom: 1px solid #d9d9d9; } -.boxview div.box h2 > a { +.boxview div.box.header h2 > a { color: inherit; - margin-bottom: 0.2em; } -.boxview div.box h2 > a:hover { +.boxview div.box.header h2 > a:hover { text-decoration: underline; } -.boxview div.box h2:first-child > a:hover { -} - -.boxview div.box h3 { +.boxview div.box.header h3 { line-height: 1.5em; font-size: 0.9em; color: #555; - border-bottom: 1px solid #d9d9d9; } /* Box body of contents */