]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
xml-GUI: add separator between multi-slice FPGAs
authorJan Michel <j.michel@gsi.de>
Wed, 29 May 2019 11:43:43 +0000 (13:43 +0200)
committerJan Michel <j.michel@gsi.de>
Wed, 29 May 2019 11:44:00 +0000 (13:44 +0200)
web/htdocs/layout/blue.css
xml-db/get.pl

index 996b2d8e7eb7e0e7a722f8dc80f475292a2b1f60..b68c9d83a3e80239c65296bac9a11068552b847c 100644 (file)
@@ -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
+  }
index cc3bdb6c9332564fde9f80ab4d9032a5eee1e52d..899a21e868079f17f1c4eb27dd86600bd85a71e5 100755 (executable)
@@ -468,7 +468,10 @@ sub generateoutput {
         next unless defined $data->{$addr}->{$b} || !($obj->{mode} =~ /r/);
         $sl = sprintf("<td class=\"slice\"><div>%i<span class=\"tooltip\"><b>$name.$slice</b> (0x%04x)</span></div>",$slice,$addr) if ($once != 1 && defined $obj->{repeat});
 
-        $ttmp .= sprintf("<tr><td><div>%s<span class=\"tooltip\"><b>$name</b> on 0x%s<br>raw: 0x%x</span></div>%s",$b,$b,$data->{$addr}->{$b},$sl);
+        my $endslice = '';
+           $endslice = ' class="endslice"' if ($once != 1 && defined $obj->{repeat} && $slice+1 == $obj->{repeat});
+        
+        $ttmp .= sprintf("<tr%s><td><div>%s<span class=\"tooltip\"><b>$name</b> on 0x%s<br>raw: 0x%x</span></div>%s",$endslice,$b,$b,$data->{$addr}->{$b},$sl);
         if ($obj->{type} eq "register") {
           foreach my $c (@{$obj->{children}}) {
             my $fullc = $c;