= $tabs ?>
= $paginator ?>
= $limiter ?>
= $sortBox ?>
= $filterEditor ?>
= $timeRangePicker ?>
';
foreach ($hosts as $host) {
$hostGraphs = (string) (new Host($host))->setPreloadDummy()->handleRequest();
if ($hostGraphs !== '') {
echo '
'
. '
'
. $this->qlink(
$host->host_name === $host->host_display_name
? $host->host_display_name
: $host->host_display_name . ' (' . $this->escape($host->host_name) . ')',
$baseUrl->with(['host' => $host->host_name]),
null,
['data-base-target' => '_next']
)
. '
'
. $hostGraphs
. '';
}
}
if ($hasMoreHosts) {
echo '
'
. $this->qlink(
mt('monitoring', 'Show More'),
$this->url()->without(array('view', 'limit')),
null,
[
'class' => 'action-link',
'data-base-target' => '_next'
]
)
. '
';
}
echo '
';
} else {
echo '' . $this->escape(mt('monitoring', 'No hosts found matching the filter.')) . '
';
}
?>