summaryrefslogtreecommitdiff
path: root/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-05-16 21:18:32 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-05-16 21:18:32 +0530
commite51834c899ff20781295410961934eb06239385c (patch)
tree78f0058914063e37cbd6812d204e4f84efd0ab90 /spring-boot/05-bank-rest-client/src/main/resources/templates/result.html
parentb1d598a2f02819bc127d0d3522dc7ac91b4dee65 (diff)
Added spring-boot sample applications
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