Notifications
Clear all

Dark theme

9 Posts
5 Users
0 Reactions
852 Views
b9ac340bb36041f53cd3450973068f91?s=80&d=mm&r=g
Posts: 4
Topic starter
(@dragosneagu95)
Active Member
Joined: 2 weeks ago

Hello everyone,

 

I have recently updated my Nagios Core to version 4.5.7. Unfortunately, I didn't save the config for dark theme for the background. Can you help me where I find the file and what I have to modify to make my background dark?

 

Thank you!

8 Replies
f63654a35ea0c3ef153a4cd650ec4e56?s=80&d=mm&r=g
Posts: 9
Admin
(@sandor)
Member
Joined: 2 months ago

Hey Dragisbeagy95,

I'm unsure of a config file for updating the styling, I would think it would require updating the css file but I can continue to look and get back to you on that. Notably core 4.5.7 did have a update to the styling which includes a dark background, does the question mean you had changes prior to include a dark background prior to these changes? Or is it more that after the update you are not seeing these styling changes? Here is a github link for the merge request that includes the styling changes if it helps. https://github.com/NagiosEnterprises/nagioscore/compare/293b3299e597b282480591c282ec90e138612b37...402fbc402e8c42a376703bcfbbb50c15eb5539f3

Thanks,
Sandor

Reply
b9ac340bb36041f53cd3450973068f91?s=80&d=mm&r=g
Posts: 4
Topic starter
(@dragosneagu95)
Active Member
Joined: 2 weeks ago

Hi Sandor,

I've attached the picture with light background. On the previous version it was dark. This background I want to modify.

Reply
0959e40b151a6923a10e38782cecb12e?s=80&d=mm&r=g
Posts: 3
Admin
(@jmichaelson)
Member
Joined: 2 months ago

Hey Dragisbeagy95,

I'm having a hard time seeing a dark theme on these pages even in 4.5.7 or 4.5.8. The dark theme is applying to the menu on the left side of the page for me. Is it for you as well?

These styles are coming from /usr/local/nagios/share/stylesheets/common.css. is it possible you'd made changes to this file before you did the upgrade?

Reply
1 Reply
b9ac340bb36041f53cd3450973068f91?s=80&d=mm&r=g
(@dragosneagu95)
Joined: 2 weeks ago

Active Member
Posts: 4

@jmichaelson It would have been a good idea to save that file before upgrading to a new version. I made some changes on my current common.css but there is no difference. It's the same background.

Reply
90d785c03ca4b78df69bb5f72612861d?s=80&d=mm&r=g
Posts: 8
Admin
(@nagios-laura)
Member
Joined: 2 months ago

Hi dragosneagu95,

There are a couple of dark themes on the Nagios Exchange.  Did your Core GUI look like either of these themes, before the upgrade?

Nagios Core Dark Theme only CSS

Nagios 4 Dark Theme

If this is what you need, you can find them at Exchange Search - core dark theme

Reply
1 Reply
b9ac340bb36041f53cd3450973068f91?s=80&d=mm&r=g
(@dragosneagu95)
Joined: 2 weeks ago

Active Member
Posts: 4

@nagios-laura I have followed your two links and did the configurations but nothing have changed. I have copied the new files to my server, restarted the nagios.service, but nothing have changed. It's the same white background

Reply
Page 1 / 2
Share: