Skip to content

Commit 634abef

Browse files
committed
2 parents 558c177 + 56f726b commit 634abef

File tree

4 files changed

+30
-6
lines changed

4 files changed

+30
-6
lines changed
1.4 MB
Loading

backend/voting/templates/voting/count.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h3>
3131
</tr>
3232
{% for key, value in sortedp.items %}
3333
<tr>
34-
<td>P00{{key}}</td>
34+
<td>P{{key}}</td>
3535
<td>{{value}}</td>
3636
</tr>
3737
{% endfor %}
@@ -47,7 +47,7 @@ <h3>
4747
</tr>
4848
{% for key, value in sortedd.items %}
4949
<tr>
50-
<td>S00{{key}}</td>
50+
<td>S{{key}}</td>
5151
<td>{{value}}</td>
5252
</tr>
5353
{% endfor %}

backend/voting/templates/voting/thanks.html

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<body>
2222

2323
<div class="container center-align">
24+
<!--
2425
<h1 class="header center white-text">THANK YOU</h1>
2526
<h5 class="white-text">Your choices have been recorded</h5>
2627
<br>
@@ -38,6 +39,29 @@ <h5 class="white-text">Your choices have been recorded</h5>
3839
<a href="#">PARTICIPATE</a>
3940
</div>
4041
</div>
42+
-->
43+
<h1 class="white-text">THANK YOU</h1>
44+
<h5 class="white-text">Your choices have been recorded</h5>
45+
<br>
46+
<div class="card">
47+
<div class="card-image">
48+
<img src="../../static/img/bloodDonation.JPG">
49+
<span class="card-title">Blood Donation</span>
50+
</div>
51+
<div class="card-content" style="font-size:15px">
52+
<i>
53+
"A single pint of blood can save three lives. A single guesture can create a million smiles."
54+
</i>
55+
<br>
56+
<br>
57+
<p>Team Pictoreal plans to organize a blood donation drive on <b>DD/MM/YYYY</b></p>
58+
<ul class="left-align">
59+
<li>Every year, we witness hundreds of enthusiastic donors.</li>
60+
<li>Refreshments are provided to all blood donors for their contributions.</li>
61+
<li>So join us on <b>DD/MM/YYYY</b> to be a part of this noble cause.</li>
62+
</ul>
63+
</div>
64+
</div>
4165
</div>
4266

4367

@@ -46,7 +70,7 @@ <h5 class="white-text">Your choices have been recorded</h5>
4670

4771
</main>
4872
<footer class="page-footer">
49-
<div class="container">
73+
<!--div class="container">
5074
<div class="row">
5175
<div class="col l6 s12">
5276
<h5 class="white-text center">Team Pictoreal values your feedback</h5>
@@ -60,7 +84,7 @@ <h5 class="white-text center">Team Pictoreal values your feedback</h5>
6084
<a class="waves-effect waves-black btn-floating green"><i class="medium material-icons">sentiment_very_satisfied</i></a>
6185
</div>
6286
</div>
63-
</div>
87+
</div-->
6488
<div class="footer-copyright">
6589
<div class="container">
6690
© <a href="https://pictoreal.in/" target="_blank"> PICTOREAL </a>
@@ -84,4 +108,4 @@ <h5 class="white-text center">Team Pictoreal values your feedback</h5>
84108

85109
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
86110
<script src="js/materialize.js"></script>
87-
</body></html>
111+
</body></html>

backend/voting/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def count(request):
123123
if request.user.is_staff or request.user.is_superuser:
124124
listp = []
125125
listd = []
126-
for i in range(0, 30):
126+
for i in range(0, 500):
127127
try:
128128
vote = Vote.objects.get(pk=i)
129129
drawing1 = int(vote.drawing1[1:])

0 commit comments

Comments
 (0)