parent
d5cc340439
commit
57d519bca8
|
@ -11,14 +11,14 @@ use Icinga\Forms\Config\GeneralConfigForm;
|
|||
use Icinga\Forms\Config\ResourceConfigForm;
|
||||
use Icinga\Forms\ConfirmRemovalForm;
|
||||
use Icinga\Security\SecurityException;
|
||||
use Icinga\Web\Controller\ActionController;
|
||||
use Icinga\Web\Controller;
|
||||
use Icinga\Web\Notification;
|
||||
use Icinga\Web\Widget;
|
||||
|
||||
/**
|
||||
* Application and module configuration
|
||||
*/
|
||||
class ConfigController extends ActionController
|
||||
class ConfigController extends Controller
|
||||
{
|
||||
/**
|
||||
* The first allowed config action according to the user's permissions
|
||||
|
@ -130,6 +130,14 @@ class ConfigController extends ActionController
|
|||
->order('enabled', 'desc')
|
||||
->order('name')
|
||||
->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()
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
<?php if (! $this->compact): ?>
|
||||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<?= $this->paginationControl($modules) ?>
|
||||
<?= $this->tabs; ?>
|
||||
<?= $this->sortBox; ?>
|
||||
<?= $this->limiter; ?>
|
||||
<?= $this->paginator; ?>
|
||||
<?= $this->filterEditor; ?>
|
||||
</div>
|
||||
|
||||
<?php endif ?>
|
||||
<div class="content">
|
||||
<table class="action" data-base-target="_next">
|
||||
<tbody>
|
||||
|
|
Loading…
Reference in New Issue