]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/user/login_logout.xhtml
Please cherry-pick:
[pizzaservice-war.git] / web / user / login_logout.xhtml
index 10efa9019996363d6e0a05843291eb9ec4b11115..3c68ee74c4e9a280f79227e3d6a53eb574697fc1 100644 (file)
@@ -1,41 +1,37 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html
-       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
-       xmlns="http://www.w3.org/1999/xhtml"
-       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
-       xmlns:h="http://xmlns.jcp.org/jsf/html"
-       xmlns:f="http://xmlns.jcp.org/jsf/core"
-       >
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition template="/WEB-INF/templates/login/user/user_base.tpl"
+                               xmlns="http://www.w3.org/1999/xhtml"
+                               xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+                               xmlns:h="http://xmlns.jcp.org/jsf/html"
+                               xmlns:f="http://xmlns.jcp.org/jsf/core">
 
-       <ui:composition template="/WEB-INF/templates/login/user/user_base.tpl">
-               <ui:define name="login_title">
-                       <h:outputText value="#{msg.PAGE_TITLE_LOGIN_USER_LOGOUT}" />
-               </ui:define>
+       <ui:define name="login_title">
+               <h:outputText value="#{msg.PAGE_TITLE_LOGIN_USER_LOGOUT}" />
+       </ui:define>
 
-               <ui:define name="content_header">
-                       <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_USER_LOGOUT}" />
-               </ui:define>
+       <ui:define name="content_header">
+               <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_USER_LOGOUT}" />
+       </ui:define>
 
-               <ui:define name="content">
-                       <h:form id="form_user_logout" rendered="#{userLoginController.isUserLoggedIn()}">
-                               <h:panelGroup styleClass="table" layout="block">
-                                       <div class="table_header">
-                                               <h:outputText value="#{msg.LOGIN_USER_LOGOUT_TITLE}" />
-                                       </div>
+       <ui:define name="content">
+               <h:form id="form_user_logout" rendered="#{userLoginController.isUserLoggedIn()}">
+                       <h:panelGroup styleClass="table" layout="block">
+                               <div class="table_header">
+                                       <h:outputText value="#{msg.LOGIN_USER_LOGOUT_TITLE}" />
+                               </div>
 
-                                       <div class="para">
-                                               <h:outputText value="#{msg.LOGIN_USER_LOGOUT_NOTICE}" />
-                                       </div>
+                               <div class="para">
+                                       <h:outputText value="#{msg.LOGIN_USER_LOGOUT_NOTICE}" />
+                               </div>
 
-                                       <div class="table_footer">
-                                               <h:commandButton styleClass="submit" type="submit" action="#{userLoginController.doUserLogout()}" value="#{msg.BUTTON_USER_LOGOUT}" />
-                                       </div>
-                               </h:panelGroup>
-                       </h:form>
+                               <div class="table_footer">
+                                       <h:commandButton styleClass="submit" type="submit" action="#{userLoginController.doUserLogout()}" value="#{msg.BUTTON_USER_LOGOUT}" />
+                               </div>
+                       </h:panelGroup>
+               </h:form>
 
-                       <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
-                               <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
-                       </ui:fragment>
-               </ui:define>
-       </ui:composition>
-</html>
+               <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
+                       <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
+               </ui:fragment>
+       </ui:define>
+</ui:composition>