From f00843337cbb9f37aa7aeb8a891aaaeeb9d55e97 Mon Sep 17 00:00:00 2001 From: h-hirane Date: Fri, 18 Sep 2026 13:06:37 +0900 Subject: [PATCH] =?UTF-8?q?[add]=20=E3=83=AD=E3=82=B0=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E7=94=A8=E3=82=B3=E3=83=B3=E3=83=88=E3=83=AD=E3=83=BC=E3=83=A9?= =?UTF-8?q?=E3=80=81=E3=83=AD=E3=82=B0=E3=82=A4=E3=83=B3=E3=83=9A=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=80=81=E3=83=88=E3=83=83=E3=83=97=E3=83=A1=E3=83=8B?= =?UTF-8?q?=E3=83=A5=E3=83=BC=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=AE=E5=90=84?= =?UTF-8?q?=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92=E4=BD=9C=E6=88=90?= =?UTF-8?q?=E3=81=97=E3=80=81=E8=BF=BD=E5=8A=A0=E3=81=97=E3=81=BE=E3=81=97?= =?UTF-8?q?=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