icingaweb2-module-businessp.../application/controllers/IndexController.php

21 lines
559 B
PHP
Raw Normal View History

2015-03-16 04:08:00 -04:00
<?php
2015-11-17 08:21:59 -05:00
namespace Icinga\Module\Businessprocess\Controllers;
2016-12-09 03:53:36 -05:00
use Icinga\Module\Businessprocess\Web\Controller;
use Icinga\Module\Businessprocess\Web\Component\Dashboard;
2015-03-16 04:08:00 -04:00
2015-11-17 08:21:59 -05:00
class IndexController extends Controller
2015-03-16 04:08:00 -04:00
{
/**
* Show an overview page
2015-03-16 04:08:00 -04:00
*/
public function indexAction()
{
$this->setTitle($this->translate('Business Process Overview'));
$this->controls()->add($this->overviewTab());
$this->content()->add(Dashboard::create($this->Auth(), $this->storage()));
$this->setAutorefreshInterval(15);
2015-03-16 04:08:00 -04:00
}
}