diff --git a/fhem/CHANGED b/fhem/CHANGED index 860ef30b0..452561942 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,6 +1,8 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. - SVN + - feature: Dashboard: Groupstitel now can show icons, + Backbutton in Fullsize-Mode - deleted: 51_BBB_WATCHDOG.pm - not really needed - bugfix: DbLog: adding ShutdownFunction - feature: YAMAHA_AVR: new attribute "disable" to disable cyclic status diff --git a/fhem/FHEM/95_Dashboard.pm b/fhem/FHEM/95_Dashboard.pm index bc20fcbe5..878010cae 100644 --- a/fhem/FHEM/95_Dashboard.pm +++ b/fhem/FHEM/95_Dashboard.pm @@ -36,12 +36,18 @@ # is stored after tab change # 2.04: change view of readingroups. Attribute dashboard_groups removed. New Attribute dashboard_webfrontendfilter to define # separate Dashboards per FHEMWEB Instance. +# 2.05: bugfix, changes in dashboard.js, groups can show Icons (group:icon@color,group:icon@color ...). "Back"-Button in Fullsize-Mode. +# Dashboard near top in Fullsize-Mode. dashboard_activetab store the active Tab, not the last active tab. # # Known Bugs/Todos: # BUG: Nicht alle Inhalte aller Tabs laden, bei Plots dauert die bedienung des Dashboards zu lange. -> elemente hidden? -# x TODO: Dashboard Config diverenzieren je auflösung -# x TODO: Darstellung von z.B. readingGroups +# xTODO: dashboard_activetab wieder zur ursprungsfunktion +# BUG: Variabler abstand wird nicht gesichert # TODO: personalisiertes CSS angeben und bestehende CSS zu überschreiben -> User-config +# BUG: dashboard_webfrontendfilter doesn't Work Antwort #469 +# TODO: More Tabs +# TODO: sortby +# TODO: sort by alias, eg sort by device name # Log 1, "[DASHBOARD simple debug] '".$g."' "; ######################################################################################## # @@ -79,6 +85,7 @@ use vars qw(%defs); # FHEM device/button definitions use vars qw($FW_wname); # Web instance use vars qw(%FW_hiddenroom);# hash of hidden rooms, used by weblink use vars qw(%FW_types); # device types +use vars qw($FW_ss); # is smallscreen, needed by 97_GROUP/95_VIEW # --------------------------- Global Variable ----------------------------------------------- my %group; @@ -86,7 +93,7 @@ my $fwjquery = "jquery.min.js"; my $fwjqueryui = "jquery-ui.min.js"; my $dashboardname = "Dashboard"; # Link Text my $dashboardhiddenroom = "DashboardRoom"; # Hiddenroom -my $dashboardversion = "2.04"; +my $dashboardversion = "2.05"; # ------------------------------------------------------------------------------------------- sub Dashboard_Initialize ($) { @@ -253,8 +260,6 @@ sub DashboardAsHtml($) if ($activetab > $tabcount) { $activetab = $tabcount; } $colwidth =~ tr/,/:/; - #if ($colwidth =~/[a-zA-Z]+$/) { Log 1, "[DASHBOARD simple debug] Nicht nur zahlen ".$colwidth; } #future release - if (not ($colheight =~ /^\d+$/)) { $colheight = 400 }; if (not ($rowtopheight =~ /^\d+$/)) { $rowtopheight = 50 }; if (not ($rowbottomheight =~ /^\d+$/)) { $rowbottomheight = 50 }; @@ -281,8 +286,9 @@ sub DashboardAsHtml($) if ($showtabs eq "tabs-and-buttonbar-at-the-top" || $showtabs eq "tabs-at-the-top-buttonbar-hidden") { $tabshow = "top";} if ($showtabs eq "tabs-and-buttonbar-on-the-bottom" || $showtabs eq "tabs-on-the-bottom-buttonbar-hidden") { $tabshow = "bottom";} - $ret .= "