Q1 html done
This commit is contained in:
20
Spring-HTML/src/main/resources/templates/insert.html
Normal file
20
Spring-HTML/src/main/resources/templates/insert.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>登録ページ</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h3>登録</h3>
|
||||
<form action="logout" method="post">
|
||||
<input type="submit" value="ログアウト">
|
||||
</form>
|
||||
<form action="back" method="post">
|
||||
<input type="submit" value="戻る">
|
||||
</form>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
17
Spring-HTML/src/main/resources/templates/login.html
Normal file
17
Spring-HTML/src/main/resources/templates/login.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>ログインページ</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form action="doLogin" method="post">
|
||||
<input type="submit" value="ログイン">
|
||||
|
||||
</form>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
28
Spring-HTML/src/main/resources/templates/menu.html
Normal file
28
Spring-HTML/src/main/resources/templates/menu.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>メニューページ</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form action="logout" method="post">
|
||||
<input type="submit" value="ログアウト">
|
||||
</form>
|
||||
<form action="select" method="post">
|
||||
<input type="submit" value="検索">
|
||||
</form>
|
||||
<form action="insert" method="post">
|
||||
<input type="submit" value="登録">
|
||||
</form>
|
||||
<form action="update" method="post">
|
||||
<input type="submit" value="更新">
|
||||
</form>
|
||||
<form action="delete" method="post">
|
||||
<input type="submit" value="削除">
|
||||
</form>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
20
Spring-HTML/src/main/resources/templates/select.html
Normal file
20
Spring-HTML/src/main/resources/templates/select.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>検索ページ</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h3> 検索</h3>
|
||||
<form action="logout" method="post">
|
||||
<input type="submit" value="ログアウト">
|
||||
</form>
|
||||
<form action="back" method="post">
|
||||
<input type="submit" value="戻る">
|
||||
</form>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
20
Spring-HTML/src/main/resources/templates/update.html
Normal file
20
Spring-HTML/src/main/resources/templates/update.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>更新ページ</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h3> 更新</h3>
|
||||
<form action="logout" method="post">
|
||||
<input type="submit" value="ログアウト">
|
||||
</form>
|
||||
<form action="back" method="post">
|
||||
<input type="submit" value="戻る">
|
||||
</form>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.example.demo;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class SpringHtmlApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user