[FIX]取引新規登録ボタンを一つにし、デザインを統一しました

This commit is contained in:
2026-09-28 15:37:41 +09:00
parent 75f2f7c8d0
commit 154e6787d4
2 changed files with 42 additions and 20 deletions

View File

@@ -6,12 +6,6 @@
<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">
</head> </head>
<body class="pb-5 pt-5"> <body class="pb-5 pt-5">
<div th:replace="~{header :: header}">
</div>
</head>
<body>
<div th:replace="~{header :: header}"> <div th:replace="~{header :: header}">
</div> </div>

View File

@@ -90,6 +90,7 @@
<input type="hidden" <input type="hidden"
name="today" name="today"
id="today"
th:value="${today}"> th:value="${today}">
<button class="btn btn-success w-100" <button class="btn btn-success w-100"
@@ -102,23 +103,50 @@
</form> </form>
</div> </div>
<div class="d-grid mt-4">
<form th:action="@{/fixed-cost/list}" method="get">
<input type="hidden"
name="today"
id="today"
th:value="${today}">
<button class="btn btn-dark w-100"
type="submit">
固定費一覧
</button>
</form>
</div>
<div class="d-grid mt-4">
<form th:action="@{/category/list}"
method="get">
<input type="hidden"
name="today"
id="today"
th:value="${today}">
<button class="btn btn-dark w-100"
type="submit">
カテゴリ一覧
</button>
</form>
</div>
</div> </div>
<form th:action="@{/transaction/create}" method="get">
<input type="hidden" name="today" id="today" th:value="${today}">
<button type="submit">新規登録</button>
</form>
<form th:action="@{/fixed-cost/list}" method="get">
<input type="hidden" name="today" th:value="${today}">
<button type="submit">固定費一覧</button>
</form>
<form th:action="@{/category/list}" method="get">
<input type="hidden" name="today" th:value="${today}">
<button type="submit">カテゴリ一覧</button>
</form>
<div th:replace="~{footer :: footer}"></div> <div th:replace="~{footer :: footer}"></div>
</body> </body>