/list/{hosts,services}: add dashboard and menu actions

refs #27
This commit is contained in:
Alexander A. Klimov 2017-09-04 13:20:25 +02:00
parent 26ab619310
commit d573152028

View file

@ -5,9 +5,17 @@ namespace Icinga\Module\Graphite\Controllers;
use Icinga\Module\Monitoring\Controller;
use Icinga\Module\Monitoring\DataView\DataView;
use Icinga\Web\Url;
use Icinga\Web\Widget\Tabextension\DashboardAction;
use Icinga\Web\Widget\Tabextension\MenuAction;
class ListController extends Controller
{
public function init()
{
parent::init();
$this->getTabs()->extend(new DashboardAction())->extend(new MenuAction());
}
public function hostsAction()
{
$this->addTitleTab(