mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-23 07:13:52 -05:00
Add progress indicator on boost/fav
This commit is contained in:
parent
77b79b32b8
commit
f224d70750
@ -92,7 +92,8 @@
|
|||||||
</a>
|
</a>
|
||||||
{% if toot.visibility != 'private' and toot.visibility != 'direct' %}
|
{% if toot.visibility != 'private' and toot.visibility != 'direct' %}
|
||||||
<a href="{% url "boost" toot.id %}" class="level-item"
|
<a href="{% url "boost" toot.id %}" class="level-item"
|
||||||
ic-post-to="{% url "boost" toot.id %}">
|
ic-post-to="{% url "boost" toot.id %}"
|
||||||
|
ic-indicator="#toot-spinner">
|
||||||
{% if toot.reblogged %}
|
{% if toot.reblogged %}
|
||||||
<span class="fa fa-retweet has-text-warning">
|
<span class="fa fa-retweet has-text-warning">
|
||||||
<strong class="is-hidden-mobile" >Boosted</strong>
|
<strong class="is-hidden-mobile" >Boosted</strong>
|
||||||
@ -105,7 +106,8 @@
|
|||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="{% url "fav" toot.id %}" class="level-item"
|
<a href="{% url "fav" toot.id %}" class="level-item"
|
||||||
ic-post-to="{% url "fav" toot.id %}">
|
ic-post-to="{% url "fav" toot.id %}"
|
||||||
|
ic-indicator="#toot-spinner">
|
||||||
{% if toot.favourited %}
|
{% if toot.favourited %}
|
||||||
<span class="fa fa-heart has-text-warning">
|
<span class="fa fa-heart has-text-warning">
|
||||||
<strong class="is-hidden-mobile" >Favorited</strong>
|
<strong class="is-hidden-mobile" >Favorited</strong>
|
||||||
@ -116,6 +118,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
<i id="toot-spinner" class="fa fa-spinner fa-spin" style="display:none"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
{% if toot.account.acct == own_acct.acct %}
|
{% if toot.account.acct == own_acct.acct %}
|
||||||
|
Loading…
Reference in New Issue
Block a user