]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/guest/guest_login_form.tpl
Even more strings have been internationalized and translated to English.
[pizzaservice-war.git] / web / WEB-INF / templates / guest / guest_login_form.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:f="http://java.sun.com/jsf/core"
5         xmlns:h="http://java.sun.com/jsf/html"
6         xmlns:ui="http://java.sun.com/jsf/facelets">
7         <div id="customer_login_content">
8                 <h:form acceptcharset="utf-8" id="login_form">
9                         <div class="table">
10                                 <div class="table_header">
11                                         #{msg.GUEST_ENTER_LOGIN_DATA_TITLE}
12                                 </div>
13
14                                 <fieldset id="login_data">
15                                         <legend title="#{msg.GUEST_ENTER_LOGIN_DATA_LEGEND_TITLE}">#{msg.GUEST_ENTER_LOGIN_DATA_LEGEND}</legend>
16
17                                         <div class="table_row">
18                                                 <div class="table_left">
19                                                         <h:outputLabel for="id" value="#{msg.CUSTOMER_NUMBER}" />
20                                                 </div>
21
22                                                 <div class="table_right">
23                                                         <h:inputText class="input" id="id" size="10" maxlength="20" required="true" requiredMessage="#{msg.LOGIN_NO_CUSTOMER_NUMBER_MESSAGE}" />
24                                                 </div>
25                                         </div>
26
27                                         <div class="clear"></div>
28
29                                         <div class="table_row">
30                                                 <div class="table_left">
31                                                         <h:outputLabel for="password" value="#{msg.PASSWORD}" />
32                                                 </div>
33
34                                                 <div class="table_right">
35                                                         <h:inputSecret class="input" id="password" size="10" maxlength="255" required="true" requiredMessage="#{msg.LOGIN_NO_PASSWORD_MESSAGE}" />
36                                                 </div>
37                                         </div>
38
39                                         <div class="clear"></div>
40                                 </fieldset>
41
42                                 <div class="table_footer">
43                                         <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
44                                         <h:commandButton class="submit" type="submit" action="#{controller.doLogin()}" value="#{msg.BUTTON_CUSTOMER_LOGIN}" />
45                                 </div>
46                         </div>
47                 </h:form>
48         </div>
49 </ui:composition>