Update templates/reward_status.html
Browse files- templates/reward_status.html +26 -10
templates/reward_status.html
CHANGED
@@ -40,13 +40,14 @@
|
|
40 |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
41 |
}
|
42 |
.badge {
|
43 |
-
font-size: 1.
|
44 |
font-weight: bold;
|
45 |
color: #ff6f00;
|
46 |
background-color: #fff3e0;
|
47 |
-
padding:
|
48 |
border-radius: 5px;
|
49 |
margin: 10px 0;
|
|
|
50 |
}
|
51 |
.valid-through {
|
52 |
font-size: 1em;
|
@@ -69,15 +70,21 @@
|
|
69 |
.points-info {
|
70 |
display: flex;
|
71 |
justify-content: space-between;
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
73 |
}
|
74 |
.next-tier {
|
75 |
-
font-size: 1.
|
76 |
-
color: #333;
|
77 |
font-weight: bold;
|
78 |
}
|
79 |
-
.points {
|
80 |
-
|
|
|
|
|
81 |
color: #333;
|
82 |
}
|
83 |
</style>
|
@@ -94,13 +101,22 @@
|
|
94 |
<div class="badge">{{ current_tier }} Status</div>
|
95 |
<div class="valid-through">Valid through December 2024</div>
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
<div class="points-bar">
|
98 |
<div class="progress"></div>
|
99 |
</div>
|
100 |
-
|
101 |
<div class="points-info">
|
102 |
-
<div class="points">You
|
103 |
-
<div class="next-tier">
|
104 |
</div>
|
105 |
</div>
|
106 |
</div>
|
|
|
40 |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
41 |
}
|
42 |
.badge {
|
43 |
+
font-size: 1.2em;
|
44 |
font-weight: bold;
|
45 |
color: #ff6f00;
|
46 |
background-color: #fff3e0;
|
47 |
+
padding: 8px 15px;
|
48 |
border-radius: 5px;
|
49 |
margin: 10px 0;
|
50 |
+
display: inline-block;
|
51 |
}
|
52 |
.valid-through {
|
53 |
font-size: 1em;
|
|
|
70 |
.points-info {
|
71 |
display: flex;
|
72 |
justify-content: space-between;
|
73 |
+
font-size: 0.9em;
|
74 |
+
color: #333;
|
75 |
+
}
|
76 |
+
.points {
|
77 |
+
font-size: 1.1em;
|
78 |
+
font-weight: bold;
|
79 |
}
|
80 |
.next-tier {
|
81 |
+
font-size: 1.1em;
|
|
|
82 |
font-weight: bold;
|
83 |
}
|
84 |
+
.points-bar-info {
|
85 |
+
display: flex;
|
86 |
+
justify-content: space-between;
|
87 |
+
font-size: 0.9em;
|
88 |
color: #333;
|
89 |
}
|
90 |
</style>
|
|
|
101 |
<div class="badge">{{ current_tier }} Status</div>
|
102 |
<div class="valid-through">Valid through December 2024</div>
|
103 |
|
104 |
+
<div class="points-info">
|
105 |
+
<div class="points">You have <strong>{{ user_points }}</strong> points</div>
|
106 |
+
</div>
|
107 |
+
|
108 |
+
<div class="points-bar-info">
|
109 |
+
<div>0</div> <!-- Starting points -->
|
110 |
+
<div>{{ tiers[current_tier] }}</div> <!-- Ending points of the current tier -->
|
111 |
+
</div>
|
112 |
+
|
113 |
<div class="points-bar">
|
114 |
<div class="progress"></div>
|
115 |
</div>
|
116 |
+
|
117 |
<div class="points-info">
|
118 |
+
<div class="points">You need <strong>{{ points_needed_for_next_tier }}</strong> more points</div>
|
119 |
+
<div class="next-tier">Next tier: {{ next_tier }}</div>
|
120 |
</div>
|
121 |
</div>
|
122 |
</div>
|