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
In <3525C82ADD3BC441A25DD599CCFC592801B2C1A740 at hagsv0041.HendrickAuto.local> "Taylor, Robert" <Robert.Taylor at HendrickAuto.com> 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
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:henrik at hswn.dk] Sent: Tuesday, December 30, 2008 5:18 PM To: hobbit at hswn.dk Subject: Re: [hobbit] pagegen.c
In <3525C82ADD3BC441A25DD599CCFC592801B2C1A740 at hagsv0041.HendrickAuto.local> "Taylor, Robert" <Robert.Taylor at HendrickAuto.com> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
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 < Robert.Taylor at hendrickauto.com> 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:henrik at hswn.dk] Sent: Tuesday, December 30, 2008 5:18 PM To: hobbit at hswn.dk Subject: Re: [hobbit] pagegen.c
In <3525C82ADD3BC441A25DD599CCFC592801B2C1A740 at hagsv0041.HendrickAuto.local> "Taylor, Robert" <Robert.Taylor at HendrickAuto.com> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (3)
-
henrik@hswn.dk
-
josh@imaginenetworksllc.com
-
Robert.Taylor@HendrickAuto.com