]> git.mxchange.org Git - jjobs-war.git/blob - web/guest/user/lost_passwd.xhtml
Continued:
[jjobs-war.git] / web / guest / user / lost_passwd.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html
4         lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
5         xmlns="http://www.w3.org/1999/xhtml"
6           xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7           xmlns:h="http://xmlns.jcp.org/jsf/html"
8           xmlns:f="http://xmlns.jcp.org/jsf/core"
9           >
10
11         <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
12                 <ui:define name="guest_title">#{msg.PAGE_TITLE_USER_LOST_PASSWORD}</ui:define>
13
14                 <ui:define name="content_header">
15                         #{msg.CONTENT_TITLE_USER_LOST_PASSWORD}
16                 </ui:define>
17
18                 <ui:define name="content">
19                         <ui:fragment rendered="#{userController.isUserNameRequired()}">
20                                 <div class="para" id="user_lost_password_content">
21                                         <h:form id="lost_password_form">
22                                                 <div class="table">
23                                                         <div class="table_header">
24                                                                 #{msg.GUEST_LOST_PASSWORD_TITLE}
25                                                         </div>
26
27                                                         <fieldset id="login_data">
28                                                                 <legend title="#{msg.GUEST_LOST_PASSWORD_LEGEND_TITLE}">#{msg.GUEST_LOST_PASSWORD_LEGEND}</legend>
29
30                                                                 <div class="table_row">
31                                                                         <div class="table_left">
32                                                                                 <h:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
33                                                                         </div>
34
35                                                                         <div class="table_right">
36                                                                                 <h:inputText styleClass="input" id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
37                                                                         </div>
38
39                                                                         <div class="clear"></div>
40                                                                 </div>
41
42                                                                 <div class="table_header">
43                                                                         #{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}
44                                                                 </div>
45
46                                                                 <div class="table_row">
47                                                                         <div class="table_left">
48                                                                                 <h:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
49                                                                         </div>
50
51                                                                         <div class="table_right">
52                                                                                 <h:inputText styleClass="input" id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
53                                                                         </div>
54
55                                                                         <div class="clear"></div>
56                                                                 </div>
57
58                                                         </fieldset>
59
60                                                         <div class="table_footer">
61                                                                 <h:commandButton styleClass="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
62                                                                 <h:commandButton styleClass="submit" type="submit" value="#{msg.BUTTON_CONTINUE_STEP_2}" action="#{passwordRecoveryController.doLostPasswordStep2()}" />
63                                                         </div>
64                                                 </div>
65                                         </h:form>
66                                 </div>
67                         </ui:fragment>
68
69                         <ui:fragment rendered="#{not userController.isUserNameRequired()}">
70                                 <h:outputText styleClass="errors" value="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DEACTIVATED}" />
71                         </ui:fragment>
72                 </ui:define>
73         </ui:composition>
74 </html>