From 7827b9e8887dd17764d60aabe1e03e0713c2ae53 Mon Sep 17 00:00:00 2001 From: Angelika Kinas Date: Thu, 11 Jan 2024 10:32:13 +0100 Subject: [PATCH 1/7] feat(DH): Add basiclightbox for thumbnail preview --- apps/datahub/project.json | 1 + .../record-metadata.component.html | 246 ++++++++++-------- .../record-metadata.component.ts | 11 + package-lock.json | 6 + package.json | 1 + 5 files changed, 159 insertions(+), 106 deletions(-) diff --git a/apps/datahub/project.json b/apps/datahub/project.json index aa1c97bd2d..7d3ed4e6a4 100644 --- a/apps/datahub/project.json +++ b/apps/datahub/project.json @@ -31,6 +31,7 @@ "tailwind.base.css", "apps/datahub/src/styles.css", "node_modules/tippy.js/dist/tippy.css", + "node_modules/basiclightbox/dist/basicLightbox.min.css", "node_modules/ol/ol.css", "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css" ], diff --git a/apps/datahub/src/app/record/record-metadata/record-metadata.component.html b/apps/datahub/src/app/record/record-metadata/record-metadata.component.html index c07d56fccc..618edd32c3 100644 --- a/apps/datahub/src/app/record/record-metadata/record-metadata.component.html +++ b/apps/datahub/src/app/record/record-metadata/record-metadata.component.html @@ -33,127 +33,161 @@ [metadataQualityDisplay]="metadataQualityDisplay" > - - - - + +
+ + zoom_out_map + +
+ +
+ + + + +
- -
-
-
-
- record.metadata.preview -
- - - - record.tab.map +
+
+
+ record.metadata.preview +
+ + + + record.tab.map + +
- -
- -
- - - - record.tab.data - -
- -
-
- - - record.tab.chart - -
- -
-
- + +
+
+ + + record.tab.data + +
+ +
+
+ + + record.tab.chart + +
+ +
+
+
+
-
- -
- -
- - +
-
-
-
-
- record.metadata.preview -
- - - - record.tab.map - -
- -
-
- - - record.tab.data - -
- -
-
- - - record.tab.chart - -
- -
-
-
+
+
+
+ record.metadata.preview
+ + + + record.tab.map + +
+ +
+
+ + + record.tab.data + +
+ +
+
+ + + record.tab.chart + +
+ +
+
+
- -
- -
+
+ +
+ +
-