]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/login/user/user_base.tpl
Cleanups:
[pizzaservice-war.git] / web / WEB-INF / templates / login / user / user_base.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         template="/WEB-INF/templates/base.tpl"
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
8         <ui:define name="title">#{msg.PAGE_TITLE_LOGIN_AREA} - <ui:insert name="login_title">Default login title</ui:insert></ui:define>
9
10         <ui:define name="menu">
11                 <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
12                         <ui:include id="menu" src="/WEB-INF/templates/login/user/user_menu.tpl" />
13                 </ui:fragment>
14
15                 <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
16                         <h:outputText styleClass="errors" value="#{msg.USER_NOT_LOGGED_IN}" />
17                 </ui:fragment>
18         </ui:define>
19
20         <ui:define name="footer">
21                 <ui:include id="footer" src="/WEB-INF/templates/login/user/user_footer.tpl" />
22         </ui:define>
23 </ui:composition>