forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-09-17 16:52:45 +02:00
parent 2aefb1bfd0
commit d3f569bf79
2 changed files with 2 additions and 1 deletions

View File

@ -208,6 +208,7 @@ def award_post(pid, v):
kind = request.form.get("kind", "")
print("sex")
if kind not in AWARDS:
return {"error": "That award doesn't exist."}, 404

View File

@ -13,7 +13,7 @@
{% for award in v.user_awards %}
<a href="javascript:void(0)" class="card" onclick="document.getElementById('giveaward').disabled=false;document.getElementById('kind').value={{award.kind}}">
<i class="{{award.icon}} {{award.color}}"></i><br />
<span class="d-block pt-2" style="font-weight: bold; font-size: 14px;">{{award.title}}</span>
<span class="d-block pt-2" style="font-weight: bold; font-size: 14px; color:#E1E1E1">{{award.title}}</span>
<span class="text-muted">{{award.owned}} owned</span>
</a>
{% endfor %}