]> git.mxchange.org Git - addressbook-war.git/blob - web/login/login_index.xhtml
Added nice boxes around current password input box
[addressbook-war.git] / web / login / 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 xmlns="http://www.w3.org/1999/xhtml"
4           xmlns:ui="http://java.sun.com/jsf/facelets"
5           xmlns:h="http://xmlns.jcp.org/jsf/html"
6           xmlns:f="http://xmlns.jcp.org/jsf/core"
7           >
8
9         <ui:composition template="/WEB-INF/templates/login/login_base.tpl">
10                 <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_HOME}</ui:define>
11
12                 <ui:define name="content_header">
13                         #{msg.CONTENT_TITLE_LOGIN_HOME}
14                 </ui:define>
15
16                 <ui:define name="content">
17                         <ui:fragment rendered="#{loginController.isUserLoggedIn()}">
18                                 Here goes your content.
19                         </ui:fragment>
20
21                         <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
22                                 <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
23                         </ui:fragment>
24                 </ui:define>
25         </ui:composition>
26 </html>