Update templates/rewards.html
Browse files- templates/rewards.html +9 -17
templates/rewards.html
CHANGED
|
@@ -3,26 +3,18 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
<link rel="stylesheet" href="/static/styles.css">
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
<
|
| 13 |
-
<
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
{% if points >= 500 %}
|
| 18 |
-
<label>
|
| 19 |
-
<input type="checkbox" name="apply_rewards"> Apply Reward Points
|
| 20 |
-
</label>
|
| 21 |
-
{% else %}
|
| 22 |
-
<p>Discount not applicable for customers with below 500 points.</p>
|
| 23 |
-
{% endif %}
|
| 24 |
-
<button type="submit" class="btn">Calculate Bill</button>
|
| 25 |
-
</form>
|
| 26 |
</div>
|
|
|
|
| 27 |
</body>
|
| 28 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Rewards</title>
|
| 7 |
<link rel="stylesheet" href="/static/styles.css">
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
+
|
| 11 |
+
<div class="rewards-container">
|
| 12 |
+
<h1>Your Reward Points</h1>
|
| 13 |
+
<p class="reward-details">You currently have <strong>{{ points }}</strong> reward points!</p>
|
| 14 |
+
|
| 15 |
+
<button class="reward-button">Use Your Rewards 🍽️</button>
|
| 16 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
</div>
|
| 18 |
+
|
| 19 |
</body>
|
| 20 |
</html>
|