From af53a894156e250b4734567df34dd740a5648e61 Mon Sep 17 00:00:00 2001 From: Stephen Kraffmiller Date: Wed, 1 Apr 2020 14:35:29 -0400 Subject: [PATCH] #6634 fix GB preview and Thumbnail popups --- src/main/webapp/dataset-license-terms.xhtml | 66 +------------- src/main/webapp/dataset-widgets.xhtml | 89 ++++++++++--------- src/main/webapp/dataset.xhtml | 4 + .../guestbook-preview-popup-fragment.xhtml | 80 +++++++++++++++++ 4 files changed, 132 insertions(+), 107 deletions(-) create mode 100644 src/main/webapp/guestbook-preview-popup-fragment.xhtml diff --git a/src/main/webapp/dataset-license-terms.xhtml b/src/main/webapp/dataset-license-terms.xhtml index 0d109f73f06..92beaf3210f 100644 --- a/src/main/webapp/dataset-license-terms.xhtml +++ b/src/main/webapp/dataset-license-terms.xhtml @@ -513,70 +513,6 @@ - - -
-

- #{bundle['dataset.manageGuestbooks.tab.action.btn.view.dialog.datasetGuestbook.title']} -

-
- -
-

- #{DatasetPage.selectedGuestbook.name} -

-
-
-
- -
-

- -

    - -
  • - -
  • -
    - -
  • - -
  • -
    -
-

- - -

- -

    - -
  • - -
  • -
    - -
  • - -
  • -
    -
-

-
-
-
-
-
- -
-
+ \ No newline at end of file diff --git a/src/main/webapp/dataset-widgets.xhtml b/src/main/webapp/dataset-widgets.xhtml index 14be8d1787c..34fae0ea0a6 100644 --- a/src/main/webapp/dataset-widgets.xhtml +++ b/src/main/webapp/dataset-widgets.xhtml @@ -22,9 +22,10 @@ + - +
- -

- #{bundle['dataset.thumbnailsAndWidget.removeThumbnail.tip']} -

-
- - -
-
- -
-
-

#{bundle['dataset.thumbnailsAndWidget.availableThumbnails.tip']}

- - - - - -
- - -
#{thumbnail.filename}
- -
-
-
-
-
-
-
- - -
-
-
+
@@ -184,7 +145,51 @@
+ + +

+ #{bundle['dataset.thumbnailsAndWidget.removeThumbnail.tip']} +

+
+ + +
+
+ +
+
+

#{bundle['dataset.thumbnailsAndWidget.availableThumbnails.tip']}

+ + + + + +
+ + +
#{thumbnail.filename}
+ +
+
+
+
+
+
+
+ + +
+
+ +
+ diff --git a/src/main/webapp/dataset.xhtml b/src/main/webapp/dataset.xhtml index d907aa5aceb..50e7ad53404 100644 --- a/src/main/webapp/dataset.xhtml +++ b/src/main/webapp/dataset.xhtml @@ -1323,6 +1323,10 @@ + + + + diff --git a/src/main/webapp/guestbook-preview-popup-fragment.xhtml b/src/main/webapp/guestbook-preview-popup-fragment.xhtml new file mode 100644 index 00000000000..a2640cf1b79 --- /dev/null +++ b/src/main/webapp/guestbook-preview-popup-fragment.xhtml @@ -0,0 +1,80 @@ + + + + + +

+ #{bundle['file.downloadDialog.tip']} +

+ +
+

+ #{bundle['dataset.manageGuestbooks.tab.action.btn.view.dialog.datasetGuestbook.title']} +

+
+ +
+

+ #{DatasetPage.selectedGuestbook.name} +

+
+
+
+ +
+

+ +

    + +
  • + +
  • +
    + +
  • + +
  • +
    +
+

+ + +

+ +

    + +
  • + +
  • +
    + +
  • + +
  • +
    +
+

+
+
+
+
+
+ +
+