Add new fonts and theme.css. Create email-confirmation servlet and page and head.jsp.

This commit is contained in:
Konstantinos Triantafyllou 2022-11-28 10:05:48 +02:00
parent 0b2145b992
commit eb38ba9750
98 changed files with 10767 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<packaging>war</packaging>
<version>2.0.2-SNAPSHOT</version>
<scm>
<connection>scm:git:gitea@gitea@code-repo.d4science.org:MaDgIK/dnet-openaire-users.git</connection>
<connection>scm:git:gitea@code-repo.d4science.org:MaDgIK/dnet-openaire-users.git</connection>
<developerConnection>scm:git:gitea@code-repo.d4science.org:MaDgIK/dnet-openaire-users.git</developerConnection>
<url>https://code-repo.d4science.org/MaDgIK/dnet-openaire-users/</url>

View File

@ -0,0 +1,16 @@
package eu.dnetlib.openaire.usermanagement;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public class EmailConfirmationServlet extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
request.getRequestDispatcher("./emailConfirmation.jsp").include(request, response);
}
}

View File

@ -206,6 +206,18 @@
<url-pattern>/registeredServices</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>EmailConfirmationServlet</servlet-name>
<display-name>EmailConfirmation</display-name>
<servlet-class>eu.dnetlib.openaire.usermanagement.EmailConfirmationServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>EmailConfirmationServlet</servlet-name>
<url-pattern>/email-confirmation</url-pattern>
</servlet-mapping>
<filter>
<filter-name>CorsFilter</filter-name>
<filter-class>org.apache.catalina.filters.CorsFilter</filter-class>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,19 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<jsp:include page="head.jsp">
<jsp:param name="title" value="OpenAIRE - Email Confirmation"/>
</jsp:include>
<body>
<div class="uk-section uk-container uk-container-small uk-text-center">
<img src="images/Logo_Horizontal.png" style="height: 80px;">
<h1 class="uk-h4 uk-margin-large-top">PLEASE VERIFY YOUR EMAIL</h1>
<div class="uk-text-large">You will need to verify your email to complete registration.</div>
<img class="uk-margin-large-top uk-margin-large-bottom" src="images/envelope.svg" style="height: 180px;">
<div class="uk-margin-medium-bottom">
An email has been sent to your email with a link to verify your account.<br>
If you have not received the email after a few minutes, please check your spam folder.
</div>
<a class="uk-button uk-button-secondary" href="mailto:aai@openaire.eu">Contact Support</a>
</div>
</body>
</html>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

18
src/main/webapp/head.jsp Normal file
View File

@ -0,0 +1,18 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href=".">
<title>${param.title}</title>
<script src="js/jquery.js"></script>
<script src="js/uikit-new.min.js"></script>
<script src="js/uikit-icons-new.min.js"></script>
<script src="js/validation.js"></script>
<link rel="stylesheet" style="text/css" href="css/theme-new.css">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="images/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon/favicon-16x16.png">
<link href="images/favicon/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon"/>
<script src='https://www.google.com/recaptcha/api.js'></script>
</head>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 24 KiB

File diff suppressed because one or more lines are too long

1
src/main/webapp/js/uikit-new.min.js vendored Normal file

File diff suppressed because one or more lines are too long