]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/WEB-INF/templates/master.tpl
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / templates / master.tpl
index 93ed134fa80e0b0acc1a114454a3986975965cab..c443cb7044f4fce5723fcf22be7bd9cea00619ea 100644 (file)
@@ -5,7 +5,6 @@
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
        xmlns:p="http://primefaces.org/ui"
-       xmlns:pm="http://primefaces.org/mobile"
        >
        <h:doctype
                rootElement="html"
@@ -34,6 +33,7 @@
                        <f:loadBundle var="project" basename="org.mxchange.localization.project" />
                        <f:loadBundle var="local" basename="org.mxchange.localization.local" />
 
+                       <!-- @DEPRECATED Please get rid over time of this file //-->
                        <h:outputStylesheet name="/css/custom.css" />
 
                        <title>
                </h:head>
 
                <h:body>
-                       <pm:page id="master">
-                               <h:panelGroup styleClass="ui-fluid" layout="block">
-                                       <pm:header>
-                                               <h:panelGroup styleClass="page-header" layout="block">
-                                                       <p:outputPanel styleClass="ui-g">
-                                                               <p:outputPanel styleClass="ui-g-12 ui-md-9 ui-g-nopad">
-                                                                       <h1>
-                                                                               <h:outputText value="#{initParam['project_title']} - " />
-
-                                                                               <ui:insert name="content_header">
-                                                                                       <h:outputText value="Default header title" />
-                                                                               </ui:insert>
-                                                                       </h1>
-                                                               </p:outputPanel>
-
-                                                               <p:outputPanel styleClass="ui-g-12 ui-md-3">
-                                                                       <ui:include src="/WEB-INF/templates/widgets/locale_change_widget.tpl" />
-                                                               </p:outputPanel>
-                                                       </p:outputPanel>
-                                               </h:panelGroup>
+                       <h:panelGroup styleClass="ui-fluid" layout="block">
+                               <h:panelGroup styleClass="page-header" layout="block">
+                                       <p:outputPanel styleClass="ui-g">
+                                               <p:outputPanel styleClass="ui-g-12 ui-md-9 ui-g-nopad">
+                                                       <h1>
+                                                               <h:outputText value="#{initParam['project_title']} - " />
+
+                                                               <ui:insert name="content_header">
+                                                                       <h:outputText value="Default header title" />
+                                                               </ui:insert>
+                                                       </h1>
+                                               </p:outputPanel>
 
-                                               <h:panelGroup styleClass="page-content-gap" layout="block">
-                                               </h:panelGroup>
-                                       </pm:header>
+                                               <p:outputPanel styleClass="ui-g-12 ui-md-3">
+                                                       <ui:include src="/WEB-INF/templates/widgets/locale_change_widget.tpl" />
+                                               </p:outputPanel>
+                                       </p:outputPanel>
+                               </h:panelGroup>
 
-                                       <h:panelGroup styleClass="ui-g" layout="block">
-                                               <h:panelGroup styleClass="ui-g-12 ui-md-12" layout="block">
-                                                       <ui:insert name="menu">
-                                                               <h:outputText value="Default menu" />
-                                                       </ui:insert>
-                                               </h:panelGroup>
+                               <h:panelGroup styleClass="page-content-gap" layout="block">
+                               </h:panelGroup>
 
-                                               <h:panelGroup styleClass="ui-g-12 ui-md-12 ui-g-nopad" layout="block">
-                                                       <h:panelGroup styleClass="ui-g-12">
-                                                               <ui:insert name="content">
-                                                                       <h:outputText value="Default content" />
-                                                               </ui:insert>
-                                                       </h:panelGroup>
-                                               </h:panelGroup>
+                               <h:panelGroup styleClass="ui-g" layout="block">
+                                       <h:panelGroup styleClass="ui-g-12 ui-md-12" layout="block">
+                                               <ui:insert name="menu">
+                                                       <h:outputText value="Default menu" />
+                                               </ui:insert>
+                                       </h:panelGroup>
 
-                                               <h:panelGroup styleClass="ui-g-12 page-footer" layout="block">
-                                                       <ui:insert name="footer">
-                                                               <h:outputText value="Default footer" />
+                                       <h:panelGroup styleClass="ui-g-12 ui-md-12 ui-g-nopad" layout="block">
+                                               <h:panelGroup styleClass="ui-g-12">
+                                                       <ui:insert name="content">
+                                                               <h:outputText value="Default content" />
                                                        </ui:insert>
                                                </h:panelGroup>
                                        </h:panelGroup>
 
-                                       <h:panelGroup styleClass="error-container" layout="block">
-                                               <p:growl showDetail="true" sticky="true">
-                                                       <p:autoUpdate />
-                                               </p:growl>
-
-                                               <p:ajaxExceptionHandler
-                                                       type="java.lang.Throwable"
-                                                       update="exceptionDialog"
-                                                       onexception="PF('master:exception-dialog-form:exceptionDialog').show();"
-                                                       />
-
-                                               <h:form id="exception-dialog-form">
-                                                       <p:dialog
-                                                               id="exceptionDialog"
-                                                               closable="true"
-                                                               closeOnEscape="true"
-                                                               header="Exception '#{pfExceptionHandler.type}' occured!"
-                                                               widgetVar="exceptionDialog"
-                                                               height="500px">
-                                                               <div class="para">
-                                                                       <h:outputText value="#{msg.EXCEPTION_MESSAGE}:" />
-                                                                       <h:outputText value="#{pfExceptionHandler.message}" />
-                                                               </div>
-
-                                                               <div class="para">
-                                                                       <h:outputText value="#{msg.EXCEPTION_STACK_TRACE}:" />
-                                                                       <h:outputText value="#{pfExceptionHandler.formattedStackTrace}" escape="false" />
-                                                               </div>
-
-                                                               <div class="para">
-                                                                       <p:button onclick="window.location.href = document.location.href;"
-                                                                                         value="#{msg.RELOAD_PAGE}"
-                                                                                         rendered="#{pfExceptionHandler.type == 'javax.faces.application.ViewExpiredException'}" />
-                                                               </div>
-                                                       </p:dialog>
-                                               </h:form>
+                                       <h:panelGroup styleClass="ui-g-12 page-footer" layout="block">
+                                               <ui:insert name="footer">
+                                                       <h:outputText value="Default footer" />
+                                               </ui:insert>
                                        </h:panelGroup>
                                </h:panelGroup>
-                       </pm:page>
+
+                               <h:panelGroup styleClass="error-container" layout="block">
+                                       <p:growl showDetail="true" sticky="true">
+                                               <p:autoUpdate />
+                                       </p:growl>
+
+                                       <p:ajaxExceptionHandler
+                                               type="java.lang.Throwable"
+                                               update="exceptionDialog"
+                                               onexception="PF('master:exception-dialog-form:exceptionDialog').show();"
+                                               />
+
+                                       <h:form id="exception-dialog-form">
+                                               <p:dialog
+                                                       id="exceptionDialog"
+                                                       closable="true"
+                                                       closeOnEscape="true"
+                                                       header="Exception '#{pfExceptionHandler.type}' occured!"
+                                                       widgetVar="exceptionDialog"
+                                                       height="500px">
+                                                       <div class="para">
+                                                               <h:outputText value="#{msg.EXCEPTION_MESSAGE}:" />
+                                                               <h:outputText value="#{pfExceptionHandler.message}" />
+                                                       </div>
+
+                                                       <div class="para">
+                                                               <h:outputText value="#{msg.EXCEPTION_STACK_TRACE}:" />
+                                                               <h:outputText value="#{pfExceptionHandler.formattedStackTrace}" escape="false" />
+                                                       </div>
+
+                                                       <div class="para">
+                                                               <p:button onclick="window.location.href = document.location.href;"
+                                                                                 value="#{msg.RELOAD_PAGE}"
+                                                                                 rendered="#{pfExceptionHandler.type == 'javax.faces.application.ViewExpiredException'}" />
+                                                       </div>
+                                               </p:dialog>
+                                       </h:form>
+                               </h:panelGroup>
+                       </h:panelGroup>
                </h:body>
        </html>
 </ui:composition>