From 12dbf9255cd93e098ac451534a752d19a0b1da27 Mon Sep 17 00:00:00 2001 From: Michel Gabriel Date: Thu, 10 Oct 2024 12:50:16 +0200 Subject: [PATCH 1/2] Visual improvements to the Batch Editor pages: the UI is now similar to the `Editor Board` --- .../resources/catalog/style/gn_editor.less | 53 +- .../catalog/templates/editor/batchedit.html | 710 +++++++++--------- .../default/less/gn_results_default.less | 2 +- 3 files changed, 412 insertions(+), 353 deletions(-) diff --git a/web-ui/src/main/resources/catalog/style/gn_editor.less b/web-ui/src/main/resources/catalog/style/gn_editor.less index 64920135207..b35b292998d 100644 --- a/web-ui/src/main/resources/catalog/style/gn_editor.less +++ b/web-ui/src/main/resources/catalog/style/gn_editor.less @@ -701,9 +701,13 @@ table.gn-data-store { } .gn-batch-editor { - .gn-resultview li.list-group-item { - margin-bottom: 0px; - padding: 4px; + .gn-resultview { + margin-right: 0; + li.list-group-item { + border-width: 0 0 1px 0; + margin-bottom: 0; + padding: 10px 5px; + } } li.gn-batch-editor-info { margin-top: 11px; @@ -711,6 +715,49 @@ table.gn-data-store { [data-ng-search-form] .gn-top-search .gn-form-any { max-width: 80vw; } + fieldset { + + legend { + font-weight: bold; + } + fieldset { + padding: 15px 25px; + legend { + font-size: 18px; + margin-bottom: 0; + } + .form-group { + margin-left: 10px; + .clearfix(); + .list-group { + margin-bottom: 0; + } + &:first-child { + margin-top: 10px; + } + // select spatial extent + .gn-drawmap-panel { + .col-sm-3, .col-md-8 { + width: 100%; + padding-left: 0; + padding-right: 0; + } + } + } + } + } + [data-gn-slide-toggle] { + padding-left: 25px; + &:before { + content: "\f068"; + margin-left: -20px; + } + &.collapsed { + &:before { + content: "\2b"; + } + } + } } form.gn-tab-xml { diff --git a/web-ui/src/main/resources/catalog/templates/editor/batchedit.html b/web-ui/src/main/resources/catalog/templates/editor/batchedit.html index dbc3e2b6bbb..ee2541d8269 100644 --- a/web-ui/src/main/resources/catalog/templates/editor/batchedit.html +++ b/web-ui/src/main/resources/catalog/templates/editor/batchedit.html @@ -1,132 +1,125 @@ -
+
-
-

batchediting

-
-
+
+
+

batchediting

+
-
-
-
- -
- -
-
+
+
+ + +

chooseASetOfRecordHelp

+
-
+
+ +
-