Update templates/rewards_below.html
Browse files- templates/rewards_below.html +19 -13
templates/rewards_below.html
CHANGED
|
@@ -2,21 +2,27 @@
|
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
-
<
|
| 6 |
-
<
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
-
<div class="
|
| 11 |
-
<
|
| 12 |
-
<
|
| 13 |
-
<p>You have less than 500 points. You cannot apply rewards, but you will earn points for your next purchase!</p>
|
| 14 |
-
<form action="/apply_rewards" method="POST">
|
| 15 |
-
<input type="hidden" name="customer_id" value="{{ customer_id }}">
|
| 16 |
-
<label for="bill_amount">Enter Bill Amount:</label>
|
| 17 |
-
<input type="number" name="bill_amount" id="bill_amount" required>
|
| 18 |
-
<button type="submit">Proceed</button>
|
| 19 |
-
</form>
|
| 20 |
</div>
|
| 21 |
</body>
|
| 22 |
</html>
|
|
|
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
+
<title>Reward Application</title>
|
| 6 |
+
<style>
|
| 7 |
+
body {
|
| 8 |
+
display: flex;
|
| 9 |
+
justify-content: center;
|
| 10 |
+
align-items: center;
|
| 11 |
+
height: 100vh;
|
| 12 |
+
background-color: #f7f7f7;
|
| 13 |
+
}
|
| 14 |
+
.message-container {
|
| 15 |
+
padding: 20px;
|
| 16 |
+
border: 1px solid #ccc;
|
| 17 |
+
background-color: white;
|
| 18 |
+
text-align: center;
|
| 19 |
+
}
|
| 20 |
+
</style>
|
| 21 |
</head>
|
| 22 |
<body>
|
| 23 |
+
<div class="message-container">
|
| 24 |
+
<h2>{{ message }}</h2>
|
| 25 |
+
<a href="/">Go to Login Page</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
</div>
|
| 27 |
</body>
|
| 28 |
</html>
|