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