master
kek7198 2021-12-04 14:21:49 -06:00
parent bec93a4648
commit bfca06e627
1 changed files with 2 additions and 2 deletions

View File

@ -15,9 +15,9 @@
{% for award in v.user_awards %}
<div class="my-4 px-4 w-1/2 overflow-hidden lg:w-1/4 flex items-center justify-center">
{% if award.owned %}
<button type="button" id="{{award.kind}}" onclick="bruh('{{award.kind}}')" class="w-full h-full p-2 hover:bg-gray-300 rounded">
<button type="button" id="{{award.kind}}-award" onclick="bruh('{{award.kind-awward}}')" class="w-full h-full p-2 hover:bg-gray-300 rounded">
{% else %}
<button type="button" id="{{award.kind}}" disabled class="cursor-not-allowed opacity-50 w-full h-full p-2 hover:bg-gray-300 rounded">
<button type="button" id="{{award.kind}}-award" disabled class="cursor-not-allowed opacity-50 w-full h-full p-2 hover:bg-gray-300 rounded">
{% endif %}
<i class="{{award.icon}} {{award.color}}"></i>
<div class="mt-2 font-bold text-base text-gray-700">{{award.title}}</div>