Add another chart + UI for charts
This commit is contained in:
@@ -7,6 +7,7 @@ financer.account-overview.available-actions.create-transaction=Create new transa
|
||||
financer.account-overview.available-actions.create-recurring-transaction=Create new recurring transaction
|
||||
financer.account-overview.available-actions.recurring-transaction-all=Show all recurring transactions
|
||||
financer.account-overview.available-actions.create-account-group=Create new account group
|
||||
financer.account-overview.available-actions.select-chart=Generate a chart
|
||||
financer.account-overview.status=Status\:
|
||||
financer.account-overview.status.recurring-transaction-due-today=Recurring transactions due today\:
|
||||
financer.account-overview.status.recurring-transaction-active=Active recurring transactions\:
|
||||
@@ -18,7 +19,7 @@ financer.account-overview.table-header.group=Group
|
||||
financer.account-overview.table-header.balance=Current Balance
|
||||
financer.account-overview.table-header.type=Type
|
||||
financer.account-overview.table-header.status=Status
|
||||
financer.account-overview.tooltip.status.current-expenses=Period from {0} to {1}
|
||||
financer.account-overview.tooltip.status.current-expenses=Period from {0} to {1}. Clicking the amount will open a graphical overview about the expenses grouped by account group
|
||||
financer.account-overview.tooltip.status.current-assets=Assets available at short-notice
|
||||
|
||||
financer.account-new.title=financer\: create new account
|
||||
@@ -103,6 +104,14 @@ financer.recurring-to-transaction-with-amount.title=financer\: create transactio
|
||||
financer.recurring-to-transaction-with-amount.label.amount=Amount\:
|
||||
financer.recurring-to-transaction-with-amount.submit=Create
|
||||
|
||||
financer.chart-select.title=Select a chart to generate
|
||||
financer.chart-select.submit=Select
|
||||
|
||||
financer.chart-config-account-group-expenses-for-period.title=Configure account group expenses for period chart
|
||||
financer.chart-config-account-group-expenses-for-period.label.from-date=From date\:
|
||||
financer.chart-config-account-group-expenses-for-period.label.to-date=To date\:
|
||||
financer.chart-config-account-group-expenses-for-period.submit=Generate
|
||||
|
||||
financer.interval-type.DAILY=Daily
|
||||
financer.interval-type.WEEKLY=Weekly
|
||||
financer.interval-type.MONTHLY=Monthly
|
||||
@@ -133,10 +142,16 @@ financer.heading.recurring-transaction-list.dueToday=financer\: recurring transa
|
||||
financer.heading.recurring-transaction-list.active=financer\: active recurring transactions
|
||||
financer.heading.recurring-transaction-list.all=financer\: all recurring transaction
|
||||
financer.heading.recurring-to-transaction-with-amount=financer\: create transaction from recurring with amount
|
||||
financer.heading.chart-select=financer\: select a chart to generate
|
||||
financer.heading.chart-config-account-group-expenses-for-period=financer\: configure account group expenses for period chart
|
||||
|
||||
financer.cancel-back-to-overview=Cancel and back to overview
|
||||
|
||||
financer.chart.account-group-expenses-current-period.title=Expenses of the current period grouped by account group
|
||||
financer.chart.account-group-expenses-for-period.title=Expenses for period from {0} to {1} grouped by account group
|
||||
|
||||
financer.chart.name.ACCOUNT_GROUP_EXPENSES_CURRENT_PERIOD=Expenses of the current period grouped by account group
|
||||
financer.chart.name.ACCOUNT_GROUP_EXPENSES_FOR_PERIOD=Expenses for a configurable period grouped by account group
|
||||
|
||||
financer.error-message.UNKNOWN_ERROR=An unknown error occurred!
|
||||
financer.error-message.INVALID_ACCOUNT_TYPE=The selected account type is not valid!
|
||||
@@ -164,4 +179,5 @@ financer.error-message.TRANSACTION_NOT_FOUND=The transaction could not be found!
|
||||
financer.error-message.ACCOUNT_NOT_FOUND=The account could not be found!
|
||||
financer.error-message.DUPLICATE_ACCOUNT_KEY=An account with the given key already exists!
|
||||
financer.error-message.DUPLICATE_ACCOUNT_GROUP_NAME=An account group with the given key already exists!
|
||||
financer.error-message.ACCOUNT_GROUP_NOT_FOUND=The account group could not be found!
|
||||
financer.error-message.ACCOUNT_GROUP_NOT_FOUND=The account group could not be found!
|
||||
financer.error-message.UNKNOWN_CHART_TYPE=The selected chart type is not known!
|
||||
@@ -7,6 +7,7 @@ financer.account-overview.available-actions.create-transaction=Neue Buchung erst
|
||||
financer.account-overview.available-actions.create-recurring-transaction=Neue wiederkehrende Buchung erstellen
|
||||
financer.account-overview.available-actions.recurring-transaction-all=Zeige alle wiederkehrende Buchungen
|
||||
financer.account-overview.available-actions.create-account-group=Neue Konto-Gruppe erstellen
|
||||
financer.account-overview.available-actions.select-chart=Ein Diagramm erzeugen
|
||||
financer.account-overview.status=Status\:
|
||||
financer.account-overview.status.recurring-transaction-due-today=Wiederkehrende Buchungen heute f\u00E4llig\:
|
||||
financer.account-overview.status.recurring-transaction-active=Aktive wiederkehrende Buchungen\:
|
||||
@@ -18,7 +19,7 @@ financer.account-overview.table-header.group=Gruppe
|
||||
financer.account-overview.table-header.balance=Kontostand
|
||||
financer.account-overview.table-header.type=Typ
|
||||
financer.account-overview.table-header.status=Status
|
||||
financer.account-overview.tooltip.status.current-expenses=Periode ab {0} bis {1}
|
||||
financer.account-overview.tooltip.status.current-expenses=Periode ab {0} bis {1}. Durch Klicken des Betrags kann eine grafische \u00DCbersicht über die Ausgaben gruppiert nach Konto-Gruppe angezeigt werden
|
||||
financer.account-overview.tooltip.status.current-assets=Kurzfristig verf\u00FCgbares Verm\u00F6gen
|
||||
|
||||
financer.account-new.title=financer\: Neues Konto erstellen
|
||||
@@ -103,6 +104,14 @@ financer.recurring-to-transaction-with-amount.title=financer\: Buchung mit Betra
|
||||
financer.recurring-to-transaction-with-amount.label.amount=Betrag\:
|
||||
financer.recurring-to-transaction-with-amount.submit=Erstellen
|
||||
|
||||
financer.chart-select.title=Ein Diagramm zum Erzeugen ausw\u00E4hlen
|
||||
financer.chart-select.submit=Ausw\u00E4hlen
|
||||
|
||||
financer.chart-config-account-group-expenses-for-period.title=Konfigurieren von Ausgaben f\u00FCr Periode gruppiert nach Konto-Gruppe Diagramm
|
||||
financer.chart-config-account-group-expenses-for-period.label.from-date=Von Datum\:
|
||||
financer.chart-config-account-group-expenses-for-period.label.to-date=Bis Datum\:
|
||||
financer.chart-config-account-group-expenses-for-period.submit=Erzeugen
|
||||
|
||||
financer.interval-type.DAILY=T\u00E4glich
|
||||
financer.interval-type.WEEKLY=W\u00F6chentlich
|
||||
financer.interval-type.MONTHLY=Monatlich
|
||||
@@ -133,7 +142,13 @@ financer.heading.recurring-transaction-list.dueToday=financer\: wiederkehrende B
|
||||
financer.heading.recurring-transaction-list.active=financer\: aktive wiederkehrende Buchungen
|
||||
financer.heading.recurring-transaction-list.all=financer\: alle wiederkehrende Buchungen
|
||||
financer.heading.recurring-to-transaction-with-amount=financer\: Buchung mit Betrag aus wiederkehrender Buchung erstellen
|
||||
financer.heading.chart-select=financer\: ein Diagramm zum Erzeugen ausw\u00E4hlen
|
||||
financer.heading.chart-config-account-group-expenses-for-period=financer\: konfigurieren von Ausgaben f\u00FCr Periode gruppiert nach Konto-Gruppe Diagramm
|
||||
|
||||
financer.cancel-back-to-overview=Abbrechen und zur \u00DCbersicht
|
||||
|
||||
financer.chart.account-group-expenses-current-period.title=Ausgaben in der aktuellen Periode gruppiert nach Konto-Gruppe
|
||||
financer.chart.account-group-expenses-current-period.title=Ausgaben in der aktuellen Periode gruppiert nach Konto-Gruppe
|
||||
financer.chart.account-group-expenses-for-period.title=Ausgaben in der Periode vom {0} bis {1} gruppiert nach Konto-Gruppe
|
||||
|
||||
financer.chart.name.ACCOUNT_GROUP_EXPENSES_CURRENT_PERIOD=Ausgaben in der aktuellen Periode gruppiert nach Konto-Gruppe
|
||||
financer.chart.name.ACCOUNT_GROUP_EXPENSES_FOR_PERIOD=Ausgaben f\u00FCr eine konfigurierbare Periode gruppiert nach Konto-Gruppe
|
||||
@@ -67,15 +67,24 @@ tr:hover {
|
||||
#new-transaction-form *,
|
||||
#new-recurring-transaction-form *,
|
||||
#recurring-to-transaction-with-amount-form *,
|
||||
#new-account-group-form * {
|
||||
#new-account-group-form *,
|
||||
#chart-config-account-group-expenses-for-period-form * {
|
||||
display: block;
|
||||
margin-top: 1em;
|
||||
width: 20em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#chart-select-form div {
|
||||
width: 20em;
|
||||
margin-top: 1em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
width: 20em;
|
||||
}
|
||||
|
||||
#footer-container {
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
<span th:text="#{financer.account-overview.status.recurring-transaction-active}"/>
|
||||
<a th:href="@{/recurringTransactionActive}" th:text="${rtAllActiveCount}"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<span th:text="#{financer.account-overview.available-actions}"/>
|
||||
<div id="action-container">
|
||||
@@ -48,6 +49,10 @@
|
||||
<a th:href="@{/recurringTransactionAll}"
|
||||
th:text="#{financer.account-overview.available-actions.recurring-transaction-all}"/>
|
||||
</div>
|
||||
<div id="action-container-sub-reports">
|
||||
<a th:href="@{/selectChart}"
|
||||
th:text="#{financer.account-overview.available-actions.select-chart}"/>
|
||||
</div>
|
||||
</div>
|
||||
<table id="account-overview-table">
|
||||
<tr>
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<title th:text="#{financer.chart-config-account-group-expenses-for-period.title}"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" th:href="@{/css/main.css}">
|
||||
</head>
|
||||
<body>
|
||||
<h1 th:text="#{financer.heading.chart-config-account-group-expenses-for-period}"/>
|
||||
<span class="errorMessage" th:if="${errorMessage != null}" th:text="#{'financer.error-message.' + ${errorMessage}}"/>
|
||||
<a th:href="@{/accountOverview}" th:text="#{financer.cancel-back-to-overview}"/>
|
||||
<form id="chart-config-account-group-expenses-for-period-form" action="#"
|
||||
th:action="@{/getAccountGroupExpensesForPeriod}" th:object="${form}" method="post">
|
||||
<label for="fromDate" th:text="#{financer.chart-config-account-group-expenses-for-period.label.from-date}"/>
|
||||
<input type="date" id="fromDate" th:field="*{fromDate}"/>
|
||||
<label for="toDate" th:text="#{financer.chart-config-account-group-expenses-for-period.label.to-date}"/>
|
||||
<input type="date" id="toDate" th:field="*{toDate}"/>
|
||||
<input type="submit" th:value="#{financer.chart-config-account-group-expenses-for-period.submit}"/>
|
||||
</form>
|
||||
<div th:replace="includes/footer :: footer"/>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<title th:text="#{financer.chart-select.title}"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" th:href="@{/css/main.css}">
|
||||
</head>
|
||||
<body>
|
||||
<h1 th:text="#{financer.heading.chart-select}"/>
|
||||
<span class="errorMessage" th:if="${errorMessage != null}" th:text="#{'financer.error-message.' + ${errorMessage}}"/>
|
||||
<a th:href="@{/accountOverview}" th:text="#{financer.cancel-back-to-overview}"/>
|
||||
<form id="chart-select-form" action="#" th:action="@{/configureChart}" th:object="${form}" method="post">
|
||||
<th:block th:each="chart, iterStat : ${availableCharts}">
|
||||
<div>
|
||||
<input type="radio" th:value="${chart}" th:field="*{chartType}" th:id="'chart' + ${iterStat.count}"/>
|
||||
<label th:for="'chart' + ${iterStat.count}" th:text="#{${'financer.chart.name.' + chart}}"/>
|
||||
</div>
|
||||
</th:block>
|
||||
<input type="submit" th:value="#{financer.chart-select.submit}"/>
|
||||
</form>
|
||||
<div th:replace="includes/footer :: footer"/>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user