]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/user/login_logout.xhtml
Please cherry-pick:
[jjobs-war.git] / web / user / login_logout.xhtml
index f8620d57b5b73c718ac7125a18c4c729e50ad981..24b4cd59efc96045f644fec10d13f5f5d0cd2893 100644 (file)
@@ -3,20 +3,21 @@
                                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">
+                               xmlns:f="http://xmlns.jcp.org/jsf/core"
+                               xmlns:p="http://primefaces.org/ui">
 
-       <ui:define name="login_title">
+       <ui:define name="document_login_title">
                <h:outputText value="#{msg.PAGE_TITLE_LOGIN_USER_LOGOUT}" />
        </ui:define>
 
-       <ui:define name="content_header">
+       <ui:define name="login_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">
+                               <div class="table-header">
                                        <h:outputText value="#{msg.LOGIN_USER_LOGOUT_TITLE}" />
                                </div>
 
@@ -24,8 +25,8 @@
                                        <h:outputText value="#{msg.LOGIN_USER_LOGOUT_NOTICE}" />
                                </h:panelGroup>
 
-                               <div class="table_footer">
-                                       <h:commandButton styleClass="submit" type="submit" action="#{userLoginController.doUserLogout()}" value="#{msg.BUTTON_USER_LOGOUT}" />
+                               <div class="table-footer">
+                                       <p:commandButton styleClass="submit" type="submit" action="#{userLoginController.doUserLogout()}" value="#{msg.BUTTON_USER_LOGOUT}" />
                                </div>
                        </h:panelGroup>
                </h:form>