diff --git a/application/views/scripts/list/hosts.phtml b/application/views/scripts/list/hosts.phtml index a9aed43..fb664ea 100644 --- a/application/views/scripts/list/hosts.phtml +++ b/application/views/scripts/list/hosts.phtml @@ -24,6 +24,8 @@ if ($filterEditor->getFilter()->isEmpty()) { echo '

' . $this->escape($this->translate('Please specify a filter')) . '

'; } elseif ($hosts->hasResult()) { foreach ($hosts->peekAhead($compact) as $host) { + echo '
'; + if (! $compact) { echo '

' . $this->qlink( @@ -37,6 +39,8 @@ if ($filterEditor->getFilter()->isEmpty()) { . '

'; } echo EmbedGraphs::host($host->host_name); + + echo '
'; } if (! $compact && $hosts->hasMore()) { diff --git a/public/css/module.less b/public/css/module.less index 3d73af0..37d4399 100644 --- a/public/css/module.less +++ b/public/css/module.less @@ -49,3 +49,13 @@ ul.legend { } } } + +div.graphs-host { + display: inline-block; + vertical-align: top; + margin-right: 2em; + + > div.container[data-icinga-url] { + width: 300px; + } +}