Proxy, Upload

Proxy paramter if behinf nginx
Upload can be done into a folder directly from the webpage
This commit is contained in:
azlux
2017-01-26 00:30:34 +01:00
parent 4f31a99374
commit 54068a151e
5 changed files with 49 additions and 6 deletions

View File

@ -9,7 +9,17 @@
<body>
<a href="."><h5>Refresh</h5></a>
<br>
<div id="download">
<form action="./download" method="post" enctype="multipart/form-data">
<input type="file" name="music_file" value="Browse Music file"/>
<select name="directory">
{% for dir in all_files %}
<option value={{ dir }}>{{ dir }}</option>
{% endfor %}
</select>
<input type="submit" value="Upload"/>
</form>
</div>
<div id="playlist">
Current Playing :
{% if current_music %}