employeeupdate.html途中

This commit is contained in:
2026-10-21 10:26:08 +09:00
parent 9728e2a983
commit abb1cda6bf
4 changed files with 85 additions and 82 deletions

View File

@@ -1,38 +0,0 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>書籍登録画面</title>
<link rel="stylesheet" th:href="@{/css/style.css}">
</head>
<body>
<!-- エラーメッセージ -->
<div class="msgBox error" th:if="${messageError != null}">
<span class="error" th:text="${messageError.message}"></span>
<table>
<th class="header">ISBN</th>
<td><input class="readOnly" name="isbn" readonly="readonly" th:value="*{isbn}" type="text"/></td>
<th class="header">書籍名</th>
<td>
<input class="ReadOnly" name="nm_Book" readonly="readonly" th:value="{nm_Book}" type="text"/>
</td>
<th class="header">書籍名よみ</th>
<td>
<input class="ReadOnly" name="kn_Book" readonly="readonly" th:value="{kn_Bool}" type="text"/>
</td>
<th class="header">出版社</th>
<td>
<input class="ReadOnly" name="publisher" readonly="readonly" th:value="{publisher}" type="text"/>
</td>
<th class="header">特記事項</th>
<td>
<input class="ReadOnly" name="note" readonly="readonly" th:value="{note}" type="text"/>
</td>
<a href="bookRegistComplete.html" class="btn"> 登録</a>
</table>
<a href="@{/bookRegistInput.html}">書籍情報入力に戻る</a>

View File

@@ -1,44 +0,0 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>書籍登録画面</title>
<link rel="stylesheet" th:href="@{/css/style.css}">
</head>
<body>
<form action="bookRegistConfirm" method="post" th:object="${AdminBookController}">
<!-- エラーメッセージ -->
<div class="msgBox error" th:if="${messageError != null}">
<span class="error" th:text="${messageError.message}"></span>
<table>
<th class="header">ISBN</th>
<td>
<input placeholder="ISBN" th:field="*{isbn}" type="text" />
</td>
<th class="header">書籍名</th>
<td>
<input placeholder="書籍名" th:field="*{nm_book}" type="text" />
</td>
<th class="header">書籍名よみ</th>
<td>
<input placeholder="書籍名よみ" th:field="*{kn_book}" type="text" />
</td>
<th class="header">出版社</th>
<td>
<input placeholder="出版社" th:field="*{publisher}" type="text" />
</td>
<th class="header">特記事項</th>
<td>
<input placeholder="特記事項" th:field="*{note}" type="text" />
</td>
<a href="bookRegistConfirm" class="btn"> 申請確認</a>
</table>
<a href="@{/bookList.html}">書籍一覧に戻る</a>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>書籍情報確認</title>
<link rel="stylesheet" th:href="@{/css/style.css}">
</head>
<body>
<div th:replace="~{fragments/header :: header}"></div>
<main>
<h1>社員情報確認</h1>
<div class="card">
<form th:action="@{${base + '/input'}}" method="post" style="display:inline">
<h2 th:text="${title}">社員編集</h2>
<table>
<tr>
<th>社員名</th>
<td th:text="${form.nmEmployee}"></td>
</tr>
<tr>
<th>社員名よみ</th>
<td th:text="${form.knEmployee}"></td>
</tr>
<tr>
<th>メールアドレス</th>
<td th:text="${form.mailaddress}"></td>
</tr>
<tr>
<th>パスワード</th>
<td th:text="${form.password}"></td>
</tr>
</table>
<input type="hidden" name="nmEmployee" th:value="${form.nmEmployee}">
<input type="hidden" name="knEmployee" th:value="${form.knEmployee}">
<input type="hidden" name="mailaddress" th:value="${form.mailAddress}">
<input type="hidden" name="password" th:value="${form.password}">
</div>
</main>
</body>
</html>

View File

@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>社員更新情報入力</title>
<link rel="stylesheet" th:href="@{/css/style.css}">
</head>
<body>
<div th:replace="~{fragments/header :: header}"></div>
<main>
<h1>社員更新情報入力</h1>
<div class="error" th:if="${errorMessage}" th:text="${errorMessage}"></div>
<div class="error" th:each="e : ${errors}" th:text="${e}"></div>
<div class="card">
<h2 th:text="${title}">社員更新</h2>
<form th:action="@{${base + '/confirm'}}" method="post">
<label for="nmEmployee">社員名(必須・50文字以内)</label>
<input type="text" id="nmEmployee" name="nmEmployee" th:value="${form.nmEmployee}" maxlength="50">
<label for="knEmployee">社員名読み(必須・100文字以内)</label>
<input type="text" id="knEmployee" name="knEmployee" th:value="${form.knEmployee}" maxlength="100">
<label for="mailAddress">メールアドレス(256文字以内)</label>
<input type="text" id="mailAddress" name="mailAddress" th:value="${form.mailAddress}" maxlength="256">
<label for="password">パスワード(256文字以内)</label>
<input type="text" id=" password" name=" password" th:value="${form. password}" maxlength="256">
<input type="radio" name="employee" value="adimin"> 管理者
<input type="radio" name="employee" value="user"> 一般ユーザー
<input type="radio" name="join" value="affiliation"> 所属
<input type="radio" name="join" value="quit"> 退職
</form>
<p><button type="submit" th:text="${title} + '確認'">確認</button>
<a class="btn sub" th:href="@{/employeeSearch}">メールアドレスの入力に戻る</a>
</p>
</form>
</div>
</main>
</body>
</html>