mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
Tab extensions use imgs instead of icons
This commit is contained in:
parent
3faf1ec725
commit
445c981d01
@ -43,8 +43,6 @@ class BasketAction implements Tabextension
|
|||||||
* Applies the dashboard actions to the provided tabset
|
* Applies the dashboard actions to the provided tabset
|
||||||
*
|
*
|
||||||
* @param Tabs $tabs The tabs object to extend with
|
* @param Tabs $tabs The tabs object to extend with
|
||||||
*
|
|
||||||
* @see \Icinga\Web\Widget\Tabextension::apply()
|
|
||||||
*/
|
*/
|
||||||
public function apply(Tabs $tabs)
|
public function apply(Tabs $tabs)
|
||||||
{
|
{
|
||||||
|
@ -45,15 +45,13 @@ class DashboardAction implements Tabextension
|
|||||||
* Applies the dashboard actions to the provided tabset
|
* Applies the dashboard actions to the provided tabset
|
||||||
*
|
*
|
||||||
* @param Tabs $tabs The tabs object to extend with
|
* @param Tabs $tabs The tabs object to extend with
|
||||||
*
|
|
||||||
* @see \Icinga\Web\Widget\Tabextension::apply()
|
|
||||||
*/
|
*/
|
||||||
public function apply(Tabs $tabs)
|
public function apply(Tabs $tabs)
|
||||||
{
|
{
|
||||||
$tabs->addAsDropdown(
|
$tabs->addAsDropdown(
|
||||||
'dashboard',
|
'dashboard',
|
||||||
array(
|
array(
|
||||||
'iconCls' => 'icinga-icon-dashboard',
|
'icon' => 'img/icons/dashboard.png',
|
||||||
'title' => 'Add To Dashboard',
|
'title' => 'Add To Dashboard',
|
||||||
'url' => Url::fromPath('dashboard/addurl'),
|
'url' => Url::fromPath('dashboard/addurl'),
|
||||||
'urlParams' => array(
|
'urlParams' => array(
|
||||||
|
@ -65,21 +65,22 @@ class OutputFormat implements Tabextension
|
|||||||
private $supportedTypes = array(
|
private $supportedTypes = array(
|
||||||
self::TYPE_PDF => array(
|
self::TYPE_PDF => array(
|
||||||
'name' => 'pdf',
|
'name' => 'pdf',
|
||||||
'title' => '<i class="icinga-icon-pdf"></i> PDF',
|
'title' => 'PDF',
|
||||||
'urlParams' => array('format' => 'pdf')
|
'icon' => 'img/icons/pdf.png',
|
||||||
|
'urlParams' => array('filetype' => 'pdf')
|
||||||
),
|
),
|
||||||
/*
|
|
||||||
self::TYPE_CSV => array(
|
self::TYPE_CSV => array(
|
||||||
'name' => 'csv',
|
'name' => 'csv',
|
||||||
'title' => '<i class="icinga-icon-csv"></i> CSV',
|
'title' => 'CSV',
|
||||||
'urlParams' => array('format' => 'csv')
|
'icon' => 'img/icons/csv.png',
|
||||||
|
'urlParams' => array('filetype' => 'csv')
|
||||||
),
|
),
|
||||||
self::TYPE_JSON => array(
|
self::TYPE_JSON => array(
|
||||||
'name' => 'json',
|
'name' => 'json',
|
||||||
'title' => '<i class="icinga-icon-json"></i> JSON',
|
'title' => 'JSON',
|
||||||
'urlParams' => array('format' => 'json')
|
'icon' => 'img/icons/json.png',
|
||||||
|
'urlParams' => array('filetype' => 'json')
|
||||||
)
|
)
|
||||||
*/
|
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user