From 2e5640b9409f3d7b12b87392d5c7143d13a523b4 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 21 Oct 2021 14:32:38 +0200 Subject: [PATCH] Updated loader dialog --- src/main/webapp/css/main.css | 2 +- .../simpleProgressBar.jsp | 93 ++++++++++-------- .../ssd_dialog_create_content.jsp | 97 ------------------- .../ssd_dialog_progressbar.jsp | 33 +++++-- .../html/systemservicedefinition/view.jsp | 44 ++++++--- 5 files changed, 110 insertions(+), 159 deletions(-) delete mode 100644 src/main/webapp/html/systemservicedefinition/ssd_dialog_create_content.jsp diff --git a/src/main/webapp/css/main.css b/src/main/webapp/css/main.css index b35832c..20e5279 100644 --- a/src/main/webapp/css/main.css +++ b/src/main/webapp/css/main.css @@ -177,7 +177,7 @@ } -.system-service-definition-portlet #loader { +.progressDialog #loader { border: 16px solid #f3f3f3; border-radius: 50%; border-top: 16px solid #3498db; diff --git a/src/main/webapp/html/systemservicedefinition/simpleProgressBar.jsp b/src/main/webapp/html/systemservicedefinition/simpleProgressBar.jsp index 1ceddea..0e24a7a 100644 --- a/src/main/webapp/html/systemservicedefinition/simpleProgressBar.jsp +++ b/src/main/webapp/html/systemservicedefinition/simpleProgressBar.jsp @@ -1,55 +1,66 @@
-
+
diff --git a/src/main/webapp/html/systemservicedefinition/ssd_dialog_create_content.jsp b/src/main/webapp/html/systemservicedefinition/ssd_dialog_create_content.jsp deleted file mode 100644 index f46474a..0000000 --- a/src/main/webapp/html/systemservicedefinition/ssd_dialog_create_content.jsp +++ /dev/null @@ -1,97 +0,0 @@ -<%@include file="init.jsp"%> -<%-- -<%@ page import="org.gcube.vomanagement.usermanagement.model.GCubeGroup"%> -<% -List userGroups = (List) request.getAttribute("userGroups"); -pageContext.setAttribute("userGroups", userGroups); - -List userContexts = (List) request.getAttribute("userContexts"); -pageContext.setAttribute("userContexts", userContexts); -%> ---%> - - - - -<%-- -<%=ParamUtil.getString(renderRequest,"message")%> - --%> - -
-

Create:

-
- - - - - <%-- - --%> -
-
- -
-<%-- -
- - - -
- --%> -
- - \ No newline at end of file diff --git a/src/main/webapp/html/systemservicedefinition/ssd_dialog_progressbar.jsp b/src/main/webapp/html/systemservicedefinition/ssd_dialog_progressbar.jsp index dcadac2..ba7b899 100644 --- a/src/main/webapp/html/systemservicedefinition/ssd_dialog_progressbar.jsp +++ b/src/main/webapp/html/systemservicedefinition/ssd_dialog_progressbar.jsp @@ -7,12 +7,14 @@ <%-- diff --git a/src/main/webapp/html/systemservicedefinition/view.jsp b/src/main/webapp/html/systemservicedefinition/view.jsp index 75c45a9..373e34b 100644 --- a/src/main/webapp/html/systemservicedefinition/view.jsp +++ b/src/main/webapp/html/systemservicedefinition/view.jsp @@ -19,7 +19,6 @@
- <% pageContext.setAttribute("currentGroup", GroupLocalServiceUtil.getGroup(PortalUtil.getScopeGroupId(request))); String currentUsername = PortalUtil.getUser(request).getScreenName(); @@ -36,8 +35,6 @@ pageContext.setAttribute("currentUsername", currentUsername); - -

Use this portlet to automatically create or delete system services, our internal services that carry out "system" operations with the need to be authorised to access other services with every active contexts of the infrastructure.

@@ -47,6 +44,8 @@ pageContext.setAttribute("currentUsername", currentUsername); +

Use this portlet to automatically create or delete system services, our internal services that carry out "system" operations with the need to be authorised to access other services with every active contexts of the infrastructure.

+ @@ -56,6 +55,7 @@ pageContext.setAttribute("currentUsername", currentUsername);
+<%@include file="ssd_dialog_progressbar.jsp" %>