From 90e491517453211c4a351bc8f64b5893c85556e9 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Mon, 9 Jan 2023 17:32:12 +0200 Subject: [PATCH] Change all user management pages to new theme --- src/main/webapp/activate.jsp | 112 ++-- src/main/webapp/addPassword.jsp | 276 +++------- src/main/webapp/emailConfirmation.jsp | 4 +- src/main/webapp/emailSuccess.jsp | 99 +--- src/main/webapp/error.jsp | 99 +--- src/main/webapp/error404.jsp | 83 +-- src/main/webapp/expiredVerificationCode.jsp | 87 +-- src/main/webapp/forgotPassword.jsp | 160 ++---- src/main/webapp/js/input.js | 2 +- src/main/webapp/js/validation.js | 308 +++++------ src/main/webapp/register.jsp | 576 ++++++++------------ src/main/webapp/registerSuccess.jsp | 109 +--- src/main/webapp/remindUsername.jsp | 160 ++---- src/main/webapp/requestActivationCode.jsp | 175 ++---- src/main/webapp/requestToDeleteAccount.jsp | 171 ++---- src/main/webapp/resetPassword.jsp | 281 +++------- src/main/webapp/success.jsp | 101 +--- src/main/webapp/successAddPassword.jsp | 102 +--- src/main/webapp/successDeleteAccount.jsp | 108 +--- src/main/webapp/verify.jsp | 189 +++---- src/main/webapp/verifyEmail.jsp | 174 ++---- src/main/webapp/verifyToDelete.jsp | 182 +++---- 22 files changed, 1094 insertions(+), 2464 deletions(-) diff --git a/src/main/webapp/activate.jsp b/src/main/webapp/activate.jsp index 90b7a60..8e29441 100644 --- a/src/main/webapp/activate.jsp +++ b/src/main/webapp/activate.jsp @@ -7,64 +7,64 @@ -
-
- -

Thank you for registering!

-
- The next step is to activate your account. -
-
- An email with your username and an activation code - has been sent to you. Please use them in the form below to activate your account. - The activation code expires in 24 hours. +
+
+ +

Thank you for registering!

+
+ The next step is to activate your account. +
+
+ An email with your username and an activation code + has been sent to you. Please use them in the form below to activate your account. + The activation code expires in 24 hours. +
+
+ +
+
+
+
+ +
+
+ +
+
+
+ + ${msg_username_error} + + +
+
+
+
+
+ +
+
+ +
+
+
+ + ${msg_activation_code_error} + + +
+
+
${message}
+ + +
+
-
- -
${message}
- -
-
-
-
- -
-
- -
-
-
- - ${msg_username_error} - - -
-
-
-
-
- -
-
- -
-
-
- - ${msg_activation_code_error} - - -
-
- -
- -
- - - - - - - - - - - - -
- - -
-
- +
+ + + + + + + + + + +
-
- - -
-
-
-
-
-
-
-
-
- -
-
- <%----%> - <%----%> - <%--

--%> -

Your email is now verified!

-

To complete the password reset process, please enter a new password. Must contain at least one number and one uppercase and lowercase letter, and at least 6 or more characters. No white space allowed.

-
- -
- - - - -
- - -

- - - - -

- <%--${msg_invalid_password}--%> - <%----%> -
-
-
-
-
- -
-
- -
- - -
- -
-
- +
+
+
+
+ +
+
+
-
- - - - \ No newline at end of file + + diff --git a/src/main/webapp/emailConfirmation.jsp b/src/main/webapp/emailConfirmation.jsp index 0b8094d..7d0c456 100644 --- a/src/main/webapp/emailConfirmation.jsp +++ b/src/main/webapp/emailConfirmation.jsp @@ -4,11 +4,11 @@ -
+

PLEASE VERIFY YOUR EMAIL

You will need to verify your email to complete registration.
- +
An email has been sent to your email with a link to verify your account.
If you have not received the email after a few minutes, please check your spam folder. diff --git a/src/main/webapp/emailSuccess.jsp b/src/main/webapp/emailSuccess.jsp index 493bb36..f561e30 100644 --- a/src/main/webapp/emailSuccess.jsp +++ b/src/main/webapp/emailSuccess.jsp @@ -1,10 +1,3 @@ -<%-- - Created by IntelliJ IDEA. - User: sofia - Date: 30/10/2017 - Time: 1:07 μμ - To change this template use File | Settings | File Templates. ---%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> @@ -14,92 +7,20 @@ } else if (session.getAttribute("emailSuccess") != null) { session.removeAttribute("emailSuccess"); }%> -<%----%> - - - - - OpenAIRE - Email Sent - - - - - - - - - - - - -
- - -
-
- + + + + +
+
+ +
+ check
+
Your username has been successfully sent to your email!
- - -
-
-
-
-
-
- <%--

Forgot Password

--%> -
-
-
- -
- -
-

Your username has been successfully sent!

-
- <%--

Please click here to login.

--%> -
- -
-
- -
-
-
-
-
- - -
diff --git a/src/main/webapp/error.jsp b/src/main/webapp/error.jsp index d7b7467..3927198 100644 --- a/src/main/webapp/error.jsp +++ b/src/main/webapp/error.jsp @@ -1,94 +1,25 @@ -<%-- - Created by IntelliJ IDEA. - User: sofia - Date: 12/10/2017 - Time: 4:16 μμ - To change this template use File | Settings | File Templates. ---%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <% if (session.getAttribute("error") == null) { - String redirectURL = request.getContextPath() + "/error404.jsp"; - response.sendRedirect(redirectURL); - } else if (session.getAttribute("error") != null) { - session.removeAttribute("error"); + String redirectURL = request.getContextPath() + "/error404.jsp"; + response.sendRedirect(redirectURL); +} else if (session.getAttribute("error") != null) { + session.removeAttribute("error"); }%> - - - - - - OpenAIRE - Error - - - - - - - - - - - - -
-
-
- + + + + +
+
+ +

Oops! Something went wrong!

+
+ Something went wrong. Please try again later or contact OpenAIRE helpdesk. We apologize for the inconvenience.
- -
-
-
-
-
-
- <%--

Welcome to our Single Sign-On service

--%> - <%--
Use the same credentials for all our services
--%> -
-
-

Oops! Something went wrong!

-
-

Something went wrong. Please try again later or contact OpenAIRE helpdesk. We apologize for the inconvenience.

-
-
- -
-
-
- - - -
diff --git a/src/main/webapp/error404.jsp b/src/main/webapp/error404.jsp index e05a171..9609063 100644 --- a/src/main/webapp/error404.jsp +++ b/src/main/webapp/error404.jsp @@ -1,80 +1,19 @@ <%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> - - - - - - OpenAIRE - Error 404 - - - - - - - - - - - - -
-
-
- + + + + +
+
+ +

Oops! Something went wrong!

+
+ 404 Error! The requested page was not found.
- -
-
-
-
-
-
- <%--

Welcome to our Single Sign-On service

--%> - <%--
Use the same credentials for all our services
--%> -
-
-

404 - Oops! Something went wrong!

-
-

404 Error! The requested page was not found.

-
-
- -
-
-
- - - -
diff --git a/src/main/webapp/expiredVerificationCode.jsp b/src/main/webapp/expiredVerificationCode.jsp index 4e6f320..556f5be 100644 --- a/src/main/webapp/expiredVerificationCode.jsp +++ b/src/main/webapp/expiredVerificationCode.jsp @@ -1,82 +1,25 @@ -<%-- - Created by IntelliJ IDEA. - User: sofia - Date: 12/10/2017 - Time: 5:15 μμ - To change this template use File | Settings | File Templates. ---%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <% if (session.getAttribute("expiredVerificationCode") == null) { - String redirectURL = request.getContextPath() + "/error404.jsp"; - response.sendRedirect(redirectURL); - } else if (session.getAttribute("expiredVerificationCode") != null) { - session.removeAttribute("expiredVerificationCode"); + String redirectURL = request.getContextPath() + "/error404.jsp"; + response.sendRedirect(redirectURL); +} else if (session.getAttribute("expiredVerificationCode") != null) { + session.removeAttribute("expiredVerificationCode"); }%> - - - - - - OpenAIRE - Expired Verification Code - - - - - - - - - - - - -
-
-
- -
-
- -
-
-
-
-
-
- <%--

Welcome to our Single Sign-On service

--%> - <%--
Use the same credentials for all our services
--%> -
-
- <%--

Oops! Something went wrong

--%> -
-

Your verification code has expired. Please request for a new verification code here.

-
-
- -
-
-
- - -