Page 1 of 1

editing xi css pt.2

Posted: Thu Jul 18, 2013 12:19 pm
by benhank
I thought I had it...

ok in ccm\host\>open a host<
host detail
"description"
1.JPG
is displayed as
"alias" when viewing the actual host in XI.
2.JPG
You might not believe this, (because I know I don't), but this is actually confusing for some of my users.
I tried to use Firebug, but then it got confusing for me (no surprise there). I can't seem to locate the line or the css page that needs to be edited.

Re: editing xi css pt.2

Posted: Thu Jul 18, 2013 2:12 pm
by sreinhardt
I actually doubt you can modify that particular component.. I may be wrong though. Most likely it is encrypted. Otherwise, I actually can see where its a little bit misleading but once you understand it, its not bad. If you can edit it, I would suggest starting in /usr/local/nagiosxi/html/includes/components/ccm/ and grepping for your line.

grep -Ri 'description' ./*

edit: actually looks like its line 139 of /usr/local/nagiosxi/html/includes/components/ccm/page_templates/common_settings.php

Again just want to state that I may have a different version with this not encrypted for testing. If you find that to be the case, we can see what is possible, but it would need to be modified each time we\you update.

Re: editing xi css pt.2

Posted: Thu Jul 18, 2013 2:58 pm
by benhank
thanks man, but I give up. It has something to do with "tfriendly" which pulls from somewhere else. thanks for trying.

Re: editing xi css pt.2

Posted: Thu Jul 18, 2013 3:46 pm
by slansing
Alrighty! Well if you would like to see this changed, go ahead and send us a feature request!

http://tracker.nagios.com/

Re: editing xi css pt.2

Posted: Thu Jul 18, 2013 3:58 pm
by benhank
I'd rather see how the feature would be changed =D but kk bro lock it down, we all set.