From 52daeffbcb4ce1fddac2ba8980f12ddf823c6878 Mon Sep 17 00:00:00 2001
From: rudolfkoenig <>
Date: Fri, 15 Jul 2011 08:59:31 +0000
Subject: [PATCH] Smallscreen fixes for Opera&Firefox (Android)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@942 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
CHANGED | 3 +++
docs/HOWTO.html | 2 +-
docs/commandref.html | 12 ++++++------
docs/fhem.html | 3 +++
fhem.pl | 4 ++--
webfrontend/pgm2/01_FHEMWEB.pm | 16 ++++++++++------
webfrontend/pgm2/style.css | 3 ++-
webfrontend/pgm2/style_smallscreen.css | 20 +++++++++++++++-----
webfrontend/pgm2/style_touchpad.css | 19 +++++++++++++++----
9 files changed, 57 insertions(+), 25 deletions(-)
diff --git a/CHANGED b/CHANGED
index 9568a8ecf..b0ade72fe 100644
--- a/CHANGED
+++ b/CHANGED
@@ -1,3 +1,6 @@
+- CVS
+ - bugfix: applying smallscreen attributes to firefox/opera
+
- 2011-07-08 (5.1)
- feature: smallscreen optimizations for iPhone
- feature: FHT8V rewrite (and moved from contrib into the FHEM directory).
diff --git a/docs/HOWTO.html b/docs/HOWTO.html
index cd19824f1..4c5f6d350 100644
--- a/docs/HOWTO.html
+++ b/docs/HOWTO.html
@@ -276,7 +276,7 @@
your browser must support SVG. Firefox, Opera, Chrome, Safari
(both on OSX and iOS) support SVG out of the box, Internet Explorer
from version 9. IE prior to version 9 does it via the Adobe "SVG viewer"
- plugin, and some Android versions prior to 3.0 do not support it.
+ plugin, on Android you need Opera or Firefox.
SVG mode is the default, to change it set the plotmode attribute to gnuplot or
diff --git a/docs/commandref.html b/docs/commandref.html
index a958c888b..188077218 100644
--- a/docs/commandref.html
+++ b/docs/commandref.html
@@ -5748,9 +5748,9 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
The same scrolling as with gnuplot scroll, but the data is sent
as an SVG script to the frontend, which will compute
the image: no need for gnuplot on the backend.
- This is the default. Note: SVG is not supported on the Android
- platform and the Internet Explorer needs a plugin (as of
- 2010-05-15)
+ This is the default. Note: SVG is supported on the Android
+ platform by Opera/Firefox and the Internet Explorer before 9
+ needs a plugin.
See also the attribute fixedrange.
@@ -5786,9 +5786,9 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
devices (i.e. tablets)
Note: The default configuration installed with make install-pgm2
installs 2 FHEMWEB instances: port 8083 for desktop browsers and
- port 8084 for smallscreen browsers, both using SVG rendering. As
- Android does not support SVG at the moment, change plotmode to
- gnuplot-scroll.
+ port 8084 for smallscreen browsers, both using SVG rendering.
+ On Android SVG is supported by Opera/Firefox.
+
WebApp suppport if specifying one of the above options: After viewing
the site on the iPhone or iPad in Safari, add it to the home-screen to
get full-screen support.
diff --git a/docs/fhem.html b/docs/fhem.html
index e53bea58f..c648612e5 100644
--- a/docs/fhem.html
+++ b/docs/fhem.html
@@ -220,6 +220,9 @@