20 lines
544 B
Django/Jinja
20 lines
544 B
Django/Jinja
{% extends "demix.html.j2" %}
|
|
|
|
{% block form %}
|
|
<form action="/demix-ytlp" method="POST" enctype="multipart/form-data">
|
|
<br>
|
|
|
|
<label for="url">song url:</label>
|
|
<input type="url" id="url" name="url" placeholder="https://youtu.be/…" />
|
|
|
|
<p>or <a href="/">upload an audio file</a>.</p>
|
|
|
|
<button>enqueue</button>
|
|
|
|
<ul class="status">
|
|
<li>songs in queue: <strong>{{ status['queue_size'] }}</strong></li>
|
|
<li>this node is using: <strong>{{ status['device'] }}</strong></li>
|
|
</ul>
|
|
</form>
|
|
{% endblock %}
|