]> git.mxchange.org Git - addressbook-war.git/blob - web/guest/user/login.xhtml
6025cb04ec740ee68a28a23a4d297a906a7e2bc3
[addressbook-war.git] / web / guest / user / login.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/guest/guest_base.tpl" id="user_login">
12                 <ui:define name="guest_title">#{msg.PAGE_TITLE_USER_LOGIN}</ui:define>
13
14                 <ui:define name="content_header">
15                         #{msg.CONTENT_TITLE_USER_LOGIN}
16                 </ui:define>
17
18                 <ui:define name="content">
19                         <ui:fragment rendered="#{userController.isUserNameRequired()}">
20                                 <div class="para">
21                                         <!-- TODO Internatialize this somehow //-->
22                                         Noch kein Benutzerkonto? Einfach <h:link id="user_register" outcome="user_register" title="Als Benutzer anmelden">hier</h:link> anmelden.
23                                 </div>
24
25                                 <div class="para">
26                                         <ui:include src="/WEB-INF/templates/guest/user/guest_login_form.tpl" />
27                                 </div>
28
29                                 <div class="para">
30                                         <h:link id="user_lost_password" outcome="user_lost_passwd" title="#{msg.LINK_TITLE_GUEST_LOGIN_LOST_PASSWORD}" value="#{msg.LINK_GUEST_LOGIN_LOST_PASSWORD}" />
31                                 </div>
32                         </ui:fragment>
33
34                         <ui:fragment rendered="#{not userController.isUserNameRequired()}">
35                                 <h:outputText styleClass="errors" value="#{msg.ERROR_GUEST_USER_LOGIN_DEACTIVATED}" />
36                         </ui:fragment>
37                 </ui:define>
38         </ui:composition>
39 </html>