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
|
||||
*
|
||||
* @param Tabs $tabs The tabs object to extend with
|
||||
*
|
||||
* @see \Icinga\Web\Widget\Tabextension::apply()
|
||||
*/
|
||||
public function apply(Tabs $tabs)
|
||||
{
|
||||
|
|
|
@ -45,15 +45,13 @@ class DashboardAction implements Tabextension
|
|||
* Applies the dashboard actions to the provided tabset
|
||||
*
|
||||
* @param Tabs $tabs The tabs object to extend with
|
||||
*
|
||||
* @see \Icinga\Web\Widget\Tabextension::apply()
|
||||
*/
|
||||
public function apply(Tabs $tabs)
|
||||
{
|
||||
$tabs->addAsDropdown(
|
||||
'dashboard',
|
||||
array(
|
||||
'iconCls' => 'icinga-icon-dashboard',
|
||||
'icon' => 'img/icons/dashboard.png',
|
||||
'title' => 'Add To Dashboard',
|
||||
'url' => Url::fromPath('dashboard/addurl'),
|
||||
'urlParams' => array(
|
||||
|
|
|
@ -65,21 +65,22 @@ class OutputFormat implements Tabextension
|
|||
private $supportedTypes = array(
|
||||
self::TYPE_PDF => array(
|
||||
'name' => 'pdf',
|
||||
'title' => '<i class="icinga-icon-pdf"></i> PDF',
|
||||
'urlParams' => array('format' => 'pdf')
|
||||
'title' => 'PDF',
|
||||
'icon' => 'img/icons/pdf.png',
|
||||
'urlParams' => array('filetype' => 'pdf')
|
||||
),
|
||||
/*
|
||||
self::TYPE_CSV => array(
|
||||
'name' => 'csv',
|
||||
'title' => '<i class="icinga-icon-csv"></i> CSV',
|
||||
'urlParams' => array('format' => 'csv')
|
||||
'title' => 'CSV',
|
||||
'icon' => 'img/icons/csv.png',
|
||||
'urlParams' => array('filetype' => 'csv')
|
||||
),
|
||||
self::TYPE_JSON => array(
|
||||
'name' => 'json',
|
||||
'title' => '<i class="icinga-icon-json"></i> JSON',
|
||||
'urlParams' => array('format' => 'json')
|
||||
'title' => 'JSON',
|
||||
'icon' => 'img/icons/json.png',
|
||||
'urlParams' => array('filetype' => 'json')
|
||||
)
|
||||
*/
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue