mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-08 05:15:10 +00:00
98_DOIF.pm: new Table: "<" improvements
git-svn-id: https://svn.fhem.de/fhem/trunk@24330 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9b8c157659
commit
b8d6265b01
@ -667,12 +667,12 @@ sub DOIF_RegisterEvalAll
|
||||
return undef if (!defined $hash->{$table}{table});
|
||||
#$ret =~ s/class\=\'block\'/$hash->{$table}{table}/ if($hash->{$table}{table});
|
||||
if ($table eq "uiTable") {
|
||||
$hash->{$table}{header}= "\n<table uitabid='DOIF-$d' class=' block wide ".$table."doif doif-$d ' style='".($hash->{$table}{tablestyle} ? $hash->{$table}{tablestyle} : "")."'".
|
||||
$ret.= "\n<table uitabid='DOIF-$d' class=' block wide ".$table."doif doif-$d ' style='".($hash->{$table}{tablestyle} ? $hash->{$table}{tablestyle} : "")."'".
|
||||
" doifnostate='".($hash->{$table}{shownostate} ? $hash->{$table}{shownostate} : "")."'".
|
||||
" doifnodevline='".($hash->{$table}{shownodeviceline} ? $hash->{$table}{shownodeviceline} : "")."'".
|
||||
" doifattrfirst='".($hash->{$table}{attributesfirst} ? $hash->{$table}{attributesfirst} : "")."'".
|
||||
">";
|
||||
$ret.=$hash->{$table}{header};
|
||||
$hash->{$table}{header}= "\n<table uitabid='DOIF-$d' class=' block wide ".$table."doif doif-$d ' style='border-top:none;".($hash->{$table}{tablestyle} ? $hash->{$table}{tablestyle} : "")."'>";
|
||||
#$ret .= "\n<table uitabid='DOIF-$d' class=' ".$table."doif doif-$d ' style='".($hash->{$table}{tablestyle} ? $hash->{$table}{tablestyle} : "")."'>";
|
||||
} else {
|
||||
$ret .= "\n<table uitabid='DOIF-$d' class=' ".$table."doif doif-$d ' style='".($hash->{$table}{tablestyle} ? $hash->{$table}{tablestyle} : "")."'".
|
||||
@ -4629,10 +4629,10 @@ sub card
|
||||
$out.= $svg_icon;
|
||||
$out.='</g>';
|
||||
}
|
||||
$out.='<polyline points="11,23 169,23" style="stroke:gray; stroke-width:1" />';
|
||||
$out.='<polyline points="11,23 169,23" style="stroke:gray; stroke-width:0.7" />';
|
||||
}
|
||||
$out.= sprintf('<g transform="translate(0,%d)">',$htrans);
|
||||
$out.='<polyline points="11,73 169,73" style="stroke:gray; stroke-width:1" />';
|
||||
$out.='<polyline points="11,73 169,73" style="stroke:gray; stroke-width:0.7" />';
|
||||
$out.= '<svg width="104" height="72">';
|
||||
$out.= '<g transform="translate(35,8) scale(1) ">';
|
||||
my $points="";
|
||||
|
Loading…
x
Reference in New Issue
Block a user