forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-18 15:40:45 +02:00
parent 8143cfeb0f
commit c8ffcd438e
3 changed files with 5 additions and 7 deletions

View File

@ -207,8 +207,7 @@
{% endif %}
{% if u.song and v and (v.id == u.id or v.mute and not u.unmutable) %}
<a id="pause1" class="btn btn-secondary" role="button" onclick="pause()">Pause anthem</a>
<a id="play1" class="btn btn-secondary d-none" role="button" onclick="play()">Play anthem</a>
<a class="btn btn-secondary" role="button" onclick="toggle()">Toggle anthem</a>
{% endif %}
{% if v and v.id != u.id and v.admin_level > 1 %}
@ -434,8 +433,7 @@
{% endif %}
{% if u.song and v and (v.id == u.id or v.mute and not u.unmutable) %}
<a id="pause2" class="btn btn-secondary" role="button" onclick="pause()">Pause anthem</a>
<a id="play2" class="btn btn-secondary d-none" role="button" onclick="play()">Play anthem</a>
<a class="btn btn-secondary" role="button" onclick="toggle()">Toggle anthem</a>
{% endif %}
{% if v and v.id != u.id %}
@ -696,7 +694,7 @@
<div id="username" class="d-none">{{u.username}}</div>
{% endif %}
<script src="/static/assets/js/userpage.js?a=202"></script>
<script src="/static/assets/js/userpage.js?a=203"></script>
{% endblock %}

View File

@ -114,5 +114,5 @@
<div id="username" class="d-none">{{u.username}}</div>
{% endif %}
<script src="/static/assets/js/userpage.js?a=202"></script>
<script src="/static/assets/js/userpage.js?a=203"></script>
{% endblock %}

View File

@ -48,5 +48,5 @@
<div id="username" class="d-none">{{u.username}}</div>
{% endif %}
<script src="/static/assets/js/userpage.js?a=202"></script>
<script src="/static/assets/js/userpage.js?a=203"></script>
{% endblock %}