]> git.mxchange.org Git - jfinancials-war.git/commitdiff
new pages added for adding receipt and listing those
authorRoland Häder <roland@mxchange.org>
Wed, 19 Apr 2017 14:04:49 +0000 (16:04 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 19 Apr 2017 14:04:49 +0000 (16:04 +0200)
web/user/financials/login_financials_add_receipt.xhtml [new file with mode: 0644]
web/user/financials/login_financials_overview.xhtml [new file with mode: 0644]

diff --git a/web/user/financials/login_financials_add_receipt.xhtml b/web/user/financials/login_financials_add_receipt.xhtml
new file mode 100644 (file)
index 0000000..f8c0b3d
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
+       xmlns:ui="http://java.sun.com/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">#{msg.PAGE_TITLE_LOGIN_FINANCIAL_ADD_RECEIPT}</ui:define>
+
+               <ui:define name="content_header">
+                       <h:outputText value="#{msg.SUB_TITLE_LOGIN_FINANCIAL_ADD_RECEIPT}" />
+               </ui:define>
+
+               <ui:define name="content">
+                       Here goes your content.
+               </ui:define>
+
+               <ui:define name="footer">
+                       <ui:include id="footer" src="/WEB-INF/templates/login/user/user_footer.tpl" />
+               </ui:define>
+       </ui:composition>
+</html>
diff --git a/web/user/financials/login_financials_overview.xhtml b/web/user/financials/login_financials_overview.xhtml
new file mode 100644 (file)
index 0000000..cfcab1b
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+         lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
+         xmlns:ui="http://java.sun.com/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">#{msg.PAGE_TITLE_LOGIN_FINANCIAL_OVERVIEW}</ui:define>
+
+               <ui:define name="content_header">
+                       <h:outputText value="#{msg.SUB_TITLE_LOGIN_FINANCIAL_OVERVIEW}" />
+               </ui:define>
+
+               <ui:define name="content">
+                       <h:panelGroup layout="block" styleClass="para">
+                               <h:panelGrid columns="4">
+                                       <f:facet name="header">
+                                               <h:outputText value="#{msg.GENERAL_FINANCIAL_OVERVIEW}" />
+                                       </f:facet>
+
+                                       <h:column>
+                                               <h:outputLabel for="totalReceipts" styleClass="data_label" value="#{msg.USER_FINANCIALS_TOTAL_RECEIPTS}" />
+
+                                               <h:outputLink id="totalReceipts" target="list_user_financial_receipts" value="#{financialController.receipts.size()}" />
+                                       </h:column>
+                               </h:panelGrid>
+                       </h:panelGroup>
+
+                       <h:panelGroup layout="block" styleClass="para">
+                               <h:outputText value="#{msg.USER_FINANCIALS_NEXT_ACTIONS}"
+                               <ul>
+                                       <li>
+                                               <h:link  title="#{msg.LINK_USER_ADD_FINANCIAL_RECEIPT_TITLE}" outcome="add_user_fiancial_receipt" value="#{msg.LINK_USER_ADD_FINANCIAL_RECEIPT}" />
+                                       </li>
+                               </ul>
+                       </h:panelGroup>
+               </ui:define>
+
+               <ui:define name="footer">
+                       <ui:include id="footer" src="/WEB-INF/templates/login/user/user_footer.tpl" />
+               </ui:define>
+       </ui:composition>
+</html>