[edit] 図書一覧表示のエラー箇所を修正しました

This commit is contained in:
s-tajihi
2026-09-24 12:52:54 +09:00
parent ab48f30b6e
commit a6a42295c4
6 changed files with 90 additions and 28 deletions

View File

@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
@@ -7,19 +8,68 @@
</head>
<body>
<form method="get" action="bookLend">
<div class="container">
<h1>社内図書一覧</h1>
<div class="float-end">
</div>
<form method="get" action="bookLend">
<table class="table table-striped">
<thead>
<tr>
<th>図書ID</th>
<th>ISBN</th>
<th>書籍名</th>
<th>著者名</th>
<th>出版社</th>
<th>出版日</th>
<th>カテゴリー名</th>
<th>サブカテゴリー名</th>
<th>保管場所</th>
<th>貸出状態</th>
<th>本の状態</th>
<th>備考</th>
<th>登録日時</th>
<th>更新日時</th>
<th>寄贈者</th>
<th>寄贈者</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr th:each="b : ${book}">
<td th:text="*{b.bookId}"></td>
<td th:text="*{b.bookManageId}"></td>
<td th:text="*{b.title}"></td>
<td th:text="*{b.isbn}"></td>
<td th:text="*{b.author}"></td>
<td th:text="*{b.publisher}"></td>
<td th:text="*{b.publicationDate}"></td>
<td th:text="*{b.subcategoryId}"></td>
<td th:text="*{b.locationId}"></td>
<td th:text="*{b.condition}"></td>
<td th:text="*{b.createdAt}"></td>
<td th:text="*{b.updatedAt}"></td>
<td th:text="*{b.isDeleted}"></td>
<td th:text="*{b.donorId}"></td>
<td th:text="*{b.description}"></td>
<td th:text="*{b.bookApproval}"></td>
</tr>
</tbody>
</table>
<button type="submit" class="btn-login">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" />
<polyline points="10 17 15 12 10 7" />
<line x1="15" y1="12" x2="3" y2="12" />
</svg>
貸出
</button>
</form>
<button type="submit" class="btn-login">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" />
<polyline points="10 17 15 12 10 7" />
<line x1="15" y1="12" x2="3" y2="12" />
</svg>
貸出
</button>
</form>
</body>