hot reload

This commit is contained in:
bkfox
2020-11-08 00:45:49 +01:00
parent 222300945e
commit 5fd72c33cc
19 changed files with 473 additions and 105 deletions

View File

@ -41,3 +41,15 @@ Context variables:
{% endif %}
{% endblock %}
{% block actions %}
{% if object.sound_set.public.count %}
<button class="button is-round" @click="player.playButtonClick($event)"
data-sounds="{{ object.podcasts|json }}">
<span class="icon is-small">
<span class="fas fa-play"></span>
</span>
</button>
{% endif %}
{% endblock %}

View File

@ -30,7 +30,7 @@ Context variables:
{% if has_cover|default_if_none:True %}
<div class="media-left">
<img src="{% thumbnail object.cover|default:station.default_cover 128x128 crop=scale %}"
class="small-cover">
class="cover is-small">
</div>
{% endif %}
<div class="media-content">
@ -55,6 +55,8 @@ Context variables:
</div>
{% endif %}
</div>
{% block actions %}{% endblock %}
</article>
{% endif %}