parent
c3129890aa
commit
1f20ba1bc6
|
@ -1,4 +1,4 @@
|
||||||
<div class="controls">
|
<div data-base-target='_next' class="controls">
|
||||||
<?php if (! $this->compact): ?>
|
<?php if (! $this->compact): ?>
|
||||||
<?= $tabs; ?>
|
<?= $tabs; ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
|
@ -14,7 +14,7 @@ function urlAddFilterOptional($url, $filter, $optional) {
|
||||||
$this->baseFilter = isset($this->baseFilter) ? $this->baseFilter : null;
|
$this->baseFilter = isset($this->baseFilter) ? $this->baseFilter : null;
|
||||||
$selfUrl = 'monitoring/list/hosts';
|
$selfUrl = 'monitoring/list/hosts';
|
||||||
$currentUrl = Url::fromRequest()->getRelativeUrl();
|
$currentUrl = Url::fromRequest()->getRelativeUrl();
|
||||||
?><div data-base-target='_next' class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
|
?><div class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
|
||||||
<?= sprintf($this->translate('%s hosts:'), $this->stats->hosts_total); ?>
|
<?= sprintf($this->translate('%s hosts:'), $this->stats->hosts_total); ?>
|
||||||
<span class="badges">
|
<span class="badges">
|
||||||
<?php if ($this->stats->hosts_up): ?>
|
<?php if ($this->stats->hosts_up): ?>
|
||||||
|
|
|
@ -16,7 +16,7 @@ $this->baseFilter = isset($this->baseFilter) ? $this->baseFilter : null;
|
||||||
|
|
||||||
$selfUrl = 'monitoring/list/services';
|
$selfUrl = 'monitoring/list/services';
|
||||||
$currentUrl = Url::fromRequest()->getRelativeUrl();
|
$currentUrl = Url::fromRequest()->getRelativeUrl();
|
||||||
?><div data-base-target='_next' class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
|
?><div class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
|
||||||
<?= sprintf($this->translate('%s services:'), $this->stats->services_total); ?>
|
<?= sprintf($this->translate('%s services:'), $this->stats->services_total); ?>
|
||||||
<span class="badges">
|
<span class="badges">
|
||||||
<?php if ($this->stats->services_ok): ?>
|
<?php if ($this->stats->services_ok): ?>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="controls">
|
<div data-base-target='_next' class="controls">
|
||||||
|
|
||||||
<?php if (! $this->compact): ?>
|
<?php if (! $this->compact): ?>
|
||||||
<?= $tabs; ?>
|
<?= $tabs; ?>
|
||||||
|
|
Loading…
Reference in New Issue