PGM3 NewSkins
pgm3 with different colors - skinable
Required
- You need at least the version pgm3 v100108. This version is included in fhem-4.9.
Where to change the colors
There is a new section in the config.php which is called "SKINS - change your colors". There you will find further information.
The colors of links, mouse-over and other CSS are changeable in the <pgm3>/include/style.css. Be sure to have a backup. CSS is not a part of this page.
Example
########################## ##ORANGE $bodybg="bgcolor='#FFDAB9'"; $bg1="bgcolor='#FF8C00'"; $bg2="bgcolor='#FFA500'"; $bg4="bgcolor='#6394BD'"; $bg5="bgcolor='#FFFFFF'"; $fontcolor1="color='#000000'"; $fontcolor3="color='#000000'"; # The Button needs decimal Code Instead Hex. # Use the column left from the HEX on # [http://www.farb-tabelle.de/de/farbtabelle.htm http://www.farb-tabelle.de/de/farbtabelle.htm] # You must delete the old graphics after the change. "rm <pgm3>/tmp/*" $buttonBg_R='255';$buttonBg_G='165';$buttonBg_B='0'; #Dec-Code from $bg1: $bg1_R='255';$bg1_G='140';$bg1_B='0';
Screenshot
This will create a pgm3 which looks like the orange on the screenshot-page
Colors in HEX and decimal
HTML needs colors in Hexformat like #FFFFFF for white. The php library needs this in Dec like 255,140,0
There is a nice website with a table of all you need: [1].
Hints
pgm3 only creates new pictures if it is required. That means that you can not see your changes directly. In this case erase all your old pictures. They resides under pgm3 in the tmp-Directory:
rm <pgm3>/tmp/*
Limitations
- At the moment the fonts in the php-graphics are black. This means that you need a bright background to read this