From e325ac0e01e286e38e4dd7d73e052483cdaf25e1 Mon Sep 17 00:00:00 2001 From: Erik Perrone Date: Tue, 20 Mar 2018 16:03:42 +0000 Subject: [PATCH] minor problem solved... git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/nlphub@165270 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../org/gcube/nlphub/nlp/RunnerCommander.java | 1 + src/main/webapp/css/custom.css | 17 +++++++++++++++++ src/main/webapp/index.jsp | 4 ++-- src/main/webapp/js/main.js | 19 +++++-------------- 4 files changed, 25 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/gcube/nlphub/nlp/RunnerCommander.java b/src/main/java/org/gcube/nlphub/nlp/RunnerCommander.java index 62a9571..9d802d1 100644 --- a/src/main/java/org/gcube/nlphub/nlp/RunnerCommander.java +++ b/src/main/java/org/gcube/nlphub/nlp/RunnerCommander.java @@ -85,6 +85,7 @@ public class RunnerCommander extends Thread { long counter = 0; try { while (counter <= maxWaitingTime) { + //logger.info("complete: " + outResultList.size() + "/" + identifiers.length); if (outResultList.size() == identifiers.length) { String[] links = new String[outResultList.size()]; links = outResultList.toArray(links); diff --git a/src/main/webapp/css/custom.css b/src/main/webapp/css/custom.css index 74db0f5..acec328 100644 --- a/src/main/webapp/css/custom.css +++ b/src/main/webapp/css/custom.css @@ -285,6 +285,23 @@ select { width: 100%; height: 100%; } + .left-side-half { + height: 4vh; + } +} + +@media (max-width: 430px) { + .left-side { + width: 100%; + height: 100%; + } + .right-side { + width: 100%; + height: 100%; + } + .left-side-half { + height: 6vh; + } } #algorithm-param_div { diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 589ee3b..aa75164 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -102,12 +102,12 @@
diff --git a/src/main/webapp/js/main.js b/src/main/webapp/js/main.js index 667b1f5..6493189 100644 --- a/src/main/webapp/js/main.js +++ b/src/main/webapp/js/main.js @@ -21,18 +21,8 @@ var checkedAlgs = []; $(document).ready(function() { disableExecuteButton(); -// $('.collapsible').collapsible(); -// $('.collapsible').collapsible({ -// onOpen: function(el) { -// console.log(el); -// $('.collapsible').collapsible('close', el.prevObject.index()); -// }, -// onClose: function(el) { -// console.log(el); -// $('.collapsible').collapsible('open', el.prevObject.index()); -// } -// }); - + showAnnotationsList(); + $.ajax({ url : "https://data.d4science.org/bnp4UDNyb21lSURkQXdDUnlSS0JkVWgzWk1KMUxWVGZHbWJQNStIS0N6Yz0", type : "GET", @@ -667,8 +657,9 @@ buildAnnotationList = function(list) { * Utility */ showAnnotationsList = function() { - $('.collapsible').collapsible(); - $('.collapsible').collapsible('open', 1); + $('.collapsible').collapsible('close', 0); + $('.collapsible').collapsible('close', 1); + $('.collapsible').collapsible('open', 1); } /*