Compare commits
4 Commits
s-ikeda
...
2bdce3b11a
| Author | SHA1 | Date | |
|---|---|---|---|
| 2bdce3b11a | |||
| 8659fa44c2 | |||
| 75fcb36b12 | |||
| 17831e01bd |
@@ -27,14 +27,14 @@ public class ApprovalConfirmController {
|
|||||||
private final static String SEVERE_ERROR_MESSAGE = "エラーが発生しました!";
|
private final static String SEVERE_ERROR_MESSAGE = "エラーが発生しました!";
|
||||||
|
|
||||||
HttpSession httpSession;
|
HttpSession httpSession;
|
||||||
ApprovalForm approvalform;
|
Request request;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
public ApprovalConfirmController(
|
public ApprovalConfirmController(
|
||||||
HttpSession httpSession,
|
HttpSession httpSession,
|
||||||
ApprovalForm approvalform) {
|
Request request) {
|
||||||
this.httpSession = httpSession;
|
this.httpSession = httpSession;
|
||||||
this.approvalform = approvalform;
|
this.request = request;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ModelAttribute
|
@ModelAttribute
|
||||||
@@ -48,7 +48,7 @@ public class ApprovalConfirmController {
|
|||||||
try {
|
try {
|
||||||
|
|
||||||
|
|
||||||
return;
|
return a ;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// ログイン情報の破棄
|
// ログイン情報の破棄
|
||||||
httpSession.invalidate();
|
httpSession.invalidate();
|
||||||
|
|||||||
15
team1/src/main/resources/templates/approvalComplete.html
Normal file
15
team1/src/main/resources/templates/approvalComplete.html
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html xmlns:th="http://www.thymeleaf.org">
|
||||||
|
<head>
|
||||||
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
||||||
|
<!-- 外部のスクリプトファイルを読み込む -->
|
||||||
|
<script th:src="@{/js/common.js}"></script>
|
||||||
|
<!-- CSSの読み込み -->
|
||||||
|
<link rel="stylesheet" th:href="@{/css/all.css}">
|
||||||
|
<link rel=stylesheet th:href="@{/css/style.css}" type="text/css">
|
||||||
|
<title>書籍貸出承認確認</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
15
team1/src/main/resources/templates/approvalRejected.html
Normal file
15
team1/src/main/resources/templates/approvalRejected.html
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html xmlns:th="http://www.thymeleaf.org">
|
||||||
|
<head>
|
||||||
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
||||||
|
<!-- 外部のスクリプトファイルを読み込む -->
|
||||||
|
<script th:src="@{/js/common.js}"></script>
|
||||||
|
<!-- CSSの読み込み -->
|
||||||
|
<link rel="stylesheet" th:href="@{/css/all.css}">
|
||||||
|
<link rel=stylesheet th:href="@{/css/style.css}" type="text/css">
|
||||||
|
<title>書籍貸出承認確認</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user