]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Added "lost_passwd.jsp" + fixed links to it
authorRoland Haeder <roland@mxchange.org>
Mon, 17 Aug 2015 12:52:57 +0000 (14:52 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 17 Aug 2015 12:52:57 +0000 (14:52 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/customer/login.jsp
web/customer/lost_passwd.jsp [new file with mode: 0644]
web/customer/register.jsp
web/static/forms/form_login.jsp [new file with mode: 0644]
web/static/forms/login.jsp [deleted file]

index 9005179d75321d124b83dc041b8bbe1232c45abf..a34cb9cd9626b7efb068a5ac1335e29d1397064e 100644 (file)
 
                        <div id="content">
                                <div class="para">
-                                       Noch kein Kunde? Einfach beim Bestellen anmelden oder <a href="<%=request.getContextPath()%>/register.jsp">hier</a> anmelden.
+                                       Noch kein Kunde? Einfach beim Bestellen anmelden oder <a href="<%=request.getContextPath()%>/customer/register.jsp">hier</a> anmelden.
                                </div>
 
                                <div class="para">
-                                       <jsp:include page="/static/forms/login.jsp" flush="true" />
+                                       <jsp:include page="/static/forms/form_login.jsp" flush="true" />
                                </div>
 
                                <div class="para">
diff --git a/web/customer/lost_passwd.jsp b/web/customer/lost_passwd.jsp
new file mode 100644 (file)
index 0000000..efc2ee2
--- /dev/null
@@ -0,0 +1,85 @@
+<%-- 
+       Document   : lost_passwd
+       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"%>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
+       <head>
+               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+               <link rel="stylesheet" href="<%=request.getContextPath()%>/style.css" type="text/css"/>
+               <title><%=PizzaServiceApplication.MAIN_TITLE%> - Passwort vergessen</title>
+       </head>
+
+       <body>
+               <div id="title">
+                       <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Passwort vergessen</h1>
+               </div>
+
+               <jsp:include page="/static/menu.jsp" flush="true" />
+
+               <div id="content_outer">
+                       <div id="content_title">
+                               <h2>Passwort vergessen:</h2>
+                       </div>
+
+                       <div id="content">
+                               <div class="para">
+                                       Sie haben Ihr Passwort vergessen?
+                               </div>
+
+                               <div class="para">
+                                       <div id="login_form">
+                                               <form action="<%=request.getContextPath()%>/form_handler/do_passwd.jsp" accept-charset="utf-8" id="form" method="post">
+                                                       <div class="table">
+                                                               <div class="table_header">
+                                                                       Bitte geben Sie Ihre Kundennummer oder Email-Adresse ein:
+                                                               </div>
+
+                                                               <fieldset id="login_data">
+                                                                       <legend title="Bitte Daten eingeben:">Bitte Daten eingeben:</legend>
+
+                                                                       <div class="table_row">
+                                                                               <div class="table_left">
+                                                                                       Kundennummer:
+                                                                               </div>
+                                                                               <div class="table_right">
+                                                                                       <input type="text" name="id" size="10" maxlength="20" />
+                                                                               </div>
+
+                                                                               <div class="clear"></div>
+                                                                       </div>
+
+                                                                       <div class="table_header">
+                                                                               ... oder ...
+                                                                       </div>
+
+                                                                       <div class="table_row">
+                                                                               <div class="table_left">
+                                                                                       Email-Adresse:
+                                                                               </div>
+                                                                               <div class="table_right">
+                                                                                       <input type="text" name="email" size="20" maxlength="255" />
+                                                                               </div>
+                                                                               <div class="clear"></div>
+                                                                       </div>
+
+                                                               </fieldset>
+
+                                                               <div class="table_footer">
+                                                                       <input type="hidden" name="redirect" value="<%=request.getRequestURI()%>" />
+                                                                       <input type="reset" value="Formular zurücksetzen" />
+                                                                       <input type="submit" name="send" value="Weiter zu Schritt 2" />
+                                                               </div>
+                                                       </div>
+                                               </form>
+                                       </div>
+                               </div>
+                       </div>
+               </div>
+       </body>
+</html>
index c70d3795864e3283798ef6a2b8bcf88dc9a52ab6..5fe64c2abd891feec27b00bb88f4a8b3f0c74663 100644 (file)
@@ -29,7 +29,7 @@
 
                        <div id="content">
                                <div>
-                                       Sie sind bereits Kunde? Dann <a href="<%=request.getContextPath()%>/login.jsp">hier</a> einloggen.
+                                       Sie sind bereits Kunde? Dann <a href="<%=request.getContextPath()%>/customer/login.jsp">hier</a> einloggen.
                                </div>
 
                                <form action="<%=request.getContextPath()%>/form_handler/do_register.jsp" accept-charset="utf-8" id="form" method="post">
diff --git a/web/static/forms/form_login.jsp b/web/static/forms/form_login.jsp
new file mode 100644 (file)
index 0000000..5d795c1
--- /dev/null
@@ -0,0 +1,46 @@
+<%-- 
+       Document   : login
+       Created on : 11.08.2015, 12:28:03
+       Author     : Roland Haeder
+--%>
+<div id="login_form">
+       <form action="<%=request.getContextPath()%>/form_handler/do_login.jsp" accept-charset="utf-8" id="form" method="post">
+               <div class="table">
+                       <div class="table_header">
+                               Bitte geben Sie Ihre Kundennummer und Passwort ein:
+                       </div>
+
+                       <fieldset id="login_data">
+                               <legend title="Bitte Daten eingeben:">Bitte Daten eingeben:</legend>
+
+                               <div class="table_row">
+                                       <div class="table_left">
+                                               Kundennummer:
+                                       </div>
+                                       <div class="table_right">
+                                               <input type="text" name="id" size="10" maxlength="20" />
+                                       </div>
+                               </div>
+
+                               <div class="clear"></div>
+
+                               <div class="table_row">
+                                       <div class="table_left">
+                                               Passwort:
+                                       </div>
+                                       <div class="table_right">
+                                               <input type="password" name="password" size="10" maxlength="255" />
+                                       </div>
+                               </div>
+
+                               <div class="clear"></div>
+                       </fieldset>
+
+                       <div class="table_footer">
+                               <input type="hidden" name="redirect" value="<%=request.getRequestURI()%>" />
+                               <input type="reset" value="Formular zurücksetzen" />
+                               <input type="submit" name="send" value="Einloggen" />
+                       </div>
+               </div>
+       </form>
+</div>
diff --git a/web/static/forms/login.jsp b/web/static/forms/login.jsp
deleted file mode 100644 (file)
index 5d795c1..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<%-- 
-       Document   : login
-       Created on : 11.08.2015, 12:28:03
-       Author     : Roland Haeder
---%>
-<div id="login_form">
-       <form action="<%=request.getContextPath()%>/form_handler/do_login.jsp" accept-charset="utf-8" id="form" method="post">
-               <div class="table">
-                       <div class="table_header">
-                               Bitte geben Sie Ihre Kundennummer und Passwort ein:
-                       </div>
-
-                       <fieldset id="login_data">
-                               <legend title="Bitte Daten eingeben:">Bitte Daten eingeben:</legend>
-
-                               <div class="table_row">
-                                       <div class="table_left">
-                                               Kundennummer:
-                                       </div>
-                                       <div class="table_right">
-                                               <input type="text" name="id" size="10" maxlength="20" />
-                                       </div>
-                               </div>
-
-                               <div class="clear"></div>
-
-                               <div class="table_row">
-                                       <div class="table_left">
-                                               Passwort:
-                                       </div>
-                                       <div class="table_right">
-                                               <input type="password" name="password" size="10" maxlength="255" />
-                                       </div>
-                               </div>
-
-                               <div class="clear"></div>
-                       </fieldset>
-
-                       <div class="table_footer">
-                               <input type="hidden" name="redirect" value="<%=request.getRequestURI()%>" />
-                               <input type="reset" value="Formular zurücksetzen" />
-                               <input type="submit" name="send" value="Einloggen" />
-                       </div>
-               </div>
-       </form>
-</div>