mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
d5cc340439
commit
57d519bca8
@ -11,14 +11,14 @@ use Icinga\Forms\Config\GeneralConfigForm;
|
|||||||
use Icinga\Forms\Config\ResourceConfigForm;
|
use Icinga\Forms\Config\ResourceConfigForm;
|
||||||
use Icinga\Forms\ConfirmRemovalForm;
|
use Icinga\Forms\ConfirmRemovalForm;
|
||||||
use Icinga\Security\SecurityException;
|
use Icinga\Security\SecurityException;
|
||||||
use Icinga\Web\Controller\ActionController;
|
use Icinga\Web\Controller;
|
||||||
use Icinga\Web\Notification;
|
use Icinga\Web\Notification;
|
||||||
use Icinga\Web\Widget;
|
use Icinga\Web\Widget;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Application and module configuration
|
* Application and module configuration
|
||||||
*/
|
*/
|
||||||
class ConfigController extends ActionController
|
class ConfigController extends Controller
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The first allowed config action according to the user's permissions
|
* The first allowed config action according to the user's permissions
|
||||||
@ -130,6 +130,14 @@ class ConfigController extends ActionController
|
|||||||
->order('enabled', 'desc')
|
->order('enabled', 'desc')
|
||||||
->order('name')
|
->order('name')
|
||||||
->paginate();
|
->paginate();
|
||||||
|
$this->setupLimitControl();
|
||||||
|
$this->setupPaginationControl($this->view->modules);
|
||||||
|
// TODO: Not working
|
||||||
|
/*$this->setupSortControl(array(
|
||||||
|
'name' => $this->translate('Modulename'),
|
||||||
|
'path' => $this->translate('Installation Path'),
|
||||||
|
'enabled' => $this->translate('State')
|
||||||
|
));*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public function moduleAction()
|
public function moduleAction()
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
|
<?php if (! $this->compact): ?>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<?= $this->tabs ?>
|
<?= $this->tabs; ?>
|
||||||
<?= $this->paginationControl($modules) ?>
|
<?= $this->sortBox; ?>
|
||||||
|
<?= $this->limiter; ?>
|
||||||
|
<?= $this->paginator; ?>
|
||||||
|
<?= $this->filterEditor; ?>
|
||||||
</div>
|
</div>
|
||||||
|
<?php endif ?>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<table class="action" data-base-target="_next">
|
<table class="action" data-base-target="_next">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user