diff --git a/modules/monitoring/application/views/scripts/partials/command/object-command-form.phtml b/modules/monitoring/application/views/scripts/partials/command/object-command-form.phtml index 34e31f897..1359e5f36 100644 --- a/modules/monitoring/application/views/scripts/partials/command/object-command-form.phtml +++ b/modules/monitoring/application/views/scripts/partials/command/object-command-form.phtml @@ -1,21 +1,17 @@ -
- compact): ?> - tabs; ?> - - getType() === $object::TYPE_HOST): ?> - render('partials/object/host-header.phtml'); ?> - compact): ?> + tabs ?> + +getType() === $object::TYPE_HOST) { + echo $this->render('partials/object/host-header.phtml'); $this->baseFilter = Filter::where('host', $object->host_name); $this->stats = $object->stats; echo $this->render('list/components/servicesummary.phtml'); - ?> - - render('partials/object/service-header.phtml'); ?> -
- +} else { + echo $this->render('partials/object/service-header.phtml'); +} ?>
- +
diff --git a/modules/monitoring/application/views/scripts/partials/command/objects-command-form.phtml b/modules/monitoring/application/views/scripts/partials/command/objects-command-form.phtml index dbb8829fe..8d241eed0 100644 --- a/modules/monitoring/application/views/scripts/partials/command/objects-command-form.phtml +++ b/modules/monitoring/application/views/scripts/partials/command/objects-command-form.phtml @@ -1,19 +1,15 @@
- - compact): ?> - - - - - render('list/components/servicesummary.phtml'); ?> - render('partials/service/objects-header.phtml'); ?> - +compact): ?> + + + + render('list/components/servicesummary.phtml') ?> + render('partials/service/objects-header.phtml') ?> + render('list/components/hostssummary.phtml') ?> - render('partials/host/objects-header.phtml'); ?> - + render('partials/host/objects-header.phtml') ?> +
-
-
- +
diff --git a/public/css/icinga/responsive.less b/public/css/icinga/responsive.less index 7c759c1ec..2d23a2562 100644 --- a/public/css/icinga/responsive.less +++ b/public/css/icinga/responsive.less @@ -102,7 +102,7 @@ } #layout.twocols #col2 { - border-left: 1px solid @gray-light; + border-left: 1px solid @gray-lighter; display: block; }