]> git.mxchange.org Git - jjobs-war.git/blob - web/user/login_index.xhtml
b85c6661c0a1bd55cb200dfd14a5b318225c7e91
[jjobs-war.git] / web / user / login_index.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/login/user/user_base.tpl">
11                 <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_HOME}</ui:define>
12
13                 <ui:define name="content_header">
14                         #{msg.CONTENT_TITLE_LOGIN_HOME}
15                 </ui:define>
16
17                 <ui:define name="content">
18                         <ui:fragment rendered="#{userLoginController.isUserLoggedIn() and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
19                                 Here goes your content.
20                         </ui:fragment>
21
22                         <ui:fragment rendered="#{userLoginController.ifUserMustChangePassword()}">
23                                 <h:link outcome="user_change_password" value="#{msg.USER_LOGIN_MUST_CHANGE_PASSWORD}" />
24                         </ui:fragment>
25
26                         <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
27                                 <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
28                         </ui:fragment>
29                 </ui:define>
30         </ui:composition>
31 </html>