]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/login/user/user_base.tpl
Please cherry-pick:
[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:widgets="http://mxchange.org/jsf/core/widgets"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7         xmlns:h="http://xmlns.jcp.org/jsf/html">
8
9         <ui:define name="title">
10                 <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_AREA}" -  />
11                 <ui:insert name="login_title">
12                         <h:outputText value="Default login title" />
13                 </ui:insert>
14         </ui:define>
15
16         <ui:define name="menu">
17                 <widgets:outputMessageBoxMini message="#{msg.USER_NOT_LOGGED_IN}" styleClass="errors" rendered="#{not userLoginController.isUserLoggedIn()}" />
18
19                 <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
20                         <ui:include src="/WEB-INF/templates/login/user/user_menu.tpl" />
21                 </ui:fragment>
22         </ui:define>
23
24         <ui:define name="footer">
25                 <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
26                         <ui:include src="/WEB-INF/templates/login/user/user_footer.tpl" />
27                 </ui:fragment>
28         </ui:define>
29 </ui:composition>