]> git.mxchange.org Git - pizzaservice-war.git/blob - web/user/login_index.xhtml
Moved a lot templates areound:
[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">#{msg.PAGE_TITLE_LOGIN_HOME}</ui:define>
13
14                 <ui:define name="content_header">
15                         #{msg.CONTENT_TITLE_LOGIN_HOME}
16                 </ui:define>
17
18                 <ui:define name="content">
19                         <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
20                                 Here goes your content.
21                         </ui:fragment>
22
23                         <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
24                                 <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
25                         </ui:fragment>
26                 </ui:define>
27         </ui:composition>
28 </html>