summaryrefslogtreecommitdiff
path: root/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html
diff options
context:
space:
mode:
Diffstat (limited to 'spring-boot/05-bank-rest-client/src/main/resources/templates/result.html')
-rw-r--r--spring-boot/05-bank-rest-client/src/main/resources/templates/result.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html b/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html
new file mode 100644
index 0000000..15393be
--- /dev/null
+++ b/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html xmlns:th="http://www.thymeleaf.org">
+<head>
+ <title>Check Account Balance</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+ <h1>Result</h1>
+
+ <p th:text="'Account number: ' + ${account.accountNumber}" />
+ <p th:text="'Balance: ' + ${account.balance}" />
+
+ <a href="/acc">Try again</a>
+</body>
+</html> \ No newline at end of file