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