Move content to subfolder to prepare for merge with -parent repository
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<title th:text="#{financer.account-details.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.account-details(${account.key})}" />
|
||||
<span class="errorMessage" th:if="${errorMessage != null}" th:text="#{'financer.error-message.' + ${errorMessage}}"/>
|
||||
<div id="details-container">
|
||||
<div id="type-container">
|
||||
<span th:text="#{financer.account-details.details.type}"/>
|
||||
<span th:text="#{'financer.account-type.' + ${account.type}}"/>
|
||||
</div>
|
||||
<div id="balance-container">
|
||||
<span th:text="#{financer.account-details.details.balance}"/>
|
||||
<span th:text="${#numbers.formatDecimal(account.currentBalance/100D, 1, 'DEFAULT', 2, 'DEFAULT')}"/>
|
||||
</div>
|
||||
<div id="group-container">
|
||||
<span th:text="#{financer.account-details.details.group}"/>
|
||||
<span th:text="${account.accountGroup?.name}"/>
|
||||
</div>
|
||||
</div>
|
||||
<div id="account-details-action-container">
|
||||
<span th:text="#{financer.account-details.available-actions}"/>
|
||||
<a th:if="${!isClosed}" th:href="@{/closeAccount(key=${account.key})}"
|
||||
th:text="#{financer.account-details.available-actions.close-account}"/>
|
||||
<a th:if="${isClosed}" th:href="@{/openAccount(key=${account.key})}"
|
||||
th:text="#{financer.account-details.available-actions.open-account}"/>
|
||||
<a th:href="@{/accountOverview}"
|
||||
th:text="#{financer.account-details.available-actions.back-to-overview}"/>
|
||||
</div>
|
||||
<table id="account-transaction-table">
|
||||
<tr>
|
||||
<th class="hideable-column" th:text="#{financer.account-details.table-header.id}"/>
|
||||
<th th:text="#{financer.account-details.table-header.fromAccount}"/>
|
||||
<th th:text="#{financer.account-details.table-header.toAccount}"/>
|
||||
<th th:text="#{financer.account-details.table-header.date}"/>
|
||||
<th th:text="#{financer.account-details.table-header.amount}"/>
|
||||
<th th:text="#{financer.account-details.table-header.description}"/>
|
||||
<th th:text="#{financer.account-details.table-header.byRecurring}"/>
|
||||
<th th:text="#{financer.account-details.table-header.actions}"/>
|
||||
</tr>
|
||||
<tr th:each="transaction : ${transactions}">
|
||||
<td class="hideable-column" th:text="${transaction.id}"/>
|
||||
<td th:text="${transaction.fromAccount.key}" />
|
||||
<td th:text="${transaction.toAccount.key}" />
|
||||
<td th:text="${transaction.date}" />
|
||||
<td th:text="${#numbers.formatDecimal(transaction.amount/100D, 1, 'DEFAULT', 2, 'DEFAULT')}"/>
|
||||
<td th:text="${transaction.description}" />
|
||||
<td th:text="${transaction.recurringTransaction != null}" />
|
||||
<td>
|
||||
<div id="account-transaction-table-actions-container">
|
||||
<a th:href="@{/deleteTransaction(transactionId=${transaction.id}, accountKey=${account.key})}"
|
||||
th:text="#{financer.account-details.table.actions.deleteTransaction}"/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div th:replace="includes/footer :: footer"/>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,64 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<title th:text="#{financer.account-overview.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.account-overview}" />
|
||||
<div id="status-container">
|
||||
<span th:text="#{financer.account-overview.status}"/>
|
||||
<div>
|
||||
<span th:text="#{financer.account-overview.status.recurring-transaction-due-today}"/>
|
||||
<a th:href="@{/recurringTransactionDueToday}" th:text="${rtDueTodayCount}"/>
|
||||
</div>
|
||||
<div>
|
||||
<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">
|
||||
<div id="action-container-sub-accounts">
|
||||
<a th:if="${!showClosed}" th:href="@{'/accountOverview?showClosed=true'}"
|
||||
th:text="#{financer.account-overview.available-actions.show-closed}"/>
|
||||
<a th:if="${showClosed}" th:href="@{'/accountOverview'}"
|
||||
th:text="#{financer.account-overview.available-actions.hide-closed}"/>
|
||||
<a th:href="@{/newAccount}" th:text="#{financer.account-overview.available-actions.create-account}"/>
|
||||
<a th:href="@{/newAccountGroup}" th:text="#{financer.account-overview.available-actions.create-account-group}"/>
|
||||
</div>
|
||||
<div id="action-container-sub-transactions">
|
||||
<a th:href="@{/newTransaction}" th:text="#{financer.account-overview.available-actions.create-transaction}"/>
|
||||
</div>
|
||||
<div id="action-container-sub-recurring-transactions">
|
||||
<a th:href="@{/newRecurringTransaction}"
|
||||
th:text="#{financer.account-overview.available-actions.create-recurring-transaction}"/>
|
||||
<a th:href="@{/recurringTransactionAll}"
|
||||
th:text="#{financer.account-overview.available-actions.recurring-transaction-all}"/>
|
||||
</div>
|
||||
</div>
|
||||
<table id="account-overview-table">
|
||||
<tr>
|
||||
<th class="hideable-column" th:text="#{financer.account-overview.table-header.id}"/>
|
||||
<th th:text="#{financer.account-overview.table-header.key}"/>
|
||||
<th th:text="#{financer.account-overview.table-header.balance}"/>
|
||||
<th class="hideable-column" th:text="#{financer.account-overview.table-header.group}"/>
|
||||
<th class="hideable-column" th:text="#{financer.account-overview.table-header.type}"/>
|
||||
<th class="hideable-column" th:text="#{financer.account-overview.table-header.status}"/>
|
||||
</tr>
|
||||
<tr th:each="acc : ${accounts}">
|
||||
<td class="hideable-column" th:text="${acc.id}"/>
|
||||
<td>
|
||||
<a th:href="@{/accountDetails(key=${acc.key})}" th:text="${acc.key}"/>
|
||||
</td>
|
||||
<td th:text="${#numbers.formatDecimal(acc.currentBalance/100D, 1, 'DEFAULT', 2, 'DEFAULT')}"/>
|
||||
<td class="hideable-column" th:text="${acc.accountGroup?.name}"/>
|
||||
<td class="hideable-column" th:text="#{'financer.account-type.' + ${acc.type}}"/>
|
||||
<td class="hideable-column" th:text="#{'financer.account-status.' + ${acc.status}}"/>
|
||||
</tr>
|
||||
</table>
|
||||
<div th:replace="includes/footer :: footer"/>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<title th:text="#{financer.account-new.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.account-new}" />
|
||||
<span class="errorMessage" th:if="${errorMessage != null}" th:text="#{'financer.error-message.' + ${errorMessage}}"/>
|
||||
<form id="new-account-form" action="#" th:action="@{/saveAccount}" th:object="${form}" method="post">
|
||||
<label for="inputKey" th:text="#{financer.account-new.label.key}"/>
|
||||
<input type="text" id="inputKey" th:field="*{key}" />
|
||||
<label for="selectType" th:text="#{financer.account-new.label.type}"/>
|
||||
<select id="selectType" th:field="*{type}">
|
||||
<option th:each="type : ${accountTypes}" th:value="${type}" th:text="#{'financer.account-type.' + ${type}}"/>
|
||||
</select>
|
||||
<label for="selectGroup" th:text="#{financer.account-new.label.group}"/>
|
||||
<select id="selectGroup" th:field="*{group}">
|
||||
<option th:each="group : ${accountGroups}" th:value="${group.name}" th:text="${group.name}"/>
|
||||
</select>
|
||||
<input type="submit" th:value="#{financer.account-new.submit}" />
|
||||
</form>
|
||||
<div th:replace="includes/footer :: footer"/>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user