Xymon Mailing List Archive search

pagegen.c

4 messages in this thread

list Robert Taylor · Mon, 29 Dec 2008 20:45:48 -0500 ·
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 · Tue, 30 Dec 2008 22:18:17 +0000 (UTC) ·
quoted from Robert Taylor
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.
quoted from Robert Taylor
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 · Thu, 1 Jan 2009 22:33:24 -0500 ·
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
quoted from Henrik Størner

-----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 · Thu, 1 Jan 2009 22:43:42 -0500 ·
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 <
quoted from Robert Taylor
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