Dashlet background color

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
colbyhart
Posts: 31
Joined: Mon Jan 30, 2012 11:16 am

Dashlet background color

Post by colbyhart »

Is there any way to change the dashlet background color. I can change the dashboard background color but not the dashlet.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Dashlet background color

Post by mguthrie »

In order to do this you'd actually have to modify the CSS file for the dashlet. Currently it's not a selectable option for individual dashlets.
colbyhart
Posts: 31
Joined: Mon Jan 30, 2012 11:16 am

Re: Dashlet background color

Post by colbyhart »

How do I find the CSS File? This is the Prebuilt VMware machine.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Dashlet background color

Post by mguthrie »

The CSS file can be found at:

/usr/local/nagiosxi/html/includes/dashlets/<dashlet_name>/<dashlet_name>.css

I'd suggest doing some experimenting with the helloword dashlet first, and then experiment with others from there.
colbyhart
Posts: 31
Joined: Mon Jan 30, 2012 11:16 am

Re: Dashlet background color

Post by colbyhart »

Sorry but I dont know what the helloword dashlet is or where to find it. I'm just learning nagiosxi.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Dashlet background color

Post by mguthrie »

You can download the code for any of your installed dashlets by accessing the Admin->Manage Dashlets page, and clicking the "Download" icon. From there you can make changes, re-zip the dashlet directory, and then install it again through the Admin->Manage Dashlets page.

Which dashlet were you looking to modify?
colbyhart
Posts: 31
Joined: Mon Jan 30, 2012 11:16 am

Re: Dashlet background color

Post by colbyhart »

we have moved past this it can be closed. Thanks
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Dashlet background color

Post by slansing »

Closing as resolved.
Locked