]> git.mxchange.org Git - jjobs-war.git/blob - user/user_lost_password.xhtml
Updated copyright year
[jjobs-war.git] / user / user_lost_password.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         template="/WEB-INF/templates/guest/guest_base.tpl"
4         xmlns="http://www.w3.org/1999/xhtml"
5         xmlns:core="http://mxchange.org/jsf/core/widgets"
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         xmlns:p="http://primefaces.org/ui"
10         >
11
12         <ui:define name="document_guest_title">
13                 <h:outputText value="#{msg.PAGE_TITLE_USER_LOST_PASSWORD}" />
14         </ui:define>
15
16         <ui:define name="content_header">
17                 <h:outputText value="#{msg.CONTENT_TITLE_USER_LOST_PASSWORD}" />
18         </ui:define>
19
20         <ui:define name="content">
21                 <core:outputMessageBox panelGroupId="errorUserRecoveryDisabled" message="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}" />
22
23                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name') and featureController.isFeatureEnabled('user_password_recovery')}">
24                         <div id="user_lost_password_content">
25                                 <h:form>
26                                         <h:panelGroup styleClass="table" layout="block">
27                                                 <div class="table-header">
28                                                         <h:outputText value="#{msg.GUEST_LOST_PASSWORD_TITLE}" />
29                                                 </div>
30
31                                                 <fieldset class="fieldset">
32                                                         <legend title="#{msg.GUEST_LOST_PASSWORD_LEGEND_TITLE}">
33                                                                 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_LEGEND}" />
34                                                         </legend>
35
36                                                         <h:panelGroup styleClass="table-row" layout="block">
37                                                                 <div class="table-left">
38                                                                         <p:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
39                                                                 </div>
40
41                                                                 <div class="table-right">
42                                                                         <p:inputText id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
43                                                                 </div>
44                                                         </h:panelGroup>
45
46                                                         <div class="table-header">
47                                                                 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}" />
48                                                         </div>
49
50                                                         <h:panelGroup styleClass="table-row" layout="block">
51                                                                 <div class="table-left">
52                                                                         <p:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
53                                                                 </div>
54
55                                                                 <div class="table-right">
56                                                                         <p:inputText id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
57                                                                 </div>
58                                                         </h:panelGroup>
59                                                 </fieldset>
60
61                                                 <p:panelGrid columns="2" layout="grid">
62                                                         <p:commandButton
63                                                                 type="reset"
64                                                                 value="#{msg.BUTTON_RESET_FORM}"
65                                                                 />
66
67                                                         <p:commandButton
68                                                                 type="submit"
69                                                                 value="#{msg.BUTTON_CONTINUE_STEP_2}"
70                                                                 action="#{passwordRecoveryController.doLostPasswordStep2()}"
71                                                                 />
72                                                 </p:panelGrid>
73                                         </h:panelGroup>
74                                 </h:form>
75                         </div>
76                 </ui:fragment>
77         </ui:define>
78 </ui:composition>