]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/guest/user/guest_login_form.tpl
New "feature" controller introduced: (please cherry-pick this)
[jjobs-war.git] / web / WEB-INF / templates / guest / user / 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://xmlns.jcp.org/jsf/facelets">
7         <div id="user_login_content">
8                 <h:form id="form_user_login">
9                         <div class="table">
10                                 <div class="table_header">
11                                         #{msg.GUEST_ENTER_USER_LOGIN_DATA_TITLE}
12                                 </div>
13
14                                 <fieldset id="login_data">
15                                         <legend title="#{msg.GUEST_ENTER_USER_LOGIN_DATA_LEGEND_TITLE}">
16                                                 <h:outputText value="#{msg.GUEST_ENTER_USER_LOGIN_DATA_LEGEND}" />
17                                         </legend>
18
19                                         <div class="table_row">
20                                                 <div class="table_left">
21                                                         <h:outputLabel for="userName" value="#{msg.ENTER_USER_NAME}" />
22                                                 </div>
23
24                                                 <div class="table_right">
25                                                         <h:inputText styleClass="input" id="userName" value="#{userController.userName}" size="10" maxlength="20" required="true" requiredMessage="#{msg.LOGIN_NO_USER_NAME_MESSAGE}" />
26                                                 </div>
27                                         </div>
28
29                                         <div class="clear"></div>
30
31                                         <div class="table_row">
32                                                 <div class="table_left">
33                                                         <h:outputLabel for="userPassword" value="#{msg.ENTER_PASSWORD}" />
34                                                 </div>
35
36                                                 <div class="table_right">
37                                                         <h:inputSecret styleClass="input" id="userPassword" value="#{userController.userPassword}" size="10" maxlength="255" required="true" requiredMessage="#{msg.LOGIN_NO_PASSWORD_MESSAGE}" />
38                                                 </div>
39                                         </div>
40
41                                         <div class="clear"></div>
42                                 </fieldset>
43
44                                 <div class="table_footer">
45                                         <h:commandButton styleClass="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
46                                         <h:commandButton styleClass="submit" type="submit" action="#{userLoginController.doLogin()}" value="#{msg.BUTTON_USER_LOGIN}" />
47                                 </div>
48                         </div>
49                 </h:form>
50         </div>
51 </ui:composition>