Spaces:
Running
Running
Update index.html
Browse files- index.html +58 -17
index.html
CHANGED
|
@@ -1,19 +1,60 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html lang="fr">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Votre Titre</title>
|
| 7 |
+
<style>
|
| 8 |
+
body { margin: 0; overflow: hidden; }
|
| 9 |
+
#popup-container {
|
| 10 |
+
display: flex;
|
| 11 |
+
align-items: center;
|
| 12 |
+
justify-content: center;
|
| 13 |
+
position: fixed;
|
| 14 |
+
top: 0;
|
| 15 |
+
left: 0;
|
| 16 |
+
width: 100%;
|
| 17 |
+
height: 100vh;
|
| 18 |
+
background: rgba(0, 0, 0, 0.5);
|
| 19 |
+
z-index: 1000;
|
| 20 |
+
display: none;
|
| 21 |
+
}
|
| 22 |
+
#popup {
|
| 23 |
+
background: #fff;
|
| 24 |
+
padding: 20px;
|
| 25 |
+
text-align: center;
|
| 26 |
+
}
|
| 27 |
+
</style>
|
| 28 |
+
</head>
|
| 29 |
+
<body>
|
| 30 |
+
|
| 31 |
+
<div id="popup-container">
|
| 32 |
+
<div id="popup">
|
| 33 |
+
<p>Instructions pour l'utilisateur.</p>
|
| 34 |
+
<button onclick="accepter()">Accepter</button>
|
| 35 |
+
</div>
|
| 36 |
+
</div>
|
| 37 |
+
|
| 38 |
+
<div style="width: 100%; height: 100vh; overflow: hidden;">
|
| 39 |
+
<iframe
|
| 40 |
+
src="https://docfile-mycha.hf.space"
|
| 41 |
+
frameborder="0"
|
| 42 |
+
style="width: 100%; height: 100%;"
|
| 43 |
+
id="main-iframe"
|
| 44 |
+
></iframe>
|
| 45 |
+
</div>
|
| 46 |
+
|
| 47 |
+
<script>
|
| 48 |
+
function accepter() {
|
| 49 |
+
document.getElementById("popup-container").style.display = "none";
|
| 50 |
+
document.getElementById("main-iframe").style.display = "block";
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
// Affiche le popup au chargement de la page
|
| 54 |
+
window.onload = function() {
|
| 55 |
+
document.getElementById("popup-container").style.display = "flex";
|
| 56 |
+
};
|
| 57 |
+
</script>
|
| 58 |
+
|
| 59 |
+
</body>
|
| 60 |
</html>
|