Page 1 of 1
How to change XI colors (Green background tables )
Posted: Sat Jun 11, 2016 7:58 am
by dlukinski
Hello XI support
How to change green table background in tables?
- really hard on eyes when tables big and checks are many
Thank you
Re: How to change XI colors (Green background tables )
Posted: Mon Jun 13, 2016 10:03 am
by rkennedy
Can you show us a screenshot of what part / page you're looking to change exactly?
Re: How to change XI colors (Green background tables )
Posted: Tue Jun 14, 2016 6:28 am
by dlukinski
rkennedy wrote:Can you show us a screenshot of what part / page you're looking to change exactly?
Here you go (original a lot larger and way too green (make sit hard to read)
Re: How to change XI colors (Green background tables )
Posted: Tue Jun 14, 2016 9:25 am
by mcapra
That particular green exists in many different places in many different stylesheets. You could certainly do a grep search through *.css for
#B2FF5F and replace it with your choice color, but this is something that is unlikely to persist through updates to your Nagios XI installation.
Alternate stylesheets is a planned feature for Nagios XI, but it is not implemented in the current version (5.2.8).
In the interim, you might look into something like Stylebot (Chrome), Stylish (Chrome, Firefox), Greasemonkey (Firefox), or Tampermonkey (Chrome) for your solution.
For reference, these are the relevant selectors for the "Host Group Status" page (in base.css):
Code: Select all
.statustable .serviceok {
background-color: #B2FF5F !important;
padding: 2px 4px;
}
.statustable .hostup {
background-color: #B2FF5F !important;
padding: 2px 4px;
}
Re: How to change XI colors (Green background tables )
Posted: Wed Jun 15, 2016 10:47 am
by dlukinski
mcapra wrote:That particular green exists in many different places in many different stylesheets. You could certainly do a grep search through *.css for
#B2FF5F and replace it with your choice color, but this is something that is unlikely to persist through updates to your Nagios XI installation.
Alternate stylesheets is a planned feature for Nagios XI, but it is not implemented in the current version (5.2.8).
In the interim, you might look into something like Stylebot (Chrome), Stylish (Chrome, Firefox), Greasemonkey (Firefox), or Tampermonkey (Chrome) for your solution.
For reference, these are the relevant selectors for the "Host Group Status" page (in base.css):
Code: Select all
.statustable .serviceok {
background-color: #B2FF5F !important;
padding: 2px 4px;
}
.statustable .hostup {
background-color: #B2FF5F !important;
padding: 2px 4px;
}
Thank you
going to wait until this is implemented as feature in XI
Re: How to change XI colors (Green background tables )
Posted: Wed Jun 15, 2016 10:55 am
by mcapra
Is it alright if I lock this thread?
Re: How to change XI colors (Green background tables )
Posted: Fri Jun 17, 2016 6:53 am
by dlukinski
mcapra wrote:Is it alright if I lock this thread?
Yes Please