mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
User editable dashboards... implementation in progress
SVN:trunk[2017]
This commit is contained in:
@@ -192,6 +192,42 @@ EOF
|
||||
|
||||
return $oForm;
|
||||
}
|
||||
|
||||
static public function IsVisible()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
class DashletEmptyCell extends Dashlet
|
||||
{
|
||||
public function __construct($sId)
|
||||
{
|
||||
parent::__construct($sId);
|
||||
}
|
||||
|
||||
public function Render($oPage, $bEditMode = false, $aExtraParams = array())
|
||||
{
|
||||
$oPage->add(' ');
|
||||
}
|
||||
|
||||
public function GetPropertiesFields(DesignerForm $oForm)
|
||||
{
|
||||
}
|
||||
|
||||
static public function GetInfo()
|
||||
{
|
||||
return array(
|
||||
'label' => 'Empty Cell',
|
||||
'icon' => 'images/dashlet-text.png',
|
||||
'description' => 'Empty Cell Dashlet Placeholder',
|
||||
);
|
||||
}
|
||||
|
||||
static public function IsVisible()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
class DashletHelloWorld extends Dashlet
|
||||
|
||||
Reference in New Issue
Block a user