From c99b8085c6111624daab5bab15c2c4ef9e1065cd Mon Sep 17 00:00:00 2001 From: Rushiraj Nenuji <19696935+rushirajnenuji@users.noreply.github.com> Date: Thu, 17 Aug 2023 11:51:21 -0700 Subject: [PATCH] [WIP] Entity modal dialog --- src/css/metacatui-common.css | 13 +++- src/js/templates/entityModal.html | 50 ++++++++------ src/js/views/EntityModalView.js | 16 ++++- src/js/views/MetadataIndexView.js | 12 ++-- src/js/views/MetadataView.js | 107 ++++++++++++++++++++++-------- 5 files changed, 137 insertions(+), 61 deletions(-) diff --git a/src/css/metacatui-common.css b/src/css/metacatui-common.css index 49a3c41e7..65daa7e01 100644 --- a/src/css/metacatui-common.css +++ b/src/css/metacatui-common.css @@ -9174,4 +9174,15 @@ body > #extension-is-installed{ border: 0px; box-shadow: none; border: 1px solid #146660; - } \ No newline at end of file + } + +.entity.modal { + width: calc(100% - 215px); /* 100% - prov-chart width - (padding + borders)*/ + left: 20%; +} +.entityDetails > .modal-body { + height: calc(100% - 215px); +} +.entity.modal > .form-horizontal > .entityDetails > .modal-dialog > .modal-content > .modal-body { + max-height: 750px; +} \ No newline at end of file diff --git a/src/js/templates/entityModal.html b/src/js/templates/entityModal.html index 84ab78c92..0af1b3ccb 100644 --- a/src/js/templates/entityModal.html +++ b/src/js/templates/entityModal.html @@ -1,25 +1,33 @@ -