diff --git a/fhem/webfrontend/pgm5/README.txt b/fhem/webfrontend/pgm5/README.txt index 3a8e2ea2a..421d0c62a 100644 --- a/fhem/webfrontend/pgm5/README.txt +++ b/fhem/webfrontend/pgm5/README.txt @@ -7,7 +7,7 @@ Description of the pgm5 webfrontend: ################################################################################# # Copyright notice # -# (c) 2008-2009 +# (c) 2008-2012 # Copyright: Dr. Olaf Droegehorn # All rights reserved # diff --git a/fhem/webfrontend/pgm5/fhemweb.pl b/fhem/webfrontend/pgm5/fhemweb.pl index 23092efb3..341892dac 100644 --- a/fhem/webfrontend/pgm5/fhemweb.pl +++ b/fhem/webfrontend/pgm5/fhemweb.pl @@ -3,7 +3,7 @@ ################################################################################# # Copyright notice # -# (c) 2008-2009 +# (c) 2008-2012 # Copyright: Dr. Olaf Droegehorn # All rights reserved # @@ -572,6 +572,9 @@ showRoom() # Print the table headers my $t = $type; $t = "EM" if($t =~ m/^EM.*$/); + if (!(($t eq "FS20") || ($t eq "IT") || ($t eq "FHT") || ($t eq "FileLog") || ($t eq "at") || ($t eq "notify") || ($t eq "KS300") || ($t eq "FHZ") || ($t eq "FHEMWEB") || ($t eq "EM") || ($t eq "FHEMRENDERER"))) { + $t = "_internal_"; + } print " \n"; if($type eq "FS20") { @@ -579,6 +582,11 @@ showRoom() print ""; print "\n"; } + if($type eq "IT") { + print " "; + print ""; + print "\n"; + } if($type eq "FHT") { print " "; print ""; @@ -607,7 +615,7 @@ showRoom() my $v = $devs{$d}{state}; - if($type eq "FS20") { + if(($type eq "FS20") || ($type eq "IT")) { my $v = $devs{$d}{state}; my $iv = $v; @@ -651,7 +659,7 @@ showRoom() $v = int($v*20)/$v if($v =~ m/^[0-9].$/); print $q->hidden("arg.$d", "desired-temp"); print $q->hidden("dev.$d", $d); - print ""; diff --git a/fhem/webfrontend/pgm5/icons/IT.off.gif b/fhem/webfrontend/pgm5/icons/IT.off.gif new file mode 100644 index 000000000..c4a2fc94f Binary files /dev/null and b/fhem/webfrontend/pgm5/icons/IT.off.gif differ diff --git a/fhem/webfrontend/pgm5/icons/IT.on.gif b/fhem/webfrontend/pgm5/icons/IT.on.gif new file mode 100644 index 000000000..b385876e6 Binary files /dev/null and b/fhem/webfrontend/pgm5/icons/IT.on.gif differ diff --git a/fhem/webfrontend/pgm5/style.css b/fhem/webfrontend/pgm5/style.css index 5806c47ad..d44f30ef1 100644 --- a/fhem/webfrontend/pgm5/style.css +++ b/fhem/webfrontend/pgm5/style.css @@ -1,44 +1,50 @@ -body { color: black; background: #FFFFD7; } - -table { -moz-border-radius:8px; } - -table.room { border:thin solid; width: 100%; background: #D7FFFF; } -table.room tr.sel { background: #A0FFFF; } - -table.at { border:thin solid; width: 100%; background: #FFFFC0; } -table.at tr.odd { background: #FFFFD7; } - -table.notify { border:thin solid; width: 100%; background: #D7D7A0; } -table.notify tr.odd { background: #FFFFC0; } - -table.FileLog { border:thin solid; width: 100%; background: #FFC0C0; } -table.FileLog tr.odd { background: #FFD7D7; } - -table._internal_ { border:thin solid; width: 100%; background: #C0C0C0; } -table._internal_ tr.odd { background: #D7D7D7; } - -table.FS20 { border:thin solid; width: 100%; background: #C0FFFF; } -table.FS20 tr.odd { background: #D7FFFF; } - -table.FHT { border:thin solid; width: 100%; background: #FFC0C0; } -table.FHT tr.odd { background: #FFD7D7; } - -table.KS300 { border:thin solid; width: 100%; background: #C0FFC0; } -table.KS300 tr.odd { background: #A7FFA7; } - -table.FHZ { border:thin solid; width: 100%; background: #C0C0C0; } -table.FHZ tr.odd { background: #D7D7D7; } - -table.EM { border:thin solid; width: 100%; background: #E0E0E0; } -table.EM tr.odd { background: #F0F0F0; } - -table.FHEMWEB { border:thin solid; width: 100%; background: #E0E0E0; } -table.FHEMWEB tr.odd { background: #F0F0F0; } - -table.FHEMRENDERER { border:thin solid; width: 100%; background: #E0E0E0; } -table.FHEMRENDERER tr.odd { background: #F0F0F0; } - -#hdr { position:absolute; top:10px; left:10px; } -#left { position:absolute; top:50px; left:10px; width:130px; } -#right { position:absolute; top:50px; left:160px; - right:10px; bottom:10px; overflow:auto; } +body { color: black; background: #FFFFD7; } + +table { -moz-border-radius:8px; } +table { border:thin solid; width: 100%; background: #EAEAEA; } +table tr.odd { background: #F5F5F5; } + + +table.room { border:thin solid; width: 100%; background: #D7FFFF; } +table.room tr.sel { background: #A0FFFF; } + +table.at { border:thin solid; width: 100%; background: #FFFFC0; } +table.at tr.odd { background: #FFFFD7; } + +table.notify { border:thin solid; width: 100%; background: #D7D7A0; } +table.notify tr.odd { background: #FFFFC0; } + +table.FileLog { border:thin solid; width: 100%; background: #FFC0C0; } +table.FileLog tr.odd { background: #FFD7D7; } + +table._internal_ { border:thin solid; width: 100%; background: #EAEAEA; } +table._internal_ tr.odd { background: #F5F5F5; } + +table.FS20 { border:thin solid; width: 100%; background: #C0FFFF; } +table.FS20 tr.odd { background: #D7FFFF; } + +table.IT { border:thin solid; width: 100%; background: #C0FFFF; } +table.IT tr.odd { background: #D7FFFF; } + +table.FHT { border:thin solid; width: 100%; background: #FFC0C0; } +table.FHT tr.odd { background: #FFD7D7; } + +table.KS300 { border:thin solid; width: 100%; background: #C0FFC0; } +table.KS300 tr.odd { background: #A7FFA7; } + +table.FHZ { border:thin solid; width: 100%; background: #C0C0C0; } +table.FHZ tr.odd { background: #D7D7D7; } + +table.EM { border:thin solid; width: 100%; background: #E0E0E0; } +table.EM tr.odd { background: #F0F0F0; } + +table.FHEMWEB { border:thin solid; width: 100%; background: #E0E0E0; } +table.FHEMWEB tr.odd { background: #F0F0F0; } + +table.FHEMRENDERER { border:thin solid; width: 100%; background: #E0E0E0; } +table.FHEMRENDERER tr.odd { background: #F0F0F0; } + +#hdr { position:absolute; top:10px; left:10px; } +#left { position:absolute; top:50px; left:10px; width:130px; } +#right { position:absolute; top:50px; left:160px; + right:10px; bottom:10px; overflow:auto; }
Set to
IT dev.StateSet to
FHT dev.MeasuredSet to" . + print "" . $q->popup_menu(-name=>"val.$d", -values=>\@tv, -default=>$v) . $q->submit(-name=>"cmd.$d", -value=>"set") . "