On Tue, Oct 16, 2012 at 08:41:02AM +0300, Balcoes wrote: > Hi. Is there a possibility to tweak the style sheet HAProxy uses? I have 5 > load balancers each serving 10+ servers. Every HAProxy instance is shown in > it's own browser frame. As it is now the dark red title (css "pxname") is > confusing as red color is associated with problems. A quick glance with the > corner of your eye shows that there's a speck of red and your heart takes an > extra jump. > > And being able to fiddle with the style sheet would enable me to change the > white background into some dark color, which would be easier on the eyes in > a dark room. Possibility to be able to change the style sheet would also > benefit the color blind users. > > So any possibility to tweak the style sheet? Keep up the good work. BA
The style sheet is embedded within the HTML response, so it's not easy to make it configurable. You can look at src/dumpstats.c, everything is there. If you come up with something that suits your usage better, submit it to the list, if everyone is OK with it we can merge it. Another possibility would probably be to have an option to replace the embedded CSS with a link to an external CSS. But I'm not sure it would be used that much. Regards, Willy

