mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Push Version 1
This commit is contained in:
@@ -48,8 +48,12 @@
|
|||||||
les infos du form, il faut aller sur ce canal précis (/download). La méthode POST dit
|
les infos du form, il faut aller sur ce canal précis (/download). La méthode POST dit
|
||||||
que l'on envoie des données.-->
|
que l'on envoie des données.-->
|
||||||
|
|
||||||
<div id="videoInfo" style="margin-top: 20px;"></div>
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="infos-container">
|
||||||
|
<div id="videoInfo" style="margin-top: 20px;"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="script/downloadstatus.js"></script>
|
<script src="script/downloadstatus.js"></script>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ form.addEventListener("submit", async (e) => {
|
|||||||
button.disabled = true;
|
button.disabled = true;
|
||||||
|
|
||||||
// Affiche un message d'attente à l'utilisateur
|
// Affiche un message d'attente à l'utilisateur
|
||||||
statusDiv.textContent = "⏳ Téléchargement en cours...";
|
statusDiv.textContent = "Téléchargement en cours...";
|
||||||
|
|
||||||
// Prépare les données du formulaire sous forme URL-encoded
|
// Prépare les données du formulaire sous forme URL-encoded
|
||||||
const formData = new FormData(form);
|
const formData = new FormData(form);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
.container {
|
.container, .infos-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#downloadStatus {
|
#downloadStatus {
|
||||||
|
|
||||||
|
margin-top: 1em;
|
||||||
min-height: 1.5em;
|
min-height: 1.5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -30,10 +30,15 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#videoInfo {
|
/* #videoInfo {
|
||||||
margin-top: 100px;
|
margin-top: 100px;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
@@ -51,4 +56,4 @@ body {
|
|||||||
#videoInfo.visible {
|
#videoInfo.visible {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
max-height: 1000px;
|
max-height: 1000px;
|
||||||
}
|
} */
|
||||||
|
|||||||
Reference in New Issue
Block a user