interface: Don't show download/upload section; Make tracks searchable

This commit is contained in:
Fabian Würfl 2018-05-19 22:48:48 +02:00
parent 85f90e4e44
commit db51c7c4c7

View File

@ -15,7 +15,7 @@
{%- if files %} {%- if files %}
{% for file in files %} {% for file in files %}
<!--<li>{{ file }}</li>--> <!--<li>{{ file }}</li>-->
<li><form method="post"><input type=text value="{{ subdirpath }}/{{ file }}" name="add_file" hidden><input type="submit" value="{{ file }}"></form></li> <li><form method="post"><input type=text value="{{ subdirpath }}/{{ file }}" name="add_file" hidden><input type="submit" value="Add">&nbsp;&nbsp;{{ file }}</form></li>
{% endfor %} {% endfor %}
{%- endif %} {%- endif %}
</ul> </ul>
@ -34,6 +34,7 @@
<body> <body>
<a href="."><h5>Refresh</h5></a> <a href="."><h5>Refresh</h5></a>
<br> <br>
{% if False %}
<div id="download"> <div id="download">
<form action="./download" method="post" enctype="multipart/form-data"> <form action="./download" method="post" enctype="multipart/form-data">
<input type="file" name="music_file" value="Browse Music file"/> <input type="file" name="music_file" value="Browse Music file"/>
@ -45,6 +46,7 @@
<input type="submit" value="Upload"/> <input type="submit" value="Upload"/>
</form> </form>
</div> </div>
{% endif %}
<div id="playlist"> <div id="playlist">
Current Playing : Current Playing :
{% if current_music %} {% if current_music %}