[edit] 図書一覧HTMLの修正をしました

This commit is contained in:
s-tajihi
2026-09-25 10:47:24 +09:00
parent 19615ef3f4
commit d7d6b9b3f5

View File

@@ -19,43 +19,42 @@
<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>
<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.bookSubcategory.bookSubcategoryName}"></td>
<td th:text="*{b.bookSubcategory.bookCategory.bookCategoryName}"></td>
<td th:text="*{b.storageLocation.locationName}"></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 != null ? b.donorId : '-'}"></td>
<td th:text="*{b.description}"></td>
<td th:text="*{b.bookApproval}"></td>
<tr th:each="book : ${book}">
<td th:text="*{book.bookManageId}"></td>
<td th:text="*{book.isbn}"></td>
<td th:text="*{book.title}"></td>
<td th:text="*{book.author}"></td>
<td th:text="*{book.publisher}"></td>
<td th:text="*{book.publicationDate}"></td>
<td th:text="*{book.bookSubcategory.bookCategory.bookCategoryName}"></td>
<td th:text="*{book.bookSubcategory.bookSubcategoryName}"></td>
<td th:text="*{book.storageLocation.locationName}"></td>
<td th:text="*{book.condition}"></td>
<td th:text="*{book.createdAt}"></td>
<td th:text="*{book.updatedAt}"></td>
<td th:text="*{book.employee != null ? book.employee.employeeId : '-'}"></td>
<td th:text="*{book.bookLends != null ? book.bookLends.bookStatus : '-'}"></td>
</tr>
</tbody>
</table>
@@ -72,6 +71,30 @@
</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>
<form method="post" action="update">
<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>
</html>