From a1a18f77a50804e0127dfa4b0f5240c49c541184 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 2 Jul 2012 21:24:02 -0700 Subject: Initial Commit --- .../webapp/WEB-INF/applicationContext-backend.xml | 25 ++++++++++ .../src/main/webapp/WEB-INF/jsp/backend/db.jsp | 51 ++++++++++++++++++++ .../main/webapp/WEB-INF/jsp/backend/payment.jsp | 23 +++++++++ .../webapp/WEB-INF/jsp/backend/requestLicense.jsp | 42 +++++++++++++++++ .../src/main/webapp/WEB-INF/jsp/head.jsp | 3 ++ .../src/main/webapp/WEB-INF/jsp/include.jsp | 7 +++ .../webapp/WEB-INF/subsonic-backend-servlet.xml | 54 ++++++++++++++++++++++ subsonic-backend/src/main/webapp/WEB-INF/web.xml | 36 +++++++++++++++ 8 files changed, 241 insertions(+) create mode 100644 subsonic-backend/src/main/webapp/WEB-INF/applicationContext-backend.xml create mode 100644 subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/db.jsp create mode 100644 subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/payment.jsp create mode 100644 subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/requestLicense.jsp create mode 100644 subsonic-backend/src/main/webapp/WEB-INF/jsp/head.jsp create mode 100644 subsonic-backend/src/main/webapp/WEB-INF/jsp/include.jsp create mode 100644 subsonic-backend/src/main/webapp/WEB-INF/subsonic-backend-servlet.xml create mode 100644 subsonic-backend/src/main/webapp/WEB-INF/web.xml (limited to 'subsonic-backend/src/main/webapp/WEB-INF') diff --git a/subsonic-backend/src/main/webapp/WEB-INF/applicationContext-backend.xml b/subsonic-backend/src/main/webapp/WEB-INF/applicationContext-backend.xml new file mode 100644 index 00000000..f1008a29 --- /dev/null +++ b/subsonic-backend/src/main/webapp/WEB-INF/applicationContext-backend.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/db.jsp b/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/db.jsp new file mode 100644 index 00000000..c3e1eb39 --- /dev/null +++ b/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/db.jsp @@ -0,0 +1,51 @@ +<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1"%> + + + <%@ include file="../head.jsp" %> + + + + + + +

Database query

+ +
+ + + +
+ + + +

Result

+ + + + + + + + + + + + + + + + + + +
${entry.key}
${entry.value}
+
+ + +

Error

+ +

+ ${model.error} +

+
+ + \ No newline at end of file diff --git a/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/payment.jsp b/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/payment.jsp new file mode 100644 index 00000000..c72f798d --- /dev/null +++ b/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/payment.jsp @@ -0,0 +1,23 @@ +<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1" %> + + + + <%@ include file="../head.jsp" %> + + + + + + + + +
+

€${model.sumToday}

+ +
+ Y €${model.sumYesterday}    + M €${model.dayAverageThisMonth} +
+
+ + \ No newline at end of file diff --git a/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/requestLicense.jsp b/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/requestLicense.jsp new file mode 100644 index 00000000..c8654663 --- /dev/null +++ b/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/requestLicense.jsp @@ -0,0 +1,42 @@ +<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1" %> + + + + <%@ include file="../head.jsp" %> + + + + + + + +

Resend Subsonic license key

+ + +

Have you purchased a Subsonic license but lost the license key?

+ +

Enter your email address below to have it resent to you.

+
+ + +

Sorry, no license key is associated to ${model.email}. Did you use a different email address when + creating the payment on PayPal?

+
+ + + +

Your license key has been sent to ${model.email}. Didn't get it? Please remember to check your spam + folder.

+
+ +
+ + +
+
+
+ + + \ No newline at end of file diff --git a/subsonic-backend/src/main/webapp/WEB-INF/jsp/head.jsp b/subsonic-backend/src/main/webapp/WEB-INF/jsp/head.jsp new file mode 100644 index 00000000..a8b170f4 --- /dev/null +++ b/subsonic-backend/src/main/webapp/WEB-INF/jsp/head.jsp @@ -0,0 +1,3 @@ +<%@ include file="include.jsp" %> + +Subsonic diff --git a/subsonic-backend/src/main/webapp/WEB-INF/jsp/include.jsp b/subsonic-backend/src/main/webapp/WEB-INF/jsp/include.jsp new file mode 100644 index 00000000..3758aa0a --- /dev/null +++ b/subsonic-backend/src/main/webapp/WEB-INF/jsp/include.jsp @@ -0,0 +1,7 @@ +<%@ page session="false"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="str" uri="http://jakarta.apache.org/taglibs/string-1.1" %> diff --git a/subsonic-backend/src/main/webapp/WEB-INF/subsonic-backend-servlet.xml b/subsonic-backend/src/main/webapp/WEB-INF/subsonic-backend-servlet.xml new file mode 100644 index 00000000..d166d271 --- /dev/null +++ b/subsonic-backend/src/main/webapp/WEB-INF/subsonic-backend-servlet.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + multiController + multiController + multiController + multiController + multiController + multiController + multiController + ipnController + redirectionManagementController + redirectionManagementController + redirectionManagementController + redirectionManagementController + redirectionManagementController + redirectionController + + + + + + + + + + + \ No newline at end of file diff --git a/subsonic-backend/src/main/webapp/WEB-INF/web.xml b/subsonic-backend/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 00000000..3e69f937 --- /dev/null +++ b/subsonic-backend/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,36 @@ + + + + Subsonic Backend + + + + contextConfigLocation + + /WEB-INF/applicationContext-backend.xml + + + + + org.springframework.web.context.ContextLoaderListener + + + + subsonic-backend + org.springframework.web.servlet.DispatcherServlet + 1 + + + + subsonic-backend + / + + + + index.html + index.jsp + + + \ No newline at end of file -- cgit v1.2.3