forked from FoundKeyGang/FoundKey
[Client] Improve
This commit is contained in:
parent
850ea17645
commit
e77bfe6260
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<mk-poll data-is-voted={ isVoted }>
|
<mk-poll data-is-voted={ isVoted }>
|
||||||
<ul>
|
<ul>
|
||||||
<li each={ poll.choices } onclick={ vote.bind(null, id) } class={ voted: voted }>
|
<li each={ poll.choices } onclick={ vote.bind(null, id) } class={ voted: voted } title={ !parent.isVoted ? '「' + text + '」に投票する' : '' }>
|
||||||
<div class="backdrop" if={ parent.result } style={ 'width:' + (votes / parent.total * 100) + '%' }></div>
|
<div class="backdrop" if={ parent.result } style={ 'width:' + (votes / parent.total * 100) + '%' }></div>
|
||||||
<span>
|
<span>
|
||||||
<i class="fa fa-check" if={ is_voted }></i>
|
<i class="fa fa-check" if={ is_voted }></i>
|
||||||
|
|
Loading…
Reference in a new issue