From 6a85ee0eebe29229a311c29df0cd252203520bed Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 11 Aug 2015 11:58:47 +0200 Subject: [PATCH] =?utf8?q?Renamed=20JSP=20+=20added=202=20stubs=20(login,?= =?utf8?q?=20register)=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- web/form_handler/{order.jsp => do_order.jsp} | 1 + web/login.jsp | 76 ++++++++++++++++++++ web/preview.jsp | 6 +- web/register.jsp | 50 +++++++++++++ web/static/menu.jsp | 6 ++ web/style.css | 17 +++-- 6 files changed, 148 insertions(+), 8 deletions(-) rename web/form_handler/{order.jsp => do_order.jsp} (97%) create mode 100644 web/login.jsp create mode 100644 web/register.jsp diff --git a/web/form_handler/order.jsp b/web/form_handler/do_order.jsp similarity index 97% rename from web/form_handler/order.jsp rename to web/form_handler/do_order.jsp index e00ec747..79e7c5e1 100644 --- a/web/form_handler/order.jsp +++ b/web/form_handler/do_order.jsp @@ -16,6 +16,7 @@ // 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"); 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; } -*/ -- 2.39.5