forked from rDrama/rDrama
fix
parent
e90f3eeda1
commit
24286579d9
|
@ -7,7 +7,7 @@
|
||||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="relative modal-body">
|
||||||
<!-- If user has less than 100 dramacoin, disable form -->
|
<!-- If user has less than 100 dramacoin, disable form -->
|
||||||
{% if u.coins >= 100 %}
|
{% if u.coins >= 100 %}
|
||||||
<div class="absolute left-0 bottom-0 flex flex-col items-center justify-center w-full h-full bg-white/60 z-10">
|
<div class="absolute left-0 bottom-0 flex flex-col items-center justify-center w-full h-full bg-white/60 z-10">
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
<button type="button" class="px-4 py-2 text-sm font-bold text-gray-500 hover:text-gray-700" data-bs-dismiss="modal">
|
<button type="button" class="px-4 py-2 text-sm font-bold text-gray-500 hover:text-gray-700" data-bs-dismiss="modal">
|
||||||
Cancel
|
Cancel
|
||||||
</button>
|
</button>
|
||||||
<button onclick="transferCoins()" class="btn btn-green {{ 'pointer-events-none' if u.coins < 100 }}" {% if u.coins < 100 %}disabled{% endif %}>
|
<button onclick="transferCoins()" class="btn btn-green {{ 'cursor-not-allowed' if u.coins < 100 }}" {% if u.coins < 100 %}disabled{% endif %}>
|
||||||
Gift coins
|
Gift coins
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue