From: Jan Michel Date: Wed, 29 May 2019 11:43:43 +0000 (+0200) Subject: xml-GUI: add separator between multi-slice FPGAs X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=6dbe2744e3769ca2becd453efb1190e50900c208;p=daqtools.git xml-GUI: add separator between multi-slice FPGAs --- diff --git a/web/htdocs/layout/blue.css b/web/htdocs/layout/blue.css index 996b2d8..b68c9d8 100644 --- a/web/htdocs/layout/blue.css +++ b/web/htdocs/layout/blue.css @@ -397,6 +397,13 @@ table.queryresult th div, table.queryresult td div { cursor:default; } +tr.endslice td { + + border-bottom: 2px solid !important; + border-bottom-color: inherit !important; + +} + /***************** * Table for scaler view @@ -421,4 +428,4 @@ table.scalers td:first-child{ .scalers tr:first-child { border-bottom:1px solid #555; - } \ No newline at end of file + } diff --git a/xml-db/get.pl b/xml-db/get.pl index cc3bdb6..899a21e 100755 --- a/xml-db/get.pl +++ b/xml-db/get.pl @@ -468,7 +468,10 @@ sub generateoutput { next unless defined $data->{$addr}->{$b} || !($obj->{mode} =~ /r/); $sl = sprintf("
%i$name.$slice (0x%04x)
",$slice,$addr) if ($once != 1 && defined $obj->{repeat}); - $ttmp .= sprintf("
%s$name on 0x%s
raw: 0x%x
%s",$b,$b,$data->{$addr}->{$b},$sl); + my $endslice = ''; + $endslice = ' class="endslice"' if ($once != 1 && defined $obj->{repeat} && $slice+1 == $obj->{repeat}); + + $ttmp .= sprintf("
%s$name on 0x%s
raw: 0x%x
%s",$endslice,$b,$b,$data->{$addr}->{$b},$sl); if ($obj->{type} eq "register") { foreach my $c (@{$obj->{children}}) { my $fullc = $c;