]> git.mxchange.org Git - jjobs-war.git/blob - web/guest/user/user_lost_password.xhtml
0896b864f82c1dc40d030334c52b047a64c9addb
[jjobs-war.git] / web / guest / user / user_lost_password.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl"
3                                 xmlns="http://www.w3.org/1999/xhtml"
4                                 xmlns:widgets="http://mxchange.org/jsf/core/widgets"
5                                 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6                                 xmlns:h="http://xmlns.jcp.org/jsf/html"
7                                 xmlns:f="http://xmlns.jcp.org/jsf/core">
8
9         <ui:define name="guest_title">
10                 <h:outputText value="#{msg.PAGE_TITLE_USER_LOST_PASSWORD}" />
11         </ui:define>
12
13         <ui:define name="content_header">
14                 <h:outputText value="#{msg.CONTENT_TITLE_USER_LOST_PASSWORD}" />
15         </ui:define>
16
17         <ui:define name="content">
18                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name') and featureController.isFeatureEnabled('user_password_recovery')}">
19                         <div id="user_lost_password_content">
20                                 <h:form id="form_lost_password">
21                                         <h:panelGroup styleClass="table" layout="block">
22                                                 <div class="table_header">
23                                                         <h:outputText value="#{msg.GUEST_LOST_PASSWORD_TITLE}" />
24                                                 </div>
25
26                                                 <fieldset class="fieldset" id="login_data">
27                                                         <legend title="#{msg.GUEST_LOST_PASSWORD_LEGEND_TITLE}">
28                                                                 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_LEGEND}" />
29                                                         </legend>
30
31                                                         <h:panelGroup styleClass="table_row" layout="block">
32                                                                 <div class="table_left">
33                                                                         <h:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
34                                                                 </div>
35
36                                                                 <div class="table_right">
37                                                                         <h:inputText styleClass="input" id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
38                                                                 </div>
39
40                                                                 <div class="clear"></div>
41                                                         </h:panelGroup>
42
43                                                         <div class="table_header">
44                                                                 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}" />
45                                                         </div>
46
47                                                         <h:panelGroup styleClass="table_row" layout="block">
48                                                                 <div class="table_left">
49                                                                         <h:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
50                                                                 </div>
51
52                                                                 <div class="table_right">
53                                                                         <h:inputText styleClass="input" id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
54                                                                 </div>
55
56                                                                 <div class="clear"></div>
57                                                         </h:panelGroup>
58                                                 </fieldset>
59
60                                                 <div class="table_footer">
61                                                         <h:commandButton styleClass="reset right_space" 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                                         </h:panelGroup>
65                                 </h:form>
66                         </div>
67                 </ui:fragment>
68
69                 <widgets:outputMessageBox message="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DEACTIVATED}" styleClass="errors" rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}" />
70         </ui:define>
71 </ui:composition>