mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-26 07:14:59 +02:00
configuration: register global search
This commit is contained in:
parent
42b668d4ae
commit
02fc1289f7
@ -1,3 +1,4 @@
|
|||||||
|
<?php if (! $this->compact): ?>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<?= $this->tabs ?>
|
<?= $this->tabs ?>
|
||||||
<h1><?= $this->escape($this->title) ?></h1>
|
<h1><?= $this->escape($this->title) ?></h1>
|
||||||
@ -9,8 +10,9 @@
|
|||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?= $this->table->getPaginator() ?>
|
<?= $this->table->getPaginator() ?>
|
||||||
</div>
|
</div>
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
<div class="content"<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
<div class="content<?php if ($this->compact): ?> compact<?php endif ?>"<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
||||||
<?= $this->form ?>
|
<?= $this->form ?>
|
||||||
<?php if (count($table)): ?>
|
<?php if (count($table)): ?>
|
||||||
<?= $this->table->render() ?>
|
<?= $this->table->render() ?>
|
||||||
|
@ -6,6 +6,9 @@ $this->providePermission('director/hosts/write', $this->translate('Allow to conf
|
|||||||
$this->providePermission('director/templates/read', $this->translate('Allow to see template details'));
|
$this->providePermission('director/templates/read', $this->translate('Allow to see template details'));
|
||||||
$this->providePermission('director/templates/write', $this->translate('Allow to configure templates'));
|
$this->providePermission('director/templates/write', $this->translate('Allow to configure templates'));
|
||||||
|
|
||||||
|
$this->provideSearchUrl($this->translate('Host configs'), 'director/hosts?limit=10', 60);
|
||||||
|
$this->provideSearchUrl($this->translate('Service configs'), 'director/services?limit=10', 59);
|
||||||
|
|
||||||
$this->provideRestriction(
|
$this->provideRestriction(
|
||||||
'director/hosttemplates/filter',
|
'director/hosttemplates/filter',
|
||||||
$this->translate('Allow to use only host templates matching this filter')
|
$this->translate('Allow to use only host templates matching this filter')
|
||||||
|
@ -670,6 +670,10 @@ table.icinga-objects {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.content.compact table.icinga-objects thead {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
table.deployment-log {
|
table.deployment-log {
|
||||||
|
|
||||||
tr td:nth-child(2), tr th:nth-child(2) {
|
tr td:nth-child(2), tr th:nth-child(2) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user