testing_1 / templates /rewards_above.html
Yaswanth56's picture
Update templates/rewards_above.html
ea1301b verified
raw
history blame
920 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Your Rewards</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f7f7f7;
}
.reward-container {
padding: 20px;
border: 1px solid #ccc;
background-color: white;
text-align: center;
}
</style>
</head>
<body>
<div class="reward-container">
<h2>Your Reward Points</h2>
<p>Current Reward Points: {{ reward_points }}</p>
<form method="POST" action="/apply_rewards">
<input type="hidden" name="email" value="{{ email }}">
<input type="number" name="reward_points" value="0" required>
<button type="submit">Apply Rewards</button>
</form>
</div>
</body>
</html>