]> git.mxchange.org Git - jjobs-war.git/blob - web/guest/user/user_login.xhtml
Continued porting templates:
[jjobs-war.git] / web / guest / user / user_login.xhtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html
3         lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
4         xmlns="http://www.w3.org/1999/xhtml"
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
10         <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl" id="user_login">
11                 <ui:define name="guest_title">
12                         <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN}" />
13                 </ui:define>
14
15                 <ui:define name="content_header">
16                         <h:outputText value="#{msg.CONTENT_TITLE_USER_LOGIN}" />
17                 </ui:define>
18
19                 <ui:define name="content">
20                         <ui:fragment rendered="#{featureController.isFeatureEnabled('user_name_required')}">
21                                 <h:panelGroup styleClass="para" layout="block" rendered="#{featureController.isFeatureEnabled('user_registration')}">
22                                         <h:outputText value="#{msg.GUEST_USER_NO_ACCOUNT_YET_QUESTION}" />
23
24                                         <h:outputText value="&#160;" />
25
26                                         <h:link id="user_register" outcome="user_register" title="#{msg.LINK_GUEST_USER_NO_ACCOUNT_TITLE}" value="#{msg.LINK_GUEST_USER_NO_ACCOUNT_YET}" />
27                                 </h:panelGroup>
28
29                                 <div class="para">
30                                         <ui:include src="/WEB-INF/templates/guest/user/guest_login_form.tpl" />
31                                 </div>
32
33                                 <h:panelGroup styleClass="para" layout="block" rendered="#{featureController.isFeatureEnabled('user_name_required') and featureController.isFeatureEnabled('user_password_recovery')}">
34                                         <h:link id="user_lost_password" outcome="user_lost_passwd" title="#{msg.LINK_TITLE_GUEST_LOGIN_LOST_PASSWORD}" value="#{msg.LINK_GUEST_LOGIN_LOST_PASSWORD}" />
35                                 </h:panelGroup>
36                         </ui:fragment>
37
38                         <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_name_required')}">
39                                 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
40                                         <ui:param name="message" value="#{msg.ERROR_GUEST_USER_LOGIN_DEACTIVATED}" />
41                                         <ui:param name="styleClass" value="errors" />
42                                 </ui:include>
43                         </ui:fragment>
44                 </ui:define>
45         </ui:composition>
46 </html>