From dc5c652d358535e5f7ae5187f0e26c3213af4308 Mon Sep 17 00:00:00 2001 From: h-seya <2026_04_00278@it-college.co.jp> Date: Thu, 17 Sep 2026 14:20:34 +0900 Subject: [PATCH] =?UTF-8?q?[ADD]:=E3=83=88=E3=83=83=E3=83=97=E3=83=A1?= =?UTF-8?q?=E3=83=8B=E3=83=A5=E3=83=BC=E3=81=8B=E3=82=89=E5=90=84=E7=94=BB?= =?UTF-8?q?=E9=9D=A2=E3=81=B8=E9=81=B7=E7=A7=BB=E3=81=99=E3=82=8B=E5=87=A6?= =?UTF-8?q?=E7=90=86=E3=82=92=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/ApprovalReceiveController.java | 14 + .../controller/BookApprovalController.java | 15 + .../demo/controller/BookController.java | 15 + .../demo/controller/BookInsertController.java | 15 + .../demo/controller/LendListController.java | 15 + .../{ => controller}/LoginController.java | 4 +- .../demo/controller/LogoutController.java | 15 + .../controller/PasswordChangeController.java | 16 + .../resources/templates/approvalReceive.html | 677 ++++++++ src/main/resources/templates/book.html | 1353 +++++++++++++++ src/main/resources/templates/book.jsp | 1499 +++++++++++++++++ .../resources/templates/bookApproval.html | 677 ++++++++ src/main/resources/templates/bookInsert.html | 974 +++++++++++ src/main/resources/templates/lendlist.html | 759 +++++++++ .../resources/templates/passwordChange.html | 940 +++++++++++ src/main/resources/templates/topmenu.html | 30 +- 16 files changed, 7008 insertions(+), 10 deletions(-) create mode 100644 src/main/java/com/example/demo/controller/ApprovalReceiveController.java create mode 100644 src/main/java/com/example/demo/controller/BookApprovalController.java create mode 100644 src/main/java/com/example/demo/controller/BookController.java create mode 100644 src/main/java/com/example/demo/controller/BookInsertController.java create mode 100644 src/main/java/com/example/demo/controller/LendListController.java rename src/main/java/com/example/demo/{ => controller}/LoginController.java (90%) create mode 100644 src/main/java/com/example/demo/controller/LogoutController.java create mode 100644 src/main/java/com/example/demo/controller/PasswordChangeController.java create mode 100644 src/main/resources/templates/approvalReceive.html create mode 100644 src/main/resources/templates/book.html create mode 100644 src/main/resources/templates/book.jsp create mode 100644 src/main/resources/templates/bookApproval.html create mode 100644 src/main/resources/templates/bookInsert.html create mode 100644 src/main/resources/templates/lendlist.html create mode 100644 src/main/resources/templates/passwordChange.html diff --git a/src/main/java/com/example/demo/controller/ApprovalReceiveController.java b/src/main/java/com/example/demo/controller/ApprovalReceiveController.java new file mode 100644 index 0000000..e174a53 --- /dev/null +++ b/src/main/java/com/example/demo/controller/ApprovalReceiveController.java @@ -0,0 +1,14 @@ +package com.example.demo.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; + +@Controller +public class ApprovalReceiveController { + + // 申請受信ボックスに遷移 + @GetMapping("/approvalReceive") + public String approvalReceive() { + return "approvalReceive"; + } +} diff --git a/src/main/java/com/example/demo/controller/BookApprovalController.java b/src/main/java/com/example/demo/controller/BookApprovalController.java new file mode 100644 index 0000000..785021c --- /dev/null +++ b/src/main/java/com/example/demo/controller/BookApprovalController.java @@ -0,0 +1,15 @@ +package com.example.demo.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; + +@Controller +public class BookApprovalController { + + // 寄贈申請フォームに遷移 + @GetMapping("/bookApproval") + public String bookApproval() { + return "bookApproval"; + } + +} diff --git a/src/main/java/com/example/demo/controller/BookController.java b/src/main/java/com/example/demo/controller/BookController.java new file mode 100644 index 0000000..b9c6690 --- /dev/null +++ b/src/main/java/com/example/demo/controller/BookController.java @@ -0,0 +1,15 @@ +package com.example.demo.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; + +@Controller +public class BookController { + +// 図書一覧に遷移 + @GetMapping("/book") + public String book() { + return "book"; + } + +} diff --git a/src/main/java/com/example/demo/controller/BookInsertController.java b/src/main/java/com/example/demo/controller/BookInsertController.java new file mode 100644 index 0000000..8ac27ff --- /dev/null +++ b/src/main/java/com/example/demo/controller/BookInsertController.java @@ -0,0 +1,15 @@ +package com.example.demo.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; + +@Controller +public class BookInsertController { + +// 寄贈申請フォームに遷移 + @GetMapping("/bookInsert") + public String bookInsert() { + return "bookInsert"; + } + +} diff --git a/src/main/java/com/example/demo/controller/LendListController.java b/src/main/java/com/example/demo/controller/LendListController.java new file mode 100644 index 0000000..cb7cbec --- /dev/null +++ b/src/main/java/com/example/demo/controller/LendListController.java @@ -0,0 +1,15 @@ +package com.example.demo.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; + +@Controller +public class LendListController { + +// 貸出中一覧に遷移 + @GetMapping("/lendlist") + public String lendlist() { + return "lendlist"; + } + +} diff --git a/src/main/java/com/example/demo/LoginController.java b/src/main/java/com/example/demo/controller/LoginController.java similarity index 90% rename from src/main/java/com/example/demo/LoginController.java rename to src/main/java/com/example/demo/controller/LoginController.java index e876fc0..08e0657 100644 --- a/src/main/java/com/example/demo/LoginController.java +++ b/src/main/java/com/example/demo/controller/LoginController.java @@ -1,4 +1,4 @@ -package com.example.demo; +package com.example.demo.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; @@ -17,5 +17,5 @@ public class LoginController { public String topmenu() { return "topmenu"; } - + } diff --git a/src/main/java/com/example/demo/controller/LogoutController.java b/src/main/java/com/example/demo/controller/LogoutController.java new file mode 100644 index 0000000..1509c37 --- /dev/null +++ b/src/main/java/com/example/demo/controller/LogoutController.java @@ -0,0 +1,15 @@ +package com.example.demo.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; + +@Controller +public class LogoutController { + +// ログアウト処理を実行 + @GetMapping("/logout") + public String logout() { + return "login"; + } + +} diff --git a/src/main/java/com/example/demo/controller/PasswordChangeController.java b/src/main/java/com/example/demo/controller/PasswordChangeController.java new file mode 100644 index 0000000..969f9b7 --- /dev/null +++ b/src/main/java/com/example/demo/controller/PasswordChangeController.java @@ -0,0 +1,16 @@ +package com.example.demo.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; + +@Controller +public class PasswordChangeController { + +// パスワード変更画面に遷移 + @GetMapping("/passwordChange") + public String passwordChange() { + return "passwordChange"; + } + + +} diff --git a/src/main/resources/templates/approvalReceive.html b/src/main/resources/templates/approvalReceive.html new file mode 100644 index 0000000..409821b --- /dev/null +++ b/src/main/resources/templates/approvalReceive.html @@ -0,0 +1,677 @@ + + + + + + 寄贈申請 受信BOX + + + + + + +
+ + + +
+ 山田 太郎 さん(管理者) + +
+ +
+ +
+ + + +
+ + + +

寄贈申請受信BOX

+ +
+ ユーザーから提出された図書寄贈申請の一覧です。申請内容を確認し、承認または却下を行ってください。
+ + + +
受信件数:${donationList.size()}件
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
社員ID社員名タイトル著者名本の状態出版社カテゴリ備考詳細URL承認 / 却下登録画面移動 /
差し戻し +
100002佐藤 花子AIモデル開発入門田中 美咲良好技術評論社IT・プログラミング付属品なし 詳細URL + +
+ + +
+ + + + + +
+ +
+ + + + + +
+ +
+ +
+
+ +
+ + + + + +
+ +
+ + + + + +
+ +
+ +
100003鈴木 一郎Pythonではじめるデータ分析佐藤 拓也使用感ありオライリーIT・プログラミングCD-ROMあり 詳細URL + +
+ +
+ + + +
+ +
+ + + + + +
+ +
+ +
+
+ + + +
+ +
+
本の状態の判断基準
+ +
    +
  • 新品同様:ほぼ未使用
  • +
  • 良好:目立つ劣化なし
  • +
  • 使用感あり:多少の折れ・擦れあり
  • +
  • 傷みあり:目立つ傷・汚れ・書き込みあり
  • +
+
+ +
+
操作について
+ +
    +
  • 「詳細表示」ボタンで申請内容の詳細を確認できます。
  • +
  • 詳細画面から承認または却下を実施します。
  • +
  • 承認された寄贈申請は図書管理へ登録できます。
  • +
+
+ +
+ + + +
+ +
+ + + + \ No newline at end of file diff --git a/src/main/resources/templates/book.html b/src/main/resources/templates/book.html new file mode 100644 index 0000000..23488f8 --- /dev/null +++ b/src/main/resources/templates/book.html @@ -0,0 +1,1353 @@ + + + + + + + 社内図書一覧 - 社内備品・図書管理システム + + + + + + + + + +
+
+ 📖 ShareBooks +
+ +
+ + + <%=employeeName%>(<%=roleName%>) + + +
+ +
+ +
+
+ +
+ + <% if (isAdmin) { %> + +
+ + + +

社内図書一覧

+ + +
+ +
+ +
+ +
+ +
+ ⌕ +
+
+ +
+ + + +
+ +
+ +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ ~ +
+
+ + + +
+ + +
+ +
+ +
+ +
+ +
+ 全 <%=totalCount%> 件(10件ずつ表示) +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + <% if (bookList.isEmpty()) { %> + + + + <% } else { for (Book book : bookList) { boolean isLending=(book.getBookStatus()==1); + String statusLabel=isLending ? "貸出中" : "貸出可" ; String statusClass=isLending + ? "lending" : "available" ; String conditionLabel; String conditionClass; switch + (book.getCondition()) { case 1 : conditionLabel="新品同様" ; conditionClass="brand-new" + ; break; case 2 : conditionLabel="良好" ; conditionClass="good" ; break; case 3 : + conditionLabel="使用感あり" ; conditionClass="normal" ; break; case 4 : + conditionLabel="傷みあり" ; conditionClass="bad" ; break; default : conditionLabel="不明" + ; conditionClass="unknown" ; break; } %> + + + + + + + + + + + + + + + + + + + <% } } %> + + +
図書IDISBN書籍名著者名出版社出版日カテゴリー名サブカテゴリー名保管場所貸出状態本の状態備考登録日時更新日時寄贈者操作
+ 表示できる図書がありません。
+ <%=book.getBookManageId()%> + + <%=book.getIsbn() !=null ? book.getIsbn() : "-" %> + + <%=book.getTitle()%> + + <%=book.getAuthor()%> + + <%=book.getPublisher() !=null ? book.getPublisher() : "-" %> + + <%=book.getPublicationDate() !=null ? + dateFormat.format(book.getPublicationDate()) : "-" %> + + <%=book.getCategoryName()%> + + <%=book.getSubcategoryName()%> + + <%=book.getLocationName()%> + + <%=statusLabel%> + + <%=conditionLabel%> + + <%=book.getDescription() !=null ? book.getDescription() : "-" %> + + <%=book.getCreatedAt() !=null ? dateFormat.format(book.getCreatedAt()) : "-" + %> + + <%=book.getUpdatedAt() !=null ? dateFormat.format(book.getUpdatedAt()) : "-" + %> + + <%=book.getDonorName() !=null ? book.getDonorName() : "-" %> + +
+ 更新 + + <% if (isLending) { %> + + <% } else { %> + 貸出 + <% } %> +
+
+
+ + + + +
※「貸出中」の場合、返却予定日を赤字で表示しています。
+ + <% } else { %> + +
+ + + +

社内図書一覧

+ +

社内で所蔵している図書の一覧を表示します。

+ + +
+ +
+ +
+ +
+ +
+ ⌕ +
+
+ +
+ +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ +
+ +
+ +
+ +
+ 全 <%=totalCount%> 件(10件ずつ表示) +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + <% if (bookList.isEmpty()) { %> + + + + <% } else { for (Book book : bookList) { boolean + isLending=(book.getBookStatus()==1); String statusLabel=isLending ? "貸出中" + : "貸出可" ; String statusClass=isLending ? "lending" : "available" ; String + conditionLabel; String conditionClass; switch (book.getCondition()) { case 1 + : conditionLabel="新品同様" ; conditionClass="brand-new" ; break; case 2 : + conditionLabel="良好" ; conditionClass="good" ; break; case 3 : + conditionLabel="使用感あり" ; conditionClass="normal" ; break; case 4 : + conditionLabel="傷みあり" ; conditionClass="bad" ; break; default : + conditionLabel="不明" ; conditionClass="unknown" ; break; } %> + + + + + + + + + + + + + + + + <% } } %> + + +
図書IDISBNタイトル著者名出版社カテゴリー名サブカテゴリー名保管場所貸出状態本の状態備考登録日時更新日時
+ 表示できる図書がありません。
+ <%=book.getBookManageId()%> + + <%=book.getIsbn() !=null ? book.getIsbn() : "-" %> + + <%=book.getTitle()%> + + <%=book.getAuthor()%> + + <%=book.getPublisher() !=null ? book.getPublisher() : "-" %> + + <%=book.getCategoryName()%> + + <%=book.getSubcategoryName()%> + + <%=book.getLocationName()%> + + <%=statusLabel%> + + <%=conditionLabel%> + + <%=book.getDescription() !=null ? book.getDescription() : "-" %> + + <%=book.getCreatedAt() !=null ? + dateFormat.format(book.getCreatedAt()) : "-" %> + + <%=book.getUpdatedAt() !=null ? + dateFormat.format(book.getUpdatedAt()) : "-" %> +
+
+ + + + <% } %> +
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/book.jsp b/src/main/resources/templates/book.jsp new file mode 100644 index 0000000..5d7d04a --- /dev/null +++ b/src/main/resources/templates/book.jsp @@ -0,0 +1,1499 @@ +<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@ page import="bookequ_manage_system.entity.Account"%> +<%@ page import="bookequ_manage_system.entity.Book"%> +<%@ page import="java.util.List"%> +<%@ page import="java.text.SimpleDateFormat"%> + +<% +/* + * JSPには暗黙的に session が用意されているため、 + * HttpSession session = ... のような宣言はしない。 + * + * LoginServletで + * session.setAttribute("account", account); + * として保存されたAccountを取得する。 + */ +if (session.getAttribute("account") == null) { + response.sendRedirect(request.getContextPath() + "/login.jsp"); + return; +} + +Account account = (Account) session.getAttribute("account"); + +/* + * Account.java の adminFlag を利用する。 + * 1 = 管理者 + * 0 = 一般ユーザ + */ +boolean isAdmin = account.getAdminFlag() == 1; + +int employeeId = account.getEmployeeId(); + +String roleName = isAdmin ? "管理者" : "一般ユーザ"; + +/* + * LoginServletでセッションに保存した社員名を取得する。 + * topmenu.jspと同じ「employeeName」を使用する。 + * + * 社員名がセッションにない場合は、社員IDを代わりに表示する。 + */ +Object employeeNameObject = session.getAttribute("employeeName"); +String employeeName; + +if (employeeNameObject != null && !employeeNameObject.toString().trim().isEmpty()) { + employeeName = employeeNameObject.toString(); +} else { + employeeName = "社員ID:" + employeeId; +} + +/* + * BookServletが request.setAttribute("bookList", bookList) で渡した + * 図書一覧(このページの10件)を受け取る。 + */ +List bookList = (List) request.getAttribute("bookList"); +if (bookList == null) { + bookList = new java.util.ArrayList(); +} + +// 出版日・登録日時・更新日時の表示用フォーマット(DBはDATE型のため日付のみ) +SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd"); + +/* + * ページネーション用に、BookServletが渡した現在ページ・総ページ数・総件数を受け取る。 + */ +Integer currentPageObj = (Integer) request.getAttribute("page"); +Integer totalPagesObj = (Integer) request.getAttribute("totalPages"); +Integer totalCountObj = (Integer) request.getAttribute("totalCount"); + +int currentPage = (currentPageObj != null) ? currentPageObj : 1; +int totalPages = (totalPagesObj != null) ? totalPagesObj : 1; +int totalCount = (totalCountObj != null) ? totalCountObj : 0; +%> + + + + + +社内図書一覧 - 社内備品・図書管理システム + + + + + + + + + +
+
+ 📖 ShareBooks +
+ +
+ + + <%=employeeName%>(<%=roleName%>) + + +
+ +
+ +
+
+ +
+ + <% + if (isAdmin) { + %> + +
+ + + +

社内図書一覧

+ + +
+ +
+ +
+ +
+ +
+ ⌕ +
+
+ +
+ + + +
+ +
+ +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ ~ +
+
+ + + +
+ + +
+ +
+ +
+ +
+ +
+ 全 <%=totalCount%> 件(10件ずつ表示) +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + <% + if (bookList.isEmpty()) { + %> + + + + <% + } else { + for (Book book : bookList) { + + boolean isLending = (book.getBookStatus() == 1); + String statusLabel = isLending ? "貸出中" : "貸出可"; + String statusClass = isLending ? "lending" : "available"; + + String conditionLabel; + String conditionClass; + switch (book.getCondition()) { + case 1 : + conditionLabel = "新品同様"; + conditionClass = "brand-new"; + break; + case 2 : + conditionLabel = "良好"; + conditionClass = "good"; + break; + case 3 : + conditionLabel = "使用感あり"; + conditionClass = "normal"; + break; + case 4 : + conditionLabel = "傷みあり"; + conditionClass = "bad"; + break; + default : + conditionLabel = "不明"; + conditionClass = "unknown"; + break; + } + %> + + + + + + + + + + + + + + + + + + + <% + } + } + %> + + +
図書IDISBN書籍名著者名出版社出版日カテゴリー名サブカテゴリー名保管場所貸出状態本の状態備考登録日時更新日時寄贈者操作
+ 表示できる図書がありません。
<%=book.getBookManageId()%><%=book.getIsbn() != null ? book.getIsbn() : "-"%><%=book.getTitle()%><%=book.getAuthor()%><%=book.getPublisher() != null ? book.getPublisher() : "-"%><%=book.getPublicationDate() != null ? dateFormat.format(book.getPublicationDate()) : "-"%><%=book.getCategoryName()%><%=book.getSubcategoryName()%><%=book.getLocationName()%><%=statusLabel%><%=conditionLabel%><%=book.getDescription() != null ? book.getDescription() : "-"%><%=book.getCreatedAt() != null ? dateFormat.format(book.getCreatedAt()) : "-"%><%=book.getUpdatedAt() != null ? dateFormat.format(book.getUpdatedAt()) : "-"%><%=book.getDonorName() != null ? book.getDonorName() : "-"%> +
+ 更新 + + <% + if (isLending) { + %> + + <% + } else { + %> + 貸出 + <% + } + %> +
+
+
+ + + + +
※「貸出中」の場合、返却予定日を赤字で表示しています。
+ + <% + } else { + %> + +
+ + + +

社内図書一覧

+ +

社内で所蔵している図書の一覧を表示します。

+ + +
+ +
+ +
+ +
+ +
+ ⌕ +
+
+ +
+ +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ +
+ +
+ +
+ +
+ 全 <%=totalCount%> 件(10件ずつ表示) +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + <% + if (bookList.isEmpty()) { + %> + + + + <% + } else { + for (Book book : bookList) { + + boolean isLending = (book.getBookStatus() == 1); + String statusLabel = isLending ? "貸出中" : "貸出可"; + String statusClass = isLending ? "lending" : "available"; + + String conditionLabel; + String conditionClass; + switch (book.getCondition()) { + case 1 : + conditionLabel = "新品同様"; + conditionClass = "brand-new"; + break; + case 2 : + conditionLabel = "良好"; + conditionClass = "good"; + break; + case 3 : + conditionLabel = "使用感あり"; + conditionClass = "normal"; + break; + case 4 : + conditionLabel = "傷みあり"; + conditionClass = "bad"; + break; + default : + conditionLabel = "不明"; + conditionClass = "unknown"; + break; + } + %> + + + + + + + + + + + + + + + + <% + } + } + %> + + +
図書IDISBNタイトル著者名出版社カテゴリー名サブカテゴリー名保管場所貸出状態本の状態備考登録日時更新日時
+ 表示できる図書がありません。
<%=book.getBookManageId()%><%=book.getIsbn() != null ? book.getIsbn() : "-"%><%=book.getTitle()%><%=book.getAuthor()%><%=book.getPublisher() != null ? book.getPublisher() : "-"%><%=book.getCategoryName()%><%=book.getSubcategoryName()%><%=book.getLocationName()%><%=statusLabel%><%=conditionLabel%><%=book.getDescription() != null ? book.getDescription() : "-"%><%=book.getCreatedAt() != null ? dateFormat.format(book.getCreatedAt()) : "-"%><%=book.getUpdatedAt() != null ? dateFormat.format(book.getUpdatedAt()) : "-"%>
+
+ + + + <% + } + %> +
+
+ +
© 2026 社内備品・図書管理システム
+ + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/bookApproval.html b/src/main/resources/templates/bookApproval.html new file mode 100644 index 0000000..5caaadd --- /dev/null +++ b/src/main/resources/templates/bookApproval.html @@ -0,0 +1,677 @@ + + + + + + 寄贈申請 受信BOX + + + + + + +
+ + + +
+ 山田 太郎 さん(管理者) + +
+ +
+ +
+ + + +
+ + + +

寄贈申請受信BOX

+ +
+ ユーザーから提出された図書寄贈申請の一覧です。申請内容を確認し、承認または却下を行ってください。
+ + + +
受信件数:${donationList.size()}件
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
社員ID社員名タイトル著者名本の状態出版社カテゴリ備考詳細URL承認 / 却下登録画面移動 /
差し戻し +
100002佐藤 花子AIモデル開発入門田中 美咲良好技術評論社IT・プログラミング付属品なし 詳細URL + +
+ + +
+ + + + + +
+ +
+ + + + + +
+ +
+ +
+
+ +
+ + + + + +
+ +
+ + + + + +
+ +
+ +
100003鈴木 一郎Pythonではじめるデータ分析佐藤 拓也使用感ありオライリーIT・プログラミングCD-ROMあり 詳細URL + +
+ +
+ + + +
+ +
+ + + + + +
+ +
+ +
+
+ + + +
+ +
+
本の状態の判断基準
+ +
    +
  • 新品同様:ほぼ未使用
  • +
  • 良好:目立つ劣化なし
  • +
  • 使用感あり:多少の折れ・擦れあり
  • +
  • 傷みあり:目立つ傷・汚れ・書き込みあり
  • +
+
+ +
+
操作について
+ +
    +
  • 「詳細表示」ボタンで申請内容の詳細を確認できます。
  • +
  • 詳細画面から承認または却下を実施します。
  • +
  • 承認された寄贈申請は図書管理へ登録できます。
  • +
+
+ +
+ + + +
+ +
+ + + + \ No newline at end of file diff --git a/src/main/resources/templates/bookInsert.html b/src/main/resources/templates/bookInsert.html new file mode 100644 index 0000000..1614bec --- /dev/null +++ b/src/main/resources/templates/bookInsert.html @@ -0,0 +1,974 @@ + + + + + + + 【図書】登録内容入力 + + + + + + + + + + + +
+ + + + +
${errorMessage}
+
+ +
+ + + + + +
+ + + +
+ +
+ +
+ + +
+ + + + + + + + + +
+ + + + +

新規図書登録内容入力

+ + +
新しく図書を登録します。 + 必要事項を入力し、「確認へ」ボタンを押してください。
+ + +
(※)は必須項目です。
+ + + + +
+ + +
+ + +
図書情報
+ + +
+ + + + +
+ + + + +
+ + + +
+ + + +
※自動採番されます(例:BK0001、BK0002 ...)
+ +
+ +
+ + + + +
+ + + +
+ + + +
※自動取得されます
+ +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ +
+ + + + + + + + + + + + +
+ +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
※ハイフン(-)を含む形式で入力してください
+ +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ + + +
+ + + +
+ + + +
+ +
+ +
+ + + + + + + +
+ + +
任意項目
+ + +
+ + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
※寄贈図書の場合に入力してください
+ +
+ +
+ + + + +
+ + + +
+ + + +
0 / 200
+ +
+ +
+ + +
+ +
+ + + + +
+ +
入力に関する注意
+ +
    + +
  • 図書一覧に表示する内容を入力してください。
  • + +
  • ISBNはハイフン(-)を含む形式で入力してください。
  • + +
  • 登録日および図書管理IDは、 登録時に自動で設定されます。
  • + +
  • 出版日は任意項目のため、 不明な場合は空欄でも登録できます。
  • + +
+ +
+ + +
+
+ + + + +
+ + + 図書一覧へ戻る + + +
+ + + + + + + + +
+ +
+ + +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/src/main/resources/templates/lendlist.html b/src/main/resources/templates/lendlist.html new file mode 100644 index 0000000..9ae5091 --- /dev/null +++ b/src/main/resources/templates/lendlist.html @@ -0,0 +1,759 @@ + + + + + + 貸出中図書一覧 + + + + + + + +
+ +
+ 📖 ShareBooks +
+
+ + + <%=session.getAttribute("employeeName")%>(<%=roleName%>) + + +
+ + + +
+ +
+
+ +
+ + + + + +
+ + + +

貸出中備品・図書一覧

+ +
現在貸出中の備品および図書の一覧です。
+ + +
+
+ +
+ +
検索(完全一致)
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ +
+ +
+ +
フィルタ
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ +
+ +
並び順
+ + + +
+ +
+
+ + +
+ 検索結果: + + 件 +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
種別社員ID氏名メールアドレス品名 / タイトル管理ID返却予定日超過日数操作
+ + + + + + + + + + + + + + + + + + 日 + + + - + + + +
現在、貸出中の対象はありません。
+ +
+ + + + + +
+
ⓘ 返却について
+ +

+ 「返却」ボタンを押下すると、貸出の返却処理を行います。
返却処理により、在庫数および貸出ステータスが更新されます。 +

+
+ +
+ +
+ + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/passwordChange.html b/src/main/resources/templates/passwordChange.html new file mode 100644 index 0000000..0212511 --- /dev/null +++ b/src/main/resources/templates/passwordChange.html @@ -0,0 +1,940 @@ + + + + + +パスワード再設定 | 社内備品・図書管理システム + + + + + + + +
+ +
+ + + + + 社内備品・図書管理システム +
+ +
+ + + <%=session.getAttribute("employeeName")%>(<%=roleName%>) + + +
+ + + +
+ +
+
+ + + + + +
+ + + + + + +
+ + + +

パスワード再設定

+ +

現在のパスワードと新しいパスワードを入力し、「確定」ボタンを押してください。

+ +

(※)は必須項目です。

+ + <% + if (errorMessage != null) { + %> +
<%=errorMessage%>
+ <% + } + %> + + <% + if (successMessage != null) { + %> +
<%=successMessage%>
+ <% + } + %> + + +
+ + +
+ +
+ +

パスワード再設定入力

+ +
+ + + +
+ + + +
+ + + + + +
+
+ + + +
+ + + +
+ + + + + +
+ +

※ 半角英数字・記号を含む8文字以上16文字以下で入力してください。

+ +
+ + + +
+ + + + +
+ + + + + +
+ +

※ 確認のため、もう一度新しいパスワードを入力してください。

+ +
+
+ + + +
+ +
注意事項
+ +
    +
  • 「確定」ボタンを押した時点で、入力内容のチェックが行われます。
  • +
  • エラーがある場合は、該当するメッセージをポップアップで表示します。
  • +
  • エラーがない場合は、確認のポップアップが表示されます。
  • +
  • パスワードを変更した後は、再度ログインしてください。
  • +
+ +
+ + + +
+ + + +
+ + + + + +
+ +
+ +
+ + + +
+ +
+ +
パスワードの制約
+ +
使用可能文字
+ +
半角英数字・記号
+ +
+ +
制約
+ +
    + +
  • ✓ 8文字以上16文字以下
  • +
  • ✓ 1つ以上の小文字を使用
  • +
  • ✓ 1つ以上の大文字を使用
  • +
  • ✓ 1つ以上の数字を使用
  • +
  • ✓ 1つ以上の記号を使用
  • + +
+ +
+ +
設定例
+ +
Abcdef12!
+ +
(9文字、英字大小・数字・記号を含む)
+ +
+ +
+ +
+ +
+ +
+ +
+ + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/topmenu.html b/src/main/resources/templates/topmenu.html index 645c77e..ab4dce8 100644 --- a/src/main/resources/templates/topmenu.html +++ b/src/main/resources/templates/topmenu.html @@ -464,8 +464,10 @@ <%=session.getAttribute("employeeName")%>(<%=roleName%>) - + + + + @@ -523,7 +525,9 @@