pagegen.c
list Robert Taylor
So I had this idea to convert all of the presentation information in Xymon to CSS, well really just the text information right now and not so much the positioning of content. I'm not particularly good at programming, but have managed to convert everything to CSS, but can't find one thing. There is a <FONT> tag around each host, but I can't seem to find where the <FONT> tag is being applied. I can wrap a <SPAN> around the <FONT>, but I'd really prefer the <SPAN> only around the text. Can someone help me find where the <FONT> tag is applied for the individual host entries on the BBDISPLAY? Robert Taylor | Director of Information Technology | Hendrick Automotive Group Mobile Phone (704)241-4432 | NC Office (704)566-3380 | NC Fax (704)566-3341
list Henrik Størner
▸
In <user-27416fdff92f@xymon.invalid> "Taylor, Robert" <user-3e97fc7d80fd@xymon.invalid> writes:
So I had this idea to convert all of the presentation information in Xymon = to CSS, well really just the text information right now and not so much the= positioning of content.
I'm not particularly good at programming, but have managed to convert every= thing to CSS, but can't find one thing. There is a <FONT> tag around each = host, but I can't seem to find where the <FONT> tag is being applied. I ca= n wrap a <SPAN> around the <FONT>, but I'd really prefer the <SPAN> only ar= ound the text.
▸
Can someone help me find where the <FONT> tag is applied for the individual= host entries on the BBDISPLAY?
It's probably taken from the MKBBROWFONT setting in hobbitserver.cfg, so search for that in bbdisplay/pagegen.c (line 682 in Xymon 4.2.2). I would be interested if you would share the modifications you've done to make Xymon more CSS-customizable. Regards, Henrik
list Robert Taylor
Thanks for the pointer. I've managed to hack it up pretty well. Here is a screenshot of the home page as it is right now. I am trying to figure out a way to utilize more of the white space in between the various groups. Personally I like the symmetry of having everything the same width, but I need to figure out how to insert the column headings ever x number of hosts so that if you have a long list on a single page you can see what each column is. I'll keep hacking away. Robert
▸
-----Original Message-----
From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Tuesday, December 30, 2008 5:18 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] pagegen.c
In <user-27416fdff92f@xymon.invalid> "Taylor, Robert" <user-3e97fc7d80fd@xymon.invalid> writes:
So I had this idea to convert all of the presentation information in Xymon = to CSS, well really just the text information right now and not so much the= positioning of content.
I'm not particularly good at programming, but have managed to convert every= thing to CSS, but can't find one thing. There is a <FONT> tag around each = host, but I can't seem to find where the <FONT> tag is being applied. I ca= n wrap a <SPAN> around the <FONT>, but I'd really prefer the <SPAN> only ar= ound the text.
Can someone help me find where the <FONT> tag is applied for the individual= host entries on the BBDISPLAY?
It's probably taken from the MKBBROWFONT setting in hobbitserver.cfg, so search for that in bbdisplay/pagegen.c (line 682 in Xymon 4.2.2). I would be interested if you would share the modifications you've done to make Xymon more CSS-customizable. Regards, Henrik
Attachments (1)
list Josh Luthman
Wow. That looks amazing... If you wouldn't mind please do share it with the rest of the class when you feel it is ready to do so =) Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer On Thu, Jan 1, 2009 at 10:33 PM, Taylor, Robert <
▸
user-3e97fc7d80fd@xymon.invalid> wrote:
Thanks for the pointer. I've managed to hack it up pretty well. Here is a screenshot of the home page as it is right now. I am trying to figure out a way to utilize more of the white space in between the various groups. Personally I like the symmetry of having everything the same width, but I need to figure out how to insert the column headings ever x number of hosts so that if you have a long list on a single page you can see what each column is. I'll keep hacking away. Robert -----Original Message----- From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Tuesday, December 30, 2008 5:18 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] pagegen.c In <user-27416fdff92f@xymon.invalid> "Taylor, Robert" <user-3e97fc7d80fd@xymon.invalid> writes:So I had this idea to convert all of the presentation information in Xymon=to CSS, well really just the text information right now and not so much the= positioning of content.I'm not particularly good at programming, but have managed to convert every= thing to CSS, but can't find one thing. There is a <FONT> tag around each=host, but I can't seem to find where the <FONT> tag is being applied. I ca= n wrap a <SPAN> around the <FONT>, but I'd really prefer the <SPAN> only ar= ound the text.Can someone help me find where the <FONT> tag is applied for the individual= host entries on the BBDISPLAY?It's probably taken from the MKBBROWFONT setting in hobbitserver.cfg, so search for that in bbdisplay/pagegen.c (line 682 in Xymon 4.2.2). I would be interested if you would share the modifications you've done to make Xymon more CSS-customizable. Regards, Henrik
attachment.png