From 5689cf32d523b3726be2f6cde4e7b987e0610c19 Mon Sep 17 00:00:00 2001 From: Lunga Baliwe Date: Thu, 14 Nov 2024 21:10:16 +0200 Subject: [PATCH] Results tables to divs --- .../aquaculture/reports/AquaCultureMulti.pt | 147 ++++++++++++------ 1 file changed, 96 insertions(+), 51 deletions(-) diff --git a/src/bika/aquaculture/reports/AquaCultureMulti.pt b/src/bika/aquaculture/reports/AquaCultureMulti.pt index 329ca2e..b381ce9 100644 --- a/src/bika/aquaculture/reports/AquaCultureMulti.pt +++ b/src/bika/aquaculture/reports/AquaCultureMulti.pt @@ -99,7 +99,7 @@ .bgbehind { background-image:url(); - z-index:100; + z-index:-1; background-position: bottom center; background-repeat: no-repeat; position: absolute; @@ -109,6 +109,31 @@ width: ; } + .table { + display: table; + width: 100%; + } + + .table-row { + display: table-row; + } + + .table-header { + display: table-cell; + padding: 4px; + font-weight: bold; + border-top: 1px solid #ccc; + } + + .table-cell { + display: table-cell; + padding: 2px; + border-top: 1px solid #ccc; + width: 22mm; + } + .table.result .table-header.result { border: 1px solid #dee2e6 } + .table.result .table-cell.result{ border: 1px solid #dee2e6 } + -
Table : Summary of Results for
- +
+ +
-
- - - - - - +
Pool ID
+
CSID
+
Pond
+
Species
+
Age
+
Specimen Type
+
Sex
- - - - - - - +
+
+
+
+
+
Specimen Type
+
Sex
- - + +
-
+
+
+
+
+
+
+
- - - - - - - +
+
+
+
+
+
Specimen Type
+
Sex
- + + - - +
+
-
- - + +
+
+
+
+
+
+
+
-
- - - + +
+
+
+
+
+
+
+
+
- + -
Pool IDCSIDPondSpeciesAgeSpecimen TypeSex Specimen TypeSex - -
Specimen TypeSex -
-
-
- - -
+ +
+
Note: *N/A – Not Available ‡ND – Not Detected  Pooling info: -
-
+ +
@@ -585,7 +630,7 @@
+ tal:attributes="src string:${manager/absolute_url}/Signature" style="height:75px;z-index:-20"/>