Initial commit

This commit is contained in:
2025-11-11 01:48:45 +01:00
commit 06d0e1c426
14 changed files with 568 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
body {
font-family: Arial, sans-serif;
margin: 20px;
}
header {
margin-bottom: 20px;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid #ccc;
padding: 5px 10px;
}
th {
background-color: #f0f0f0;
}

View File

@@ -0,0 +1,14 @@
// Exemple pour polling du download si nécessaire
function checkDownloadStatus(downloadId) {
fetch(`/download_status/${downloadId}`)
.then(response => response.json())
.then(data => {
if(data.status === 'ready') {
// Mettre à jour le lien sur la page
document.querySelector(`#link-${downloadId}`).innerHTML =
`<a href="${data.link}">Télécharger</a>`;
} else {
setTimeout(() => checkDownloadStatus(downloadId), 5000);
}
});
}