Page 1 of 1
Nagios XI 5 - Identical icons
Posted: Tue Oct 20, 2015 8:01 am
by WillemDH
Hello,
Just noticed that in the new Host detail page, some icons are looking identical. It would be nice if each tab would have a different icon. More specific, I'm talking about the 'History', 'Notes' and 'Reactor' tab. Check screenshot.
Grtz
Willem
Re: Nagios XI 5 - Identical icons
Posted: Tue Oct 20, 2015 11:21 am
by jdalrymple
These are just a default for custom components. We know about the problem and have discussed it internally. Basically we need to define in the custom component framework a way for people to include their own icons.
I'll turn it into a formal feature request right now...
6681
Fair enough?
Re: Nagios XI 5 - Identical icons
Posted: Tue Oct 20, 2015 11:24 am
by WillemDH
Sure. But the Reactor tab is Nagios property right?
Thread can be closed. Thanks.
Re: Nagios XI 5 - Identical icons
Posted: Tue Oct 20, 2015 11:26 am
by jdalrymple
WillemDH wrote:But the Reactor tab is Nagios property right?
And that's why we link to forum threads in our feature requests
Closing.
Re: Nagios XI 5 - Identical icons
Posted: Mon Nov 02, 2015 10:31 am
by scottwilkerson
Already exists, you can customize the icons for your tabs in custom components, in your CALLBACK_SERVICE_TABS_INIT callback add “icon” to your array, similar to the following:
Code: Select all
$newtab = array(
"id" => "freevariabletab",
"title" => _("Free Variables"),
"content" => $content,
"icon" => '<i class="fa fa-line-chart fa-lg"></i>'
);
$cbdata["tabs"][] = $newtab;