BAPSicle/templates/status.html

21 lines
651 B
HTML
Raw Normal View History

2020-10-24 02:13:02 +00:00
{% extends 'base.html' %}
{% block head %}
<meta http-equiv="refresh" content="2;url=/status" />
{% endblock %}
{% block content_inner %}
{% if data %}
<code>
{% for player in data.channels %}
<a href="/player/{{player.channel}}/play">Play</a>
{% if player.paused %}
<a href="/player/{{player.channel}}/unpause">UnPause</a>
{% else %}
<a href="/player/{{player.channel}}/pause">Pause</a>
{% endif %}
<a href="/player/{{player.channel}}/stop">Stop</a>
<a href="/player/{{player.channel}}/seek/50">Seek 50</a>
{{player}}<br>
{% endfor %}
</code>
{% endif %}
2020-10-24 02:13:02 +00:00
{% endblock %}