Modifications

This commit is contained in:
2022-12-31 11:33:44 +01:00
parent 23d5d0d20d
commit d2397191a0
8 changed files with 55 additions and 8 deletions

View File

@@ -9,4 +9,17 @@
<!-- <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>
<ul>
{% for line in result2 %}
<li>{{ line }}</li>
{% endfor %}
</ul>
</div>
</form>
</body>

11
templates/logs.html Normal file
View File

@@ -0,0 +1,11 @@
<head>
<title>Fichier de texte</title>
</head>
<body>
<h1>Fichier de texte</h1>
<ul>
{% for line in lines %}
<li>{{ line }}</li>
{% endfor %}
</ul>
</body>

View File

@@ -15,7 +15,7 @@
<div style="margin-top: 10px;">
<!-- <label for="url1">URL 1:</label> -->
<input type="text" name="url1" id="url1" placeholder="URL">
<input type="text" name="url1" id="url1" placeholder="URL" value="https://open.spotify.com/album/3QgFzksD4J43TnGIJOOrRV?si=X6q4QeJ_TtCi9q9fu25Aww">
</div>
<div style="margin-top: 10px;">