Xymon Mailing List Archive search

Changing (text) colours on all webpages

6 messages in this thread

list Dennis Ortsen · Wed, 23 May 2007 11:58:49 +0200 ·
Hi All,

If I wanted to change all the used colours on all webpages, what places
should I check?

I have changed the background gifs and all the text and background colours
located in the ~hobbit/server/web directory. I have also changed colours in
hobbitserver.cfg (the part that determines how bbgen generates webpages).
But still some generated pages (mainly tables) have a different background
and text colour than the colours I specified.

Are some colours hardcoded or haven't I searched hard enough?

Thanks in advance,

Dennis
list Charles Goyard · Wed, 23 May 2007 12:09:02 +0200 ·
Hi,
quoted from Dennis Ortsen

Dennis Ortsen wrote :
If I wanted to change all the used colours on all webpages, what places
should I check?
some of the html tagging is hardcoded into hobbit. I wanted to have a
white background/black foreground color scheme and gave up...

-- 
Charles Goyard - user-a6cdca7046e2@xymon.invalid - (+33) 1 45 38 01 31
Orange Business Services - online multimedia  // ingénierie
list Henrik Størner · Wed, 23 May 2007 14:35:02 +0200 ·
quoted from Dennis Ortsen
On Wed, May 23, 2007 at 11:58:49AM +0200, Dennis Ortsen wrote:
If I wanted to change all the used colours on all webpages, what places
should I check?

I have changed the background gifs and all the text and background colours
located in the ~hobbit/server/web directory. I have also changed colours in
hobbitserver.cfg (the part that determines how bbgen generates webpages).
But still some generated pages (mainly tables) have a different background
and text colour than the colours I specified.

Are some colours hardcoded or haven't I searched hard enough?
I'm afraid they are. The Hobbit webpages are not completely
configurable; you can change some things through the web/* files,
the gifs, and the HTML settings in hobbitserver.cfg, but some
of it is embedded inside the code that generates the webpages.
Not pretty, but also not a high-priority thing to change.


Regards,
Henrik
list Kevin Kadow · Wed, 23 May 2007 10:09:43 -0500 ·
quoted from Henrik Størner
On 5/23/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, May 23, 2007 at 11:58:49AM +0200, Dennis Ortsen wrote:
Are some colours hardcoded or haven't I searched hard enough?
I'm afraid they are. The Hobbit webpages are not completely
configurable; you can change some things through the web/* files,
the gifs, and the HTML settings in hobbitserver.cfg, but some
of it is embedded inside the code that generates the webpages.
Not pretty, but also not a high-priority thing to change.
I looked into this a while back, and if somebody has the time, it
would be more tedious than difficult to convert to CSS, making it much
easier to change the look globally by editing just a single hobbit.css
file in the webpage root.

Any volunteers?
list Tod Hansmann · Wed, 23 May 2007 11:57:09 -0600 ·
You also lose some compatability that way with older browsers, but it's
doable.  

I just wanted to point out that we did it for our implementation just by
editing the display code (nicely kept in one folder).  Wasn't hard, and
we don't change it often, so deciding once wasn't difficult.

Tod Hansmann
Network Engineer
quoted from Kevin Kadow
 
 
-----Original Message-----
From: K K [mailto:user-369336968bd5@xymon.invalid] 
Sent: Wednesday, May 23, 2007 9:10 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Changing (text) colours on all webpages

On 5/23/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, May 23, 2007 at 11:58:49AM +0200, Dennis Ortsen wrote:
Are some colours hardcoded or haven't I searched hard enough?
I'm afraid they are. The Hobbit webpages are not completely
configurable; you can change some things through the web/* files,
the gifs, and the HTML settings in hobbitserver.cfg, but some
of it is embedded inside the code that generates the webpages.
Not pretty, but also not a high-priority thing to change.
I looked into this a while back, and if somebody has the time, it
would be more tedious than difficult to convert to CSS, making it much
easier to change the look globally by editing just a single hobbit.css
file in the webpage root.

Any volunteers?
list Galen Johnson · Wed, 23 May 2007 14:01:28 -0400 ·
All in one folder screams "theme"...curious how much work it would really take....not much of a C developer or I'd take it on.

=G= 
quoted from Tod Hansmann

-----Original Message-----
From: Tod Hansmann [mailto:user-b6e28cb93fa4@xymon.invalid] 
Sent: Wednesday, May 23, 2007 1:57 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Changing (text) colours on all webpages

You also lose some compatability that way with older browsers, but it's doable.  

I just wanted to point out that we did it for our implementation just by editing the display code (nicely kept in one folder).  Wasn't hard, and we don't change it often, so deciding once wasn't difficult.

Tod Hansmann
Network Engineer
 
 
-----Original Message-----
From: K K [mailto:user-369336968bd5@xymon.invalid]
Sent: Wednesday, May 23, 2007 9:10 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Changing (text) colours on all webpages

On 5/23/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, May 23, 2007 at 11:58:49AM +0200, Dennis Ortsen wrote:
Are some colours hardcoded or haven't I searched hard enough?
I'm afraid they are. The Hobbit webpages are not completely 
configurable; you can change some things through the web/* files, the 
gifs, and the HTML settings in hobbitserver.cfg, but some of it is 
embedded inside the code that generates the webpages.
Not pretty, but also not a high-priority thing to change.
I looked into this a while back, and if somebody has the time, it would be more tedious than difficult to convert to CSS, making it much easier to change the look globally by editing just a single hobbit.css file in the webpage root.

Any volunteers?