]> git.mxchange.org Git - pizzaservice-war.git/blob - web/user/login_index.xhtml
902550a7309f622d5f1b7873bc71f7d40456f48c
[pizzaservice-war.git] / web / user / login_index.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html
4         lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
5         xmlns="http://www.w3.org/1999/xhtml"
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           >
10
11         <ui:composition template="/WEB-INF/templates/login/user/user_base.tpl">
12                 <ui:define name="login_title">
13                         <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_HOME}" />
14                 </ui:define>
15
16                 <ui:define name="content_header">
17                         <h:outputText value="#{msg.CONTENT_TITLE_USER_LOGIN_HOME}" />
18                 </ui:define>
19
20                 <ui:define name="content">
21                         <ui:fragment rendered="#{userLoginController.isUserLoggedIn() and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
22                                 <!-- @TODO Here goes your content. //-->
23                         </ui:fragment>
24
25                         <ui:fragment rendered="#{userLoginController.ifUserMustChangePassword()}">
26                                 <h:link outcome="user_change_password" value="#{msg.USER_LOGIN_MUST_CHANGE_PASSWORD}" />
27                         </ui:fragment>
28
29                         <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
30                                 <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
31                         </ui:fragment>
32                 </ui:define>
33         </ui:composition>
34 </html>