-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFrontEnd.html
More file actions
28 lines (28 loc) · 794 Bytes
/
FrontEnd.html
File metadata and controls
28 lines (28 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!-- src/main/resources/templates/index.html -->
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Price Comparison</title>
</head>
<body>
<h1>Price Comparison</h1>
<form th:action="@{/compare}" method="post">
<label for="url">Enter URL:</label>
<input type="text" id="url" name="url" required>
<button type="submit">Compare Prices</button>
</form>
</body>
</html>
<!-- src/main/resources/templates/result.html -->
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Price Comparison Result</title>
</head>
<body>
<h1>Price Comparison Result</h1>
<!-- Display the result here -->
</body>
</html>