diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/forgotpwd/email.ftl b/maxkey-web-maxkey/src/main/resources/templates/views/forgotpwd/email.ftl new file mode 100644 index 000000000..3ccb8b3e6 --- /dev/null +++ b/maxkey-web-maxkey/src/main/resources/templates/views/forgotpwd/email.ftl @@ -0,0 +1,11 @@ +
| + + | ++ + | +
| - - | -- - | -
|
diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/main/appProtectedConfig.ftl b/maxkey-web-maxkey/src/main/resources/templates/views/main/appProtectedConfig.ftl
new file mode 100644
index 000000000..b2db9aabc
--- /dev/null
+++ b/maxkey-web-maxkey/src/main/resources/templates/views/main/appProtectedConfig.ftl
@@ -0,0 +1,34 @@
+
+
+
+
diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/main/appProtectedConfig.jsp b/maxkey-web-maxkey/src/main/resources/templates/views/main/appProtectedConfig.jsp
deleted file mode 100644
index 3fe4be52a..000000000
--- a/maxkey-web-maxkey/src/main/resources/templates/views/main/appProtectedConfig.jsp
+++ /dev/null
@@ -1,41 +0,0 @@
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Map,java.util.LinkedHashMap" %>
-<%@ page import="org.maxkey.web.*"%>
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %>
-
-
-
-
-
-
diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/main/appUserConfig.jsp b/maxkey-web-maxkey/src/main/resources/templates/views/main/appUserConfig.ftl
similarity index 51%
rename from maxkey-web-maxkey/src/main/resources/templates/views/main/appUserConfig.jsp
rename to maxkey-web-maxkey/src/main/resources/templates/views/main/appUserConfig.ftl
index ad422e163..2f7712b61 100644
--- a/maxkey-web-maxkey/src/main/resources/templates/views/main/appUserConfig.jsp
+++ b/maxkey-web-maxkey/src/main/resources/templates/views/main/appUserConfig.ftl
@@ -1,27 +1,20 @@
-<%@ page contentType="text/html; charset=UTF-8" import="java.util.Map,java.util.LinkedHashMap" %>
-<%@ page import="org.maxkey.web.*"%>
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %>
-
-
-
diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/registration/activated.ftl b/maxkey-web-maxkey/src/main/resources/templates/views/registration/activated.ftl
new file mode 100644
index 000000000..167d24803
--- /dev/null
+++ b/maxkey-web-maxkey/src/main/resources/templates/views/registration/activated.ftl
@@ -0,0 +1,29 @@
+
+
+
+
+ <#if 0 == activate>
+ url expired.
+ #if>
+ <#if 1 == activate>
+ activate success,
+
+ <@locale code="login.button.login"/>
+
+ #if>
+
+
+
diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/registration/activated.jsp b/maxkey-web-maxkey/src/main/resources/templates/views/registration/activated.jsp
deleted file mode 100644
index d689e8cc7..000000000
--- a/maxkey-web-maxkey/src/main/resources/templates/views/registration/activated.jsp
+++ /dev/null
@@ -1,43 +0,0 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %>
-
-<%
-String path = request.getContextPath();
-String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
-%>
-
-
-
-
-
-
-
-
diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/registration/initPassword.jsp b/maxkey-web-maxkey/src/main/resources/templates/views/registration/initPassword.ftl
similarity index 52%
rename from maxkey-web-maxkey/src/main/resources/templates/views/registration/initPassword.jsp
rename to maxkey-web-maxkey/src/main/resources/templates/views/registration/initPassword.ftl
index ec9e7c774..1c7c376f1 100644
--- a/maxkey-web-maxkey/src/main/resources/templates/views/registration/initPassword.jsp
+++ b/maxkey-web-maxkey/src/main/resources/templates/views/registration/initPassword.ftl
@@ -1,18 +1,7 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %>
-
-<%
-String path = request.getContextPath();
-String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
-%>
-
-
-
diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/registration/register.jsp b/maxkey-web-maxkey/src/main/resources/templates/views/registration/register.ftl
similarity index 60%
rename from maxkey-web-maxkey/src/main/resources/templates/views/registration/register.jsp
rename to maxkey-web-maxkey/src/main/resources/templates/views/registration/register.ftl
index ec6a74b70..46576854f 100644
--- a/maxkey-web-maxkey/src/main/resources/templates/views/registration/register.jsp
+++ b/maxkey-web-maxkey/src/main/resources/templates/views/registration/register.ftl
@@ -1,16 +1,7 @@
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
-<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %>
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
-
-<%
-String path = request.getContextPath();
-String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
-%>
-
-
|
- |