]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/WEB-INF/templates/guest/guest_login_form.tpl
Continued with customer:
[pizzaservice-war.git] / web / WEB-INF / templates / guest / guest_login_form.tpl
index 0f3a6f6065ad9f8a81d379e109ee301116a2aac4..f6384692912d185d67f819b3d9afc30647419745 100644 (file)
@@ -1,25 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
 <ui:composition
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
-       xmlns:ui="http://java.sun.com/jsf/facelets">
-       <div id="customer_login_content">
-               <h:form acceptcharset="utf-8" id="login_form">
+       xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
+       <div id="user_login_content">
+               <h:form id="login_form">
                        <div class="table">
                                <div class="table_header">
-                                       Bitte geben Sie Ihre Kundennummer und Passwort ein:
+                                       #{msg.GUEST_ENTER_LOGIN_DATA_TITLE}
                                </div>
 
                                <fieldset id="login_data">
-                                       <legend title="Bitte geben Sie die bei der Anmeldung verwendete EMail-Adresse und das dazugehörige Passwort ein.">Bitte Daten eingeben:</legend>
+                                       <legend title="#{msg.GUEST_ENTER_LOGIN_DATA_LEGEND_TITLE}">#{msg.GUEST_ENTER_LOGIN_DATA_LEGEND}</legend>
 
                                        <div class="table_row">
                                                <div class="table_left">
-                                                       <h:outputLabel for="id" value="Email-Adresse:" />
+                                                       <h:outputLabel for="userName" value="#{msg.ENTER_USER_NAME}" />
                                                </div>
 
                                                <div class="table_right">
-                                                       <h:inputText class="input" id="id" size="10" maxlength="20" required="true" requiredMessage="#{msg.NO_EMAIL_ADDRESS_ENTERED}" />
+                                                       <h:inputText class="input" id="userName" value="#{userController.userName}" size="10" maxlength="20" required="true" requiredMessage="#{msg.LOGIN_NO_USER_NAME_MESSAGE}" />
                                                </div>
                                        </div>
 
 
                                        <div class="table_row">
                                                <div class="table_left">
-                                                       <h:outputLabel for="password" value="Passwort:" />
+                                                       <h:outputLabel for="userPassword" value="#{msg.ENTER_PASSWORD}" />
                                                </div>
 
                                                <div class="table_right">
-                                                       <h:inputSecret class="input" id="password" size="10" maxlength="255" required="true" requiredMessage="#{msg.NO_PASSWORD_ENTERED}" />
+                                                       <h:inputSecret class="input" id="userPassword" value="#{userController.userPassword}" size="10" maxlength="255" required="true" requiredMessage="#{msg.LOGIN_NO_PASSWORD_MESSAGE}" />
                                                </div>
                                        </div>
 
@@ -39,8 +40,8 @@
                                </fieldset>
 
                                <div class="table_footer">
-                                       <h:commandButton class="reset" type="reset" value="Formular zurücksetzen" />
-                                       <h:commandButton class="submit" type="submit" action="#{controller.doLogin()}" value="Einloggen" />
+                                       <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+                                       <h:commandButton class="submit" type="submit" action="#{loginController.doLogin()}" value="#{msg.BUTTON_USER_LOGIN}" />
                                </div>
                        </div>
                </h:form>