Docfile commited on
Commit
d8db65f
·
verified ·
1 Parent(s): 1d94c90

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +27 -20
index.html CHANGED
@@ -7,11 +7,6 @@
7
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11">
8
  <style>
9
  body { margin: 0; overflow: hidden; }
10
- #main-iframe {
11
- width: 100%;
12
- height: 100vh;
13
- display: none;
14
- }
15
  </style>
16
  </head>
17
  <body>
@@ -19,27 +14,39 @@
19
  <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
20
 
21
  <script>
22
- // Affiche la boîte de dialogue SweetAlert2
23
  Swal.fire({
24
- title: 'Instructions pour l\'utilisateur',
25
- text: 'Cliquez sur "Accepter" pour continuer.',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  icon: 'info',
27
- confirmButtonText: 'Accepter',
28
- allowOutsideClick: false
29
- }).then((result) => {
30
- if (result.isConfirmed) {
31
- // Si l'utilisateur clique sur "Accepter", affiche l'iframe principal
32
- document.getElementById("main-iframe").style.display = "block";
33
  }
34
  });
35
  </script>
36
 
37
- <iframe
38
- src="https://docfile-mycha.hf.space"
39
- frameborder="0"
40
- id="main-iframe"
41
- ></iframe>
42
-
43
  </body>
44
  </html>
45
 
 
7
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11">
8
  <style>
9
  body { margin: 0; overflow: hidden; }
 
 
 
 
 
10
  </style>
11
  </head>
12
  <body>
 
14
  <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
15
 
16
  <script>
17
+ // Affiche la boîte de dialogue SweetAlert2 en plein écran
18
  Swal.fire({
19
+ title: 'Plan d\'exposé sur le romantisme',
20
+ html: `
21
+ <p>I. Introduction</p>
22
+ <ul>
23
+ <li>A. Définition du romantisme</li>
24
+ <li>B. Contexte historique et social</li>
25
+ </ul>
26
+ <p>II. Caractéristiques du romantisme</p>
27
+ <ul>
28
+ <li>A. L'expression des sentiments et des émotions</li>
29
+ <li>B. L'individualisme et la subjectivité</li>
30
+ <li>C. L'admiration de la nature</li>
31
+ <li>D. La rébellion contre les règles académiques</li>
32
+ </ul>
33
+ <p>III. Les grandes figures du romantisme</p>
34
+ <ul>
35
+ <li>A. Écrivains (ex : Victor Hugo, Lamartine)</li>
36
+ <li>B. Artistes (ex : Eugène Delacroix, Caspar David Friedrich)</li>
37
+ <li>C. Compositeurs (ex : Beethoven, Chopin)</li>
38
+ </ul>
39
+ `,
40
  icon: 'info',
41
+ confirmButtonText: 'Fermer',
42
+ allowOutsideClick: false,
43
+ width: '100%',
44
+ customClass: {
45
+ popup: 'fullscreen-popup'
 
46
  }
47
  });
48
  </script>
49
 
 
 
 
 
 
 
50
  </body>
51
  </html>
52