From: Jan Michel Date: Mon, 7 May 2018 14:58:38 +0000 (+0200) Subject: add option to fold tables on xml web pages X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=d993841eb6f029bef4e5450ab1661df8e9e370b2;p=daqtools.git add option to fold tables on xml web pages --- diff --git a/web/htdocs/commands/xmlpage.pm b/web/htdocs/commands/xmlpage.pm index 02dd199..59d4233 100644 --- a/web/htdocs/commands/xmlpage.pm +++ b/web/htdocs/commands/xmlpage.pm @@ -25,6 +25,7 @@ sub initPage { my ($cmdMod,$cmdAddr,$cmdReg) = split('-',$setup[$active]->{cmd}); my $israte = $setup[$active]->{rate}; my $iscache = $setup[$active]->{cache}; + my $isfold = $setup[$active]->{fold}; $getscript = $page->{getscript}; if(!defined $getscript) { @@ -58,7 +59,7 @@ if($setup[$active]->{generic} == 1) { print qq|
+ style="width:250px;text-align:left"> |; } @@ -80,6 +81,8 @@ print qq|
{nocache}?'style="display:none"':"").qq|>
+
+
|; @@ -106,6 +109,9 @@ sub printJavaScripts { ####### javascript function land ################ print qq| +