mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°8641 - Dashboard editor front-end first commit for Form SDK integration.
* No dashlet edition * Dashboard are not persisted * Unable to load a dashboard from an endpoint (refresh) * Grid library need proper npm integration
This commit is contained in:
@@ -22,6 +22,8 @@ namespace Combodo\iTop\Application\UI\Base\Layout\PageContent;
|
||||
|
||||
use cmdbAbstractObject;
|
||||
use Combodo\iTop\Application\UI\Base\Layout\ActivityPanel\ActivityPanelFactory;
|
||||
use Combodo\iTop\Application\UI\Base\Layout\DashletPanel\DashletPanel;
|
||||
use Combodo\iTop\Application\UI\Base\Layout\DashletPanel\DashletPanelFactory;
|
||||
use Combodo\iTop\Application\UI\Base\Layout\Object\ObjectFactory;
|
||||
use DBObject;
|
||||
|
||||
@@ -71,4 +73,14 @@ class PageContentFactory
|
||||
|
||||
return $oLayout;
|
||||
}
|
||||
|
||||
public static function MakeForDashboard() {
|
||||
$oLayout = new PageContentWithSideContent();
|
||||
|
||||
// TODO 3.3 Add dashboard specific blocks
|
||||
$oDashletPanel = DashletPanelFactory::MakeForDashboardEditor();
|
||||
$oLayout->AddSideBlock($oDashletPanel);
|
||||
|
||||
return $oLayout;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user