]> git.mxchange.org Git - jjobs-war.git/blob - web/guest/user/user_login.xhtml
Please cherry-pick:
[jjobs-war.git] / web / guest / user / user_login.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                                 xmlns:p="http://primefaces.org/ui">
9
10         <ui:define name="guest_title">
11                 <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN}" />
12         </ui:define>
13
14         <ui:define name="content_header">
15                 <h:outputText value="#{msg.CONTENT_TITLE_USER_LOGIN}" />
16         </ui:define>
17
18         <ui:define name="content">
19                 <widgets:outputMessageBox id="error-user-login-disabled" message="#{msg.ERROR_GUEST_USER_LOGIN_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name')}" />
20
21                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
22                         <h:panelGroup styleClass="para" layout="block" rendered="#{featureController.isFeatureEnabled('user_registration')}">
23                                 <h:outputText value="#{msg.GUEST_USER_NO_ACCOUNT_YET_QUESTION}" />
24
25                                 <h:outputText value="&#160;" />
26
27                                 <p:link id="user_register" outcome="user_register" title="#{msg.LINK_GUEST_USER_NO_ACCOUNT_TITLE}" value="#{msg.LINK_GUEST_USER_NO_ACCOUNT_YET}" />
28                         </h:panelGroup>
29
30                         <h:panelGroup styleClass="para" layout="block">
31                                 <ui:include src="/WEB-INF/templates/guest/user/guest_login_form.tpl" />
32                         </h:panelGroup>
33
34                         <h:panelGroup styleClass="para" layout="block" rendered="#{featureController.isFeatureEnabled('user_login_require_user_name') and featureController.isFeatureEnabled('user_password_recovery')}">
35                                 <p:link id="user_lost_password" outcome="user_lost_password" title="#{msg.LINK_TITLE_GUEST_LOGIN_LOST_PASSWORD}" value="#{msg.LINK_GUEST_LOGIN_LOST_PASSWORD}" />
36                         </h:panelGroup>
37                 </ui:fragment>
38         </ui:define>
39 </ui:composition>