Changing (text) colours on all webpages
list Dennis Ortsen
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
Hi,
▸
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
▸
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
▸
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
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?
list Galen Johnson
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=
▸
-----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?