This commit is contained in:
h-seya
2026-09-18 15:18:32 +09:00
5 changed files with 103 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
package com.example.demo.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class ApprovalReceive {
@GetMapping("/approvalReceive")
public String approvalReceive() {
return "approvalReceive";
}
}

View File

@@ -0,0 +1,13 @@
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";
}
}

View File

@@ -1,10 +1,34 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>寄贈申請 受信BOX</title> <title>寄贈申請 受信BOX</title>
</head> </head>
<body> <body>
<h1>寄贈申請 受信BOX</h1>
<!-- action先要修正 -->
<form action="/approvalReceive" method="GET">
<input type="submit" value="承認" class="btn">
</form>
<!-- action先要修正 -->
<form action="/approvalReceive" method="GET">
<input type="submit" value="却下" class="btn">
</form>
<!-- 新規登録画面へ遷移 -->
<form action="/bookInsert" method="GET">
<input type="submit" value="登録" class="btn">
</form>
<!-- action先要修正 -->
<form action="/approvalReceive" method="GET">
<input type="submit" value="戻る" class="btn">
</form>
</body> </body>
</html> </html>

View File

@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>貸出中図書一覧</title>
</head>
<body>
<h1>貸出中図書一覧</h1>
<!-- action先要修正 -->
<form action="/lendList" method="GET">
<input type="submit" value="返却" class="btn">
</form>
<!-- 以下ポップアップ -->
<div id="registerModal" class="modal-overlay">
<div class="modal">
<div class="modal-message">
返却処理が完了しました!
</div>
<div class="modal-buttons">
<!-- OK -->
<form method="get" action="/lendList">
<button type="submit" class="modal-btn">
OK
</button>
</form>
</div>
</div>
</div>
</body>
</html>

View File

@@ -26,7 +26,7 @@
<!-- ===== 共通:寄贈申請 ===== --> <!-- ===== 共通:寄贈申請 ===== -->
<a class="card" href="${pageContext.request.contextPath}/employee"> <a class="card" href="/bookApproval">
<h3>寄贈申請</h3> <h3>寄贈申請</h3>
@@ -51,7 +51,7 @@
<hr> <hr>
<a class="card" href="${pageContext.request.contextPath}/lendList"> <a class="card" href="/lendList">
<h3>貸出中図書一覧</h3> <h3>貸出中図書一覧</h3>
@@ -62,7 +62,7 @@
<hr> <hr>
<a class="card" href="${pageContext.request.contextPath}/bookApproval-list"> <a class="card" href="/approvalReceive">
<h3>寄贈申請受信BOX</h3> <h3>寄贈申請受信BOX</h3>