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/bookInsertConfirm.html b/src/main/resources/templates/bookInsertConfirm.html index 1fe86a5..95c84a3 100644 --- a/src/main/resources/templates/bookInsertConfirm.html +++ b/src/main/resources/templates/bookInsertConfirm.html @@ -8,6 +8,57 @@

登録内容確認

+ + +
+ +
+ +
+ +
+ + \ 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..65e2ed8 --- /dev/null +++ b/src/main/resources/templates/topmenu.html @@ -0,0 +1,72 @@ + + + + +トップメニュー + + +

+ メインメニュー +

+ + + + +

社内図書一覧

+ +

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

+
+ +
+ + + + + +

寄贈申請

+ +

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

+
+ +
+ + + + + +

新規図書登録

+ +

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

+
+ +
+ + + + +

貸出中図書一覧

+ +

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

+
+ +
+ + + +

寄贈申請受信BOX

+ +

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

+
+ + + \ No newline at end of file