Changes to be committed:
Some checks failed
continuous-integration/drone/push Build encountered an error

modified:   .drone.yml
	modified:   app.py
	new file:   docker-compose.yaml
	modified:   static/js/script.js
	new file:   templates/finish_local.html
	renamed:    templates/finish.html -> templates/finish_server.html
	modified:   templates/index.html

Il est maintenant possible de choisir entre télécharger sur le server
ou en local.
This commit is contained in:
2023-06-05 22:56:34 +02:00
parent 0696c81a83
commit 74e936c0f8
7 changed files with 120 additions and 17 deletions

View File

@@ -38,8 +38,9 @@
<div class="form-group">
<input type="text" class="form-control" name="url5" id="url5" pattern="^https://open\.spotify\.com/(?:album|playlist|track)/[\w-]+(?:\?si=[\w-]+)?$" placeholder="Entrez l'URL d'une Piste, d'un Album ou d'une Playlist">
</div> -->
<button type="submit" class="btn" id="download-button" onclick="startDownload()">Télécharger</button>
<button type="reset" class="btn" id="refresh-button" onclick="refreshPage()">Rafraîchir</button>
<button type="submit" class="btn" id="download-button" onclick="startDownload()" name="action" value="download">Télécharger sur le serveur</button>
<button type="submit" class="btn" id="downloadlocal-button" onclick="startLocalDownload()" name="action" value="downloadlocal">Télécharger en local</button>
<!-- <button type="reset" class="btn" id="refresh-button" onclick="refreshPage()">Rafraîchir</button> -->
</form>
</div>