From: Roland Haeder Date: Tue, 11 Aug 2015 09:58:47 +0000 (+0200) Subject: Renamed JSP + added 2 stubs (login, register) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6a85ee0eebe29229a311c29df0cd252203520bed;p=pizzaservice-war.git Renamed JSP + added 2 stubs (login, register) Signed-off-by:Roland Häder --- diff --git a/web/form_handler/do_order.jsp b/web/form_handler/do_order.jsp new file mode 100644 index 00000000..79e7c5e1 --- /dev/null +++ b/web/form_handler/do_order.jsp @@ -0,0 +1,56 @@ +<%-- + Document : order + Created on : 07.08.2015, 14:58:21 + Author : Roland Haeder +--%> + +<%--<%@page errorPage="errorHandler.jsp" %>--%> +<%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@page import="org.mxchange.pizzaapplication.beans.CustomerBean" %> +<%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%> +<%@page import="org.mxchange.pizzaapplication.application.PizzaApplication"%> + +<% + // Init application instance + PizzaApplication app = PizzaServiceApplication.getInstance(application); + + // Is it post? + if ("POST".equals(request.getMethod())) { //NOI18N + // Handle saving customer data and such things + // Redirect to proper URL + // @TODO Commented out for developing: + //response.sendRedirect(request.getContextPath() + "/finished.jsp"); +%> + + + +<% + } +%> + + + + + + + <%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler + + + +
+

<%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler

+
+ + + +
+
+

Bitte nicht direkt aufrufen:

+
+ +
+ Bitte rufen Sie diese Seite nicht direkt auf. +
+
+ + diff --git a/web/form_handler/order.jsp b/web/form_handler/order.jsp deleted file mode 100644 index e00ec747..00000000 --- a/web/form_handler/order.jsp +++ /dev/null @@ -1,55 +0,0 @@ -<%-- - Document : order - Created on : 07.08.2015, 14:58:21 - Author : Roland Haeder ---%> - -<%--<%@page errorPage="errorHandler.jsp" %>--%> -<%@page contentType="text/html" pageEncoding="UTF-8"%> -<%@page import="org.mxchange.pizzaapplication.beans.CustomerBean" %> -<%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%> -<%@page import="org.mxchange.pizzaapplication.application.PizzaApplication"%> - -<% - // Init application instance - PizzaApplication app = PizzaServiceApplication.getInstance(application); - - // Is it post? - if ("POST".equals(request.getMethod())) { //NOI18N - // Redirect to proper URL - // @TODO Commented out for developing: - //response.sendRedirect(request.getContextPath() + "/finished.jsp"); -%> - - - -<% - } -%> - - - - - - - <%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler - - - -
-

<%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler

-
- - - -
-
-

Bitte nicht direkt aufrufen:

-
- -
- Bitte rufen Sie diese Seite nicht direkt auf. -
-
- - diff --git a/web/login.jsp b/web/login.jsp new file mode 100644 index 00000000..8d418c23 --- /dev/null +++ b/web/login.jsp @@ -0,0 +1,76 @@ +<%-- + Document : login + Created on : 11.08.2015, 11:35:53 + Author : Roland Haeder +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%> + + + + + + + <%=PizzaServiceApplication.MAIN_TITLE%> - Einloggen + + + +
+

<%=PizzaServiceApplication.MAIN_TITLE%> - Einloggen

+
+ + + +
+
+

Einloggen als bestehender Kunde:

+
+ +
+
+ Noch kein Kunde? Einfach beim Bestellen anmelden oder hier anmelden. +
+ +
+
+
+ Bitte geben Sie Ihre Kundennummer und Passwort ein: +
+ +
+ Bitte Daten eingeben: + +
+
+ Kundennummer: +
+
+ +
+
+ +
+ +
+
+ Passwort: +
+
+ +
+
+ +
+
+ + +
+
+
+
+ + diff --git a/web/preview.jsp b/web/preview.jsp index 7002f658..62a3dad0 100644 --- a/web/preview.jsp +++ b/web/preview.jsp @@ -42,7 +42,7 @@
-
+ @@ -113,7 +113,7 @@
-
+
Bitte Ihre Daten eingeben:
@@ -143,7 +143,7 @@
-
+
diff --git a/web/register.jsp b/web/register.jsp new file mode 100644 index 00000000..37d65896 --- /dev/null +++ b/web/register.jsp @@ -0,0 +1,50 @@ +<%-- + Document : register + Created on : 11.08.2015, 11:56:22 + Author : Roland Haeder +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%> + + + + + + + <%=PizzaServiceApplication.MAIN_TITLE%> - Neukunde + + + +
+

<%=PizzaServiceApplication.MAIN_TITLE%> - Neukunde

+
+ + + +
+
+

Einloggen als bestehender Kunde:

+
+ +
+
+ Sie sind bereits Kunde? Dann hier einloggen. +
+ + +
+
+ Bitte geben Sie mindestens Name, Anschrift und Telefonnummer ein: +
+ + +
+ +
+
+ + diff --git a/web/static/menu.jsp b/web/static/menu.jsp index c022e151..a8a22db9 100644 --- a/web/static/menu.jsp +++ b/web/static/menu.jsp @@ -11,4 +11,10 @@
  • Vielen Dank
  • Sitzung beenden
  • + +
    diff --git a/web/style.css b/web/style.css index 61515f97..c4a12262 100644 --- a/web/style.css +++ b/web/style.css @@ -1,3 +1,8 @@ +/* +div { + border: 1px solid #ff0000; +} +/**/ .data_row { width: 100%; @@ -17,9 +22,11 @@ clear: both; } -/* - Debug only: -div { - border: 1px solid #ff0000; +table { + margin: 0px; + padding: 0px; +} + +.table_row { + width: 300px; } -*/