Spaces:
Sleeping
Sleeping
<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> | |