mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
TacticalController: Remove UI tab element for exports
This commit is contained in:
parent
4074d7b3ac
commit
2902f3330c
@ -8,16 +8,9 @@ use Icinga\Module\Monitoring\Controller;
|
|||||||
use Icinga\Web\Url;
|
use Icinga\Web\Url;
|
||||||
use Icinga\Web\Widget\Tabextension\DashboardAction;
|
use Icinga\Web\Widget\Tabextension\DashboardAction;
|
||||||
use Icinga\Web\Widget\Tabextension\MenuAction;
|
use Icinga\Web\Widget\Tabextension\MenuAction;
|
||||||
use Icinga\Web\Widget\Tabextension\OutputFormat;
|
|
||||||
|
|
||||||
class TacticalController extends Controller
|
class TacticalController extends Controller
|
||||||
{
|
{
|
||||||
public function init()
|
|
||||||
{
|
|
||||||
parent::init();
|
|
||||||
$this->createTabs();
|
|
||||||
}
|
|
||||||
|
|
||||||
public function indexAction()
|
public function indexAction()
|
||||||
{
|
{
|
||||||
$this->setAutorefreshInterval(15);
|
$this->setAutorefreshInterval(15);
|
||||||
@ -111,12 +104,4 @@ class TacticalController extends Controller
|
|||||||
->render();
|
->render();
|
||||||
$this->view->statusSummary = $summary;
|
$this->view->statusSummary = $summary;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Create all tabs for this controller
|
|
||||||
*/
|
|
||||||
protected function createTabs()
|
|
||||||
{
|
|
||||||
$this->getTabs()->extend(new OutputFormat(['pdf']));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user