Compare commits
2 Commits
s-morimto
...
0687a1837e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0687a1837e | ||
|
|
2a4150c883 |
@@ -0,0 +1,5 @@
|
|||||||
|
package com.example.demo.app.infra.entity;
|
||||||
|
|
||||||
|
public class TestController6 {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -57,8 +57,7 @@ public class ProfileController {
|
|||||||
profileModel.getBirthDate(),
|
profileModel.getBirthDate(),
|
||||||
profileModel.getSaving(),
|
profileModel.getSaving(),
|
||||||
profileModel.getAnnualIncome(),
|
profileModel.getAnnualIncome(),
|
||||||
profileModel.getMonthlyBudget(),
|
profileModel.getMonthlyBudget());
|
||||||
profileModel.getBirthDate());
|
|
||||||
|
|
||||||
model.addAttribute(PageReturnAttributeKeyword.PROFILE_EDIT_FORM, profileEditForm);
|
model.addAttribute(PageReturnAttributeKeyword.PROFILE_EDIT_FORM, profileEditForm);
|
||||||
return TransitionTargetPageNameKeyword.PROFILE_EDIT_HTML;
|
return TransitionTargetPageNameKeyword.PROFILE_EDIT_HTML;
|
||||||
|
|||||||
@@ -16,5 +16,4 @@ public class ProfileEditForm {
|
|||||||
private Integer saving;
|
private Integer saving;
|
||||||
private Integer annualIncome;
|
private Integer annualIncome;
|
||||||
private Integer monthlyBudget;
|
private Integer monthlyBudget;
|
||||||
private LocalDate birthDate;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -138,8 +138,6 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card shadow-sm">
|
<div class="card shadow-sm">
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
<body style="padding-bottom: 120px">
|
<body style="padding-bottom: 120px">
|
||||||
<div th:replace="~{header :: header}"></div>
|
<div th:replace="~{header :: header}"></div>
|
||||||
|
|
||||||
<h1 class="page-title">コース選択</h1>
|
<h1 class="page-title">コース選択</h1>
|
||||||
|
|
||||||
<th:block th:if="${mode == 'change'}">
|
<th:block th:if="${mode == 'change'}">
|
||||||
|
|||||||
@@ -1,153 +1,153 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns:th="http://www.thymeleaf.org">
|
<html xmlns:th="http://www.thymeleaf.org">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1" http-equiv="Content-Type">
|
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1" http-equiv="Content-Type">
|
||||||
<title>収支詳細</title>
|
<title>収支詳細</title>
|
||||||
<link rel="stylesheet" th:href="@{/css/transaction_detail.css}">
|
<link rel="stylesheet" th:href="@{/css/transaction_detail.css}">
|
||||||
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" th:href="@{/css/style.css}">
|
<link rel="stylesheet" th:href="@{/css/style.css}">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body style="padding-top:80px; padding-bottom:80px;">
|
<body style="padding-top:80px; padding-bottom:80px;">
|
||||||
|
|
||||||
<div th:replace="~{header :: header}"></div>
|
<div th:replace="~{header :: header}"></div>
|
||||||
<div class="main-container">
|
<div class="main-container">
|
||||||
|
|
||||||
<h2 class="page-title"
|
<h2 class="page-title"
|
||||||
th:text="${today}">
|
th:text="${today}">
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div th:each="transactionForm : ${transactionFormList}"
|
<div th:each="transactionForm : ${transactionFormList}"
|
||||||
class="card shadow-sm mb-3">
|
class="card shadow-sm mb-3">
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
|
|
||||||
<span class="fw-bold"
|
<span class="fw-bold"
|
||||||
th:text="${transactionForm.categoryName}">
|
th:text="${transactionForm.categoryName}">
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span th:text="'¥' + ${transactionForm.amount}">
|
<span th:text="'¥' + ${transactionForm.amount}">
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="d-flex justify-content-end gap-2 mt-3">
|
<div class="d-flex justify-content-end gap-2 mt-3">
|
||||||
|
|
||||||
<form th:action="@{/transaction/update}"
|
<form th:action="@{/transaction/update}"
|
||||||
method="get">
|
method="get">
|
||||||
|
|
||||||
<input type="hidden"
|
<input type="hidden"
|
||||||
name="today"
|
name="today"
|
||||||
th:value="${today}">
|
th:value="${today}">
|
||||||
|
|
||||||
<input type="hidden"
|
<input type="hidden"
|
||||||
name="transactionId"
|
name="transactionId"
|
||||||
th:value="${transactionForm.transactionId}">
|
th:value="${transactionForm.transactionId}">
|
||||||
|
|
||||||
<button class="btn btn-sm btn-primary"
|
<button class="btn btn-sm btn-primary"
|
||||||
type="submit">
|
type="submit">
|
||||||
|
|
||||||
編集
|
編集
|
||||||
|
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<form th:action="@{/transaction/delete}"
|
<form th:action="@{/transaction/delete}"
|
||||||
method="post">
|
method="post">
|
||||||
|
|
||||||
<input type="hidden"
|
<input type="hidden"
|
||||||
name="today"
|
name="today"
|
||||||
th:value="${today}">
|
th:value="${today}">
|
||||||
|
|
||||||
<input type="hidden"
|
<input type="hidden"
|
||||||
name="transactionId"
|
name="transactionId"
|
||||||
th:value="${transactionForm.transactionId}">
|
th:value="${transactionForm.transactionId}">
|
||||||
|
|
||||||
<button class="btn btn-sm btn-danger"
|
<button class="btn btn-sm btn-danger"
|
||||||
type="submit">
|
type="submit">
|
||||||
|
|
||||||
削除
|
削除
|
||||||
|
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="d-grid mt-4">
|
<div class="d-grid mt-4">
|
||||||
|
|
||||||
<form th:action="@{/transaction/create}"
|
<form th:action="@{/transaction/create}"
|
||||||
method="get">
|
method="get">
|
||||||
|
|
||||||
<input type="hidden"
|
<input type="hidden"
|
||||||
name="today"
|
name="today"
|
||||||
id="today"
|
id="today"
|
||||||
th:value="${today}">
|
th:value="${today}">
|
||||||
|
|
||||||
<button class="btn btn-success w-100"
|
<button class="btn btn-success w-100"
|
||||||
type="submit">
|
type="submit">
|
||||||
|
|
||||||
新規登録
|
新規登録
|
||||||
|
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="d-grid mt-4">
|
<div class="d-grid mt-4">
|
||||||
|
|
||||||
<form th:action="@{/fixed-cost/list}" method="get">
|
<form th:action="@{/fixed-cost/list}" method="get">
|
||||||
|
|
||||||
<input type="hidden"
|
<input type="hidden"
|
||||||
name="today"
|
name="today"
|
||||||
id="today"
|
id="today"
|
||||||
th:value="${today}">
|
th:value="${today}">
|
||||||
|
|
||||||
<button class="btn btn-dark w-100"
|
<button class="btn btn-dark w-100"
|
||||||
type="submit">
|
type="submit">
|
||||||
|
|
||||||
固定費一覧
|
固定費一覧
|
||||||
|
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="d-grid mt-4">
|
<div class="d-grid mt-4">
|
||||||
|
|
||||||
<form th:action="@{/category/list}"
|
<form th:action="@{/category/list}"
|
||||||
method="get">
|
method="get">
|
||||||
|
|
||||||
<input type="hidden"
|
<input type="hidden"
|
||||||
name="today"
|
name="today"
|
||||||
id="today"
|
id="today"
|
||||||
th:value="${today}">
|
th:value="${today}">
|
||||||
|
|
||||||
<button class="btn btn-dark w-100"
|
<button class="btn btn-dark w-100"
|
||||||
type="submit">
|
type="submit">
|
||||||
|
|
||||||
カテゴリ一覧
|
カテゴリ一覧
|
||||||
|
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div th:replace="~{footer :: footer}"></div>
|
<div th:replace="~{footer :: footer}"></div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user