From 2c230d56101ce9b4f2457f04ef0bd319b0f4a294 Mon Sep 17 00:00:00 2001 From: s-tajihi <2026_04_00508@it-college.co.jp> Date: Fri, 18 Sep 2026 12:45:03 +0900 Subject: [PATCH 1/5] =?UTF-8?q?[add]=20=E6=96=B0=E8=A6=8F=E5=9B=B3?= =?UTF-8?q?=E6=9B=B8=E7=99=BB=E9=8C=B2=E7=94=BB=E9=9D=A2=E2=86=92=E7=99=BB?= =?UTF-8?q?=E9=8C=B2=E7=A2=BA=E8=AA=8D=E7=94=BB=E9=9D=A2=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/BookInsertConfirmController.java | 14 ++++++++++++++ .../demo/controller/BookInsertController.java | 13 +++++++++++++ src/main/resources/templates/bookInsert.html | 15 +++++++++++++++ .../resources/templates/bookInsertConfirm.html | 13 +++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 src/main/java/com/example/demo/controller/BookInsertConfirmController.java create mode 100644 src/main/java/com/example/demo/controller/BookInsertController.java create mode 100644 src/main/resources/templates/bookInsert.html create mode 100644 src/main/resources/templates/bookInsertConfirm.html diff --git a/src/main/java/com/example/demo/controller/BookInsertConfirmController.java b/src/main/java/com/example/demo/controller/BookInsertConfirmController.java new file mode 100644 index 0000000..d3e6cc1 --- /dev/null +++ b/src/main/java/com/example/demo/controller/BookInsertConfirmController.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 BookInsertConfirmController { + @GetMapping("/bookInsertConfirm") + public String bookInsertConfirm() { + return "bookInsertConfirm"; + + } + +} 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..d066d30 --- /dev/null +++ b/src/main/java/com/example/demo/controller/BookInsertController.java @@ -0,0 +1,13 @@ +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/resources/templates/bookInsert.html b/src/main/resources/templates/bookInsert.html new file mode 100644 index 0000000..41ae8a2 --- /dev/null +++ b/src/main/resources/templates/bookInsert.html @@ -0,0 +1,15 @@ + + + + + + 新規図書登録 + + + +

新規図書登録入力

+
+ + + + \ No newline at end of file diff --git a/src/main/resources/templates/bookInsertConfirm.html b/src/main/resources/templates/bookInsertConfirm.html new file mode 100644 index 0000000..1fe86a5 --- /dev/null +++ b/src/main/resources/templates/bookInsertConfirm.html @@ -0,0 +1,13 @@ + + + + + + 登録内容確認 + + + +

登録内容確認

+ + + \ No newline at end of file From d00e7feaae61414a4aef7a66d830202ec6abf1a6 Mon Sep 17 00:00:00 2001 From: w-yuki Date: Fri, 18 Sep 2026 12:45:14 +0900 Subject: [PATCH 2/5] =?UTF-8?q?[Add]=E5=AF=84=E8=B4=88=E7=94=B3=E8=AB=8B?= =?UTF-8?q?=E7=94=BB=E9=9D=A2=E3=81=8B=E3=82=89=E7=A2=BA=E8=AA=8D=E7=94=BB?= =?UTF-8?q?=E9=9D=A2=E3=81=AE=E9=81=B7=E7=A7=BB=E3=82=92=E8=BF=BD=E5=8A=A0?= =?UTF-8?q?=E3=81=97=E3=81=BE=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/BookApprovalController.java | 23 + .../resources/templates/bookApproval.html | 1203 +++++++++++++++++ .../templates/bookApprovalConfirm.html | 856 ++++++++++++ 3 files changed, 2082 insertions(+) create mode 100644 src/main/java/com/example/demo/controller/BookApprovalController.java create mode 100644 src/main/resources/templates/bookApproval.html create mode 100644 src/main/resources/templates/bookApprovalConfirm.html 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..3333ce7 --- /dev/null +++ b/src/main/java/com/example/demo/controller/BookApprovalController.java @@ -0,0 +1,23 @@ +package com.example.demo.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.SessionAttributes; + +@Controller +@SessionAttributes("bookApprovalForm") //セッションに保存 +public class BookApprovalController { + + @GetMapping("/bookApproval") + public String bookApproval() { + return "bookApproval"; + } + + @PostMapping("/bookApprovalConfirm") + public String bookApprovalConfirm() { + return "bookApprovalConfirm"; + } +} + + diff --git a/src/main/resources/templates/bookApproval.html b/src/main/resources/templates/bookApproval.html new file mode 100644 index 0000000..bfaba5f --- /dev/null +++ b/src/main/resources/templates/bookApproval.html @@ -0,0 +1,1203 @@ + + + + + + + + 寄贈申請フォーム + + + + + + + + + +
+ + + +
+ + + + + + + +
+ +
+ + + + +
+ + + + + + + + + +
+ + + + + + + + + +

+ 寄贈申請フォーム +

+ + + + +
+ 図書の寄贈を希望する方は、以下のフォームに入力し、 + 「確認」ボタンを押してください。 +
+ + + + +
+ (※)は必須項目です。 +
+ + + + + + + +
+ +
+ + + + +
+ 申請者情報(ログイン中のアカウント情報) +
+ + +
+ + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ +
+ + +
+ +
+ +
+ + + + +
+ 本の情報(必須項目) +
+ + +
+ + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ +
+ + + + +
+ + +
+ 本の情報(任意項目) +
+ + +
+ + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ +
+ +
+ + + + +
+ + + +
+ + + +
+ ※出版日が分かる場合に入力してください。 +
+ +
+ +
+ + + + +
+ + + +
+ + + +
+ 0 / 300 +
+ +
+ +
+ + +
+ +
+ + +
+ +
+ + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + +
+ +
+ + + + + + + + + + +
+ +
+ + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/bookApprovalConfirm.html b/src/main/resources/templates/bookApprovalConfirm.html new file mode 100644 index 0000000..0ef1357 --- /dev/null +++ b/src/main/resources/templates/bookApprovalConfirm.html @@ -0,0 +1,856 @@ + + + + + + +寄贈申請内容確認 + + + + + + +
+ + + +
+ + + + + + + +
+ +
+ + +
+ + + + + + + + +
+ + + +

+ 寄贈申請内容確認 +

+ +
+ 入力した内容に間違いがないかご確認ください。よろしければ「申請する」ボタンを押してください。 +
+ +
+ (※)は必須項目です。 +
+ + +
+ +
+ +
+ + + +
+ 申請者情報(ログイン中のアカウント情報) +
+ +
+ +
+ + + +
+ + + +
+ +
+ + +
+ + + +
+ + + +
+ +
+ + +
+ + + +
+ + + +
+ +
+ +
+ + +
+ +
+ +
+ + + + +
+ 本の情報(必須項目) +
+ +
+ + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ +
+ + + + +
+ +
+ 本の情報(任意項目) +
+ + +
+ + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ +
+ +
+ + + +
+ + + +
+ + + +
+ ※出版日が分かる場合に入力してください。 +
+ +
+ +
+ + + + +
+ + + +
+ + + +
+ 0 / 300 +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + + +
+ + + + +
+ + + + + +
+ +
+ +
+ + + + +
+ +
+ + + \ No newline at end of file From f00843337cbb9f37aa7aeb8a891aaaeeb9d55e97 Mon Sep 17 00:00:00 2001 From: h-hirane Date: Fri, 18 Sep 2026 13:06:37 +0900 Subject: [PATCH 3/5] =?UTF-8?q?[add]=20=E3=83=AD=E3=82=B0=E3=82=A4?= =?UTF-8?q?=E3=83=B3=E7=94=A8=E3=82=B3=E3=83=B3=E3=83=88=E3=83=AD=E3=83=BC?= =?UTF-8?q?=E3=83=A9=E3=80=81=E3=83=AD=E3=82=B0=E3=82=A4=E3=83=B3=E3=83=9A?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E3=80=81=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=83=9A=E3=83=BC=E3=82=B8=E3=81=AE?= =?UTF-8?q?=E5=90=84=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92=E4=BD=9C?= =?UTF-8?q?=E6=88=90=E3=81=97=E3=80=81=E8=BF=BD=E5=8A=A0=E3=81=97=E3=81=BE?= =?UTF-8?q?=E3=81=97=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demo/controller/LoginController.java | 24 ++++++ src/main/resources/templates/login.html | 29 +++++++ src/main/resources/templates/topmenu.html | 86 +++++++++++++++++++ 3 files changed, 139 insertions(+) create mode 100644 src/main/java/com/example/demo/controller/LoginController.java create mode 100644 src/main/resources/templates/login.html create mode 100644 src/main/resources/templates/topmenu.html diff --git a/src/main/java/com/example/demo/controller/LoginController.java b/src/main/java/com/example/demo/controller/LoginController.java new file mode 100644 index 0000000..7961482 --- /dev/null +++ b/src/main/java/com/example/demo/controller/LoginController.java @@ -0,0 +1,24 @@ +package com.example.demo.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; + +@Controller +public class LoginController { + + @GetMapping("/login") + public String showLogin() { + return "login"; + } + + @PostMapping("/doLogin") + public String doLogin() { + return "redirect:/topmenu"; + } + + @GetMapping("/topmenu") + public String showTopMenu() { + return "topmenu"; + } +} \ No newline at end of file diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html new file mode 100644 index 0000000..06b4373 --- /dev/null +++ b/src/main/resources/templates/login.html @@ -0,0 +1,29 @@ + + + + +ログイン + + + +

ログイン

+
+ +
+ +
+ + + + + +
+ + +
+
+ + + \ No newline at end of file diff --git a/src/main/resources/templates/topmenu.html b/src/main/resources/templates/topmenu.html new file mode 100644 index 0000000..c121e20 --- /dev/null +++ b/src/main/resources/templates/topmenu.html @@ -0,0 +1,86 @@ + + + + +トップメニュー + + +

+ メインメニュー +

+ + + + +
💻
+ +

社内備品一覧

+ +

+ 登録されている備品の
一覧を表示します。 +

› +
+ + + + + +
📖
+ +

社内図書一覧

+ +

+ 登録されている図書の
一覧を表示します。 +

› +
+ + + + + +
📗
+ +

新規図書申請

+ +

+ 図書の登録申請を
行います。 +

› +
+ + + + + + +
👥
+ +

社員一覧

+ +

+ 社員情報を一覧表示・
管理します。 +

› +
+ +
📅
+ +

貸出中備品・図書一覧

+ +

+ 貸出中の備品・図書の
一覧を表示します。 +

› +
+ +
▱
+ +

新規図書追加申請ボックス

+ +

+ 図書の追加申請の
受信一覧を確認します。 +

› +
+ + + \ No newline at end of file From bf192db02320f8aef3b6cc9bae5d1f0ebd0e07ed Mon Sep 17 00:00:00 2001 From: h-hirane Date: Fri, 18 Sep 2026 13:12:45 +0900 Subject: [PATCH 4/5] =?UTF-8?q?[edit]=20topmenu.html=E3=81=AE=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/topmenu.html | 96 ++++++++++------------- 1 file changed, 40 insertions(+), 56 deletions(-) diff --git a/src/main/resources/templates/topmenu.html b/src/main/resources/templates/topmenu.html index c121e20..7ddaffc 100644 --- a/src/main/resources/templates/topmenu.html +++ b/src/main/resources/templates/topmenu.html @@ -9,78 +9,62 @@ メインメニュー - - + + -
💻
- -

社内備品一覧

+

社内図書一覧

- 登録されている備品の
一覧を表示します。 -

› + 登録されている図書の
一覧を表示します。 +

+
- - + + -
📖
+

新規図書申請

-

社内図書一覧

+

+ 図書の登録申請を
行います。 +

+
-

- 登録されている図書の
一覧を表示します。 -

› - +
+ - - + -
📗
+

寄贈申請

-

新規図書申請

+

+ 寄贈申請フォームの
入力を行います。 +

+
+ +
+ + + +

貸出中図書一覧

-

- 図書の登録申請を
行います。 -

› -
+

+ 貸出中図書の
一覧を表示します。 +

+ + +
+ + +

寄贈申請受信BOX

- - -
- -
👥
- -

社員一覧

- -

- 社員情報を一覧表示・
管理します。 -

› -
- -
📅
- -

貸出中備品・図書一覧

- -

- 貸出中の備品・図書の
一覧を表示します。 -

› -
- -
▱
- -

新規図書追加申請ボックス

- -

- 図書の追加申請の
受信一覧を確認します。 -

› -
+

+ 寄贈申請の
受信一覧を確認します。 +

+ \ No newline at end of file From d0be8f157b2d1285aeae73b16a7b22885fee8f3c Mon Sep 17 00:00:00 2001 From: s-tajihi <2026_04_00508@it-college.co.jp> Date: Fri, 18 Sep 2026 13:18:57 +0900 Subject: [PATCH 5/5] =?UTF-8?q?[edit]=20=E6=96=B0=E8=A6=8F=E5=9B=B3?= =?UTF-8?q?=E6=9B=B8=E7=99=BB=E9=8C=B2=E7=94=BB=E9=9D=A2=E3=81=B8=E3=81=AE?= =?UTF-8?q?=E9=81=B7=E7=A7=BB=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/topmenu.html | 30 ++++++++++++----------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/main/resources/templates/topmenu.html b/src/main/resources/templates/topmenu.html index 7ddaffc..65e2ed8 100644 --- a/src/main/resources/templates/topmenu.html +++ b/src/main/resources/templates/topmenu.html @@ -21,20 +21,8 @@
- - - -

新規図書申請

- -

- 図書の登録申請を
行います。 -

-
- -
- - - + +

寄贈申請

@@ -46,6 +34,20 @@
+ + +
+ +

新規図書登録

+ +

+ 図書の登録申請を
行います。 +

+
+ +
+ +

貸出中図書一覧