Replaced a few icons with imgs
This commit is contained in:
parent
b6dbfaa6b8
commit
914806e229
|
@ -86,7 +86,7 @@ class ConfirmRemovalForm extends Form
|
||||||
'escape' => false,
|
'escape' => false,
|
||||||
'value' => '1',
|
'value' => '1',
|
||||||
'class' => 'btn btn-cta btn-common',
|
'class' => 'btn btn-cta btn-common',
|
||||||
'label' => '<i class="icinga-icon-remove"></i> Confirm Removal'
|
'label' => $this->view->img('img/icons/remove.png') . ' Confirm Removal'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,11 +98,11 @@ class Zend_View_Helper_CommandForm extends Zend_View_Helper_Abstract
|
||||||
*
|
*
|
||||||
* @return Form
|
* @return Form
|
||||||
*/
|
*/
|
||||||
public function iconSubmitForm($iconCls, $submitTitle, $cls, $commandName, array $arguments = array())
|
public function iconSubmitForm($icon, $submitTitle, $cls, $commandName, array $arguments = array())
|
||||||
{
|
{
|
||||||
$form = $this->labelSubmitForm('', $submitTitle, $cls, $commandName, $arguments);
|
$form = $this->labelSubmitForm('', $submitTitle, $cls, $commandName, $arguments);
|
||||||
$submit = $form->getElement('btn_submit');
|
$submit = $form->getElement('btn_submit');
|
||||||
$submit->setLabel(sprintf('<i class="%s"></i>', $iconCls));
|
$submit->setLabel($this->view->img($icon));
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<a href="<?= Url::fromPath('/monitoring/config/createbackend')->getAbsoluteUrl();?>">
|
<a href="<?= Url::fromPath('/monitoring/config/createbackend')->getAbsoluteUrl();?>">
|
||||||
<i class="icinga-icon-create"></i> Create New Monitoring Backend
|
<?= $this->img('img/icons/create.png') ?> Create New Monitoring Backend
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
Loading…
Reference in New Issue