Ajout page erreur si toutes les url vident, création du fichier css pour habiller la page.

This commit is contained in:
2022-12-28 23:38:07 +01:00
parent 98f2a46afb
commit 61c61d203b
7 changed files with 179 additions and 33 deletions

13
templates/erreur.html Normal file
View File

@@ -0,0 +1,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="{{ url_for('static', filename= 'css/style.css') }}">
<title>SpotDL Web</title>
</head>
<h1> SpotDL Web </h1>
<h2> Veuillez entrer au moins une URL ! </h2>
<button onclick="window.location.href = '/';">Télécharger à nouveau</button>
{% if message %}
<p>{{ message }}</p>
{% endif %}