forked from rDrama/rDrama
fddf
parent
bdbf247f61
commit
59fbb64d2b
|
@ -11,15 +11,14 @@
|
|||
<form id="awardTarget" class="pt-3 pb-0" action="" method="post">
|
||||
<div class="card-columns awards-wrapper">
|
||||
{% for award in v.user_awards %}
|
||||
<div>
|
||||
<label class="card" onclick="document.getElementById('desc-{{award.kind}}').classList.toggle('d-none');document.getElementById('giveaward').disabled=false">
|
||||
<label class="card" onclick="document.getElementById('giveaward').disabled=false">
|
||||
<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="text-muted">{{award.owned}} owned</span>
|
||||
</label>
|
||||
</div>
|
||||
<input name="{{award.kind}}" hidden>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<label for="note" class="pt-4">Note (optional):</label>
|
||||
<textarea id="note" name="note" class="form-control" placeholder="Note to include in award notification"></textarea>
|
||||
<input id="giveaward" class="btn btn-primary" type="submit" value="Give Award" disabled>
|
||||
|
|
Loading…
Reference in New Issue