remotes/1693045480750635534/spooky-22
Aevann1 2021-09-17 16:13:40 +02:00
parent bdbf247f61
commit 59fbb64d2b
1 changed files with 5 additions and 6 deletions

View File

@ -11,18 +11,17 @@
<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 %}
<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>
</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>
</div>
</form>
</div>