Refonte complète

This commit is contained in:
2023-01-02 22:14:21 +01:00
parent a8f96501c2
commit 9c4a98bb60
13 changed files with 297 additions and 107 deletions

View File

@@ -0,0 +1,34 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="{{ url_for('static', filename= 'css/style.css') }}">
<title>SpotDL Web</title>
</head>
<body>
<div class="download_complete">
<h1> SpotDL Web </h1>
<h2> Téléchargement Terminé </h2>
<!-- <a class="btn btn-success" href="{{url_for('download')}}">Download</a> -->
<button onclick="window.location.href ='{{url_for('download')}}';">Download</button>
<button onclick="window.location.href = '/';">Télécharger à nouveau</button>
<form class="logs">
<div><h1>Fichier de texte</h1></div>
<div>
<a>
{% for line in result2 %}
<p>{{ line }}<br></p>
{% endfor %}
</a>
</div>
<div>
<a>
{% for log in logs %}
<p>{{ log }}<br></p>
{% endfor %}
</a>
</div>
</form>
</div>
</body>