Upload templates/index.html with huggingface_hub
Browse files- templates/index.html +87 -46
templates/index.html
CHANGED
|
@@ -635,50 +635,57 @@ button:disabled {
|
|
| 635 |
border-radius: 8px;
|
| 636 |
}
|
| 637 |
|
| 638 |
-
/* ================= LÉGENDE HEATMAP COMPACTE ================= */
|
| 639 |
.compact-enriched-legend {
|
| 640 |
background: white;
|
| 641 |
-
padding: 15px;
|
| 642 |
border-radius: 10px;
|
| 643 |
border: 1px solid #e0e0e0;
|
| 644 |
-
margin:
|
| 645 |
-
|
|
|
|
|
|
|
|
|
|
| 646 |
}
|
| 647 |
|
| 648 |
.compact-legend-section h5 {
|
| 649 |
color: #1976D2;
|
| 650 |
-
margin
|
| 651 |
-
|
| 652 |
-
font-size: 14px;
|
| 653 |
display: flex;
|
| 654 |
align-items: center;
|
| 655 |
gap: 6px;
|
| 656 |
}
|
| 657 |
|
| 658 |
.compact-legend-section {
|
| 659 |
-
margin
|
| 660 |
-
padding
|
|
|
|
|
|
|
|
|
|
| 661 |
}
|
| 662 |
|
|
|
|
| 663 |
.compact-legend-grid {
|
| 664 |
-
display:
|
| 665 |
-
|
| 666 |
-
|
| 667 |
}
|
| 668 |
|
| 669 |
.compact-legend-item-small {
|
| 670 |
display: flex;
|
| 671 |
align-items: center;
|
| 672 |
-
gap:
|
| 673 |
-
font-size:
|
|
|
|
| 674 |
}
|
| 675 |
|
| 676 |
.compact-legend-color-small {
|
| 677 |
-
width:
|
| 678 |
-
height:
|
| 679 |
-
border-radius:
|
| 680 |
-
border:
|
| 681 |
-
box-shadow: 0 2px
|
| 682 |
}
|
| 683 |
|
| 684 |
/* ================= INDICATEURS DE PERSÉVÉRANCE COMPACTS ================= */
|
|
@@ -1275,6 +1282,13 @@ textarea:focus {
|
|
| 1275 |
.compact-heatmap-container {
|
| 1276 |
flex-direction: column;
|
| 1277 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1278 |
}
|
| 1279 |
|
| 1280 |
@media (max-width: 768px) {
|
|
@@ -1361,8 +1375,25 @@ textarea:focus {
|
|
| 1361 |
gap: 8px;
|
| 1362 |
}
|
| 1363 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1364 |
.compact-legend-grid {
|
| 1365 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1366 |
}
|
| 1367 |
|
| 1368 |
.compact-analysis-controls {
|
|
@@ -1448,6 +1479,16 @@ textarea:focus {
|
|
| 1448 |
.compact-heatmap-container {
|
| 1449 |
flex-direction: column;
|
| 1450 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1451 |
}
|
| 1452 |
</style>
|
| 1453 |
</head>
|
|
@@ -1673,27 +1714,27 @@ textarea:focus {
|
|
| 1673 |
<div class="compact-enriched-legend">
|
| 1674 |
<div class="compact-legend-section">
|
| 1675 |
<h5>📈 Niveaux d'activité</h5>
|
| 1676 |
-
|
| 1677 |
-
|
| 1678 |
-
|
| 1679 |
-
|
| 1680 |
-
</
|
| 1681 |
-
|
| 1682 |
-
|
| 1683 |
-
|
| 1684 |
-
</
|
| 1685 |
-
|
| 1686 |
-
|
| 1687 |
-
|
| 1688 |
-
</
|
| 1689 |
-
|
| 1690 |
-
|
| 1691 |
-
|
| 1692 |
-
</
|
| 1693 |
-
|
| 1694 |
-
|
| 1695 |
-
|
| 1696 |
-
</
|
| 1697 |
</div>
|
| 1698 |
</div>
|
| 1699 |
</div>
|
|
@@ -1853,8 +1894,10 @@ textarea:focus {
|
|
| 1853 |
<div id="tab-example" class="tab-content">
|
| 1854 |
<h3>📋 Exemple d'Analyse – Étudiant en difficulté / évitement de l'échec : peur de l'échec supérieure à la motivation de réussite.</h3>
|
| 1855 |
|
| 1856 |
-
|
| 1857 |
-
|
|
|
|
|
|
|
| 1858 |
<ul>
|
| 1859 |
<li>
|
| 1860 |
<strong>Profil global :</strong><br>
|
|
@@ -1941,9 +1984,7 @@ textarea:focus {
|
|
| 1941 |
</table>
|
| 1942 |
</div>
|
| 1943 |
|
| 1944 |
-
<div class="example-separator"></div>
|
| 1945 |
|
| 1946 |
-
|
| 1947 |
|
| 1948 |
|
| 1949 |
</div>
|
|
@@ -3872,4 +3913,4 @@ window.loadScenario = loadScenario;
|
|
| 3872 |
</div>
|
| 3873 |
|
| 3874 |
</body>
|
| 3875 |
-
</html>
|
|
|
|
| 635 |
border-radius: 8px;
|
| 636 |
}
|
| 637 |
|
| 638 |
+
/* ================= LÉGENDE HEATMAP COMPACTE (RÉDUITE) ================= */
|
| 639 |
.compact-enriched-legend {
|
| 640 |
background: white;
|
| 641 |
+
padding: 10px 15px; /* Réduit de 15px à 10px en haut/bas */
|
| 642 |
border-radius: 10px;
|
| 643 |
border: 1px solid #e0e0e0;
|
| 644 |
+
margin: 10px 0; /* Réduit de 15px à 10px */
|
| 645 |
+
height: 50px; /* Réduit de 60px à 50px */
|
| 646 |
+
display: flex;
|
| 647 |
+
align-items: center;
|
| 648 |
+
justify-content: space-between;
|
| 649 |
}
|
| 650 |
|
| 651 |
.compact-legend-section h5 {
|
| 652 |
color: #1976D2;
|
| 653 |
+
margin: 0; /* Supprimé margin-bottom et margin-top */
|
| 654 |
+
font-size: 12px; /* Réduit de 14px à 12px */
|
|
|
|
| 655 |
display: flex;
|
| 656 |
align-items: center;
|
| 657 |
gap: 6px;
|
| 658 |
}
|
| 659 |
|
| 660 |
.compact-legend-section {
|
| 661 |
+
margin: 0;
|
| 662 |
+
padding: 0;
|
| 663 |
+
display: flex;
|
| 664 |
+
flex-direction: column;
|
| 665 |
+
gap: 5px; /* Espacement réduit */
|
| 666 |
}
|
| 667 |
|
| 668 |
+
/* Grille de légende compacte sur une seule ligne */
|
| 669 |
.compact-legend-grid {
|
| 670 |
+
display: flex; /* Changé de grid à flex pour une seule ligne */
|
| 671 |
+
gap: 5px; /* Réduit de 8px à 5px */
|
| 672 |
+
flex-wrap: nowrap;
|
| 673 |
}
|
| 674 |
|
| 675 |
.compact-legend-item-small {
|
| 676 |
display: flex;
|
| 677 |
align-items: center;
|
| 678 |
+
gap: 3px; /* Réduit de 6px à 3px */
|
| 679 |
+
font-size: 9px; /* Réduit de 11px à 9px */
|
| 680 |
+
white-space: nowrap;
|
| 681 |
}
|
| 682 |
|
| 683 |
.compact-legend-color-small {
|
| 684 |
+
width: 12px; /* Réduit de 16px à 12px */
|
| 685 |
+
height: 12px; /* Réduit de 16px à 12px */
|
| 686 |
+
border-radius: 3px; /* Réduit de 4px à 3px */
|
| 687 |
+
border: 1px solid white; /* Réduit de 2px à 1px */
|
| 688 |
+
box-shadow: 0 1px 2px rgba(0,0,0,0.1); /* Ombre plus légère */
|
| 689 |
}
|
| 690 |
|
| 691 |
/* ================= INDICATEURS DE PERSÉVÉRANCE COMPACTS ================= */
|
|
|
|
| 1282 |
.compact-heatmap-container {
|
| 1283 |
flex-direction: column;
|
| 1284 |
}
|
| 1285 |
+
|
| 1286 |
+
.compact-enriched-legend {
|
| 1287 |
+
height: auto;
|
| 1288 |
+
flex-direction: column;
|
| 1289 |
+
gap: 10px;
|
| 1290 |
+
padding: 12px;
|
| 1291 |
+
}
|
| 1292 |
}
|
| 1293 |
|
| 1294 |
@media (max-width: 768px) {
|
|
|
|
| 1375 |
gap: 8px;
|
| 1376 |
}
|
| 1377 |
|
| 1378 |
+
.compact-enriched-legend {
|
| 1379 |
+
height: auto;
|
| 1380 |
+
flex-direction: column;
|
| 1381 |
+
gap: 8px;
|
| 1382 |
+
padding: 10px;
|
| 1383 |
+
}
|
| 1384 |
+
|
| 1385 |
.compact-legend-grid {
|
| 1386 |
+
flex-wrap: wrap;
|
| 1387 |
+
justify-content: center;
|
| 1388 |
+
}
|
| 1389 |
+
|
| 1390 |
+
.compact-legend-item-small {
|
| 1391 |
+
font-size: 8px;
|
| 1392 |
+
}
|
| 1393 |
+
|
| 1394 |
+
.compact-legend-color-small {
|
| 1395 |
+
width: 10px;
|
| 1396 |
+
height: 10px;
|
| 1397 |
}
|
| 1398 |
|
| 1399 |
.compact-analysis-controls {
|
|
|
|
| 1479 |
.compact-heatmap-container {
|
| 1480 |
flex-direction: column;
|
| 1481 |
}
|
| 1482 |
+
|
| 1483 |
+
.compact-enriched-legend {
|
| 1484 |
+
height: auto;
|
| 1485 |
+
padding: 8px;
|
| 1486 |
+
}
|
| 1487 |
+
|
| 1488 |
+
.compact-legend-item-small {
|
| 1489 |
+
font-size: 7px;
|
| 1490 |
+
gap: 2px;
|
| 1491 |
+
}
|
| 1492 |
}
|
| 1493 |
</style>
|
| 1494 |
</head>
|
|
|
|
| 1714 |
<div class="compact-enriched-legend">
|
| 1715 |
<div class="compact-legend-section">
|
| 1716 |
<h5>📈 Niveaux d'activité</h5>
|
| 1717 |
+
</div>
|
| 1718 |
+
<div class="compact-legend-grid">
|
| 1719 |
+
<div class="compact-legend-item-small">
|
| 1720 |
+
<div class="compact-legend-color-small" style="background:#EBEDF0;"></div>
|
| 1721 |
+
<span>Aucune</span>
|
| 1722 |
+
</div>
|
| 1723 |
+
<div class="compact-legend-item-small">
|
| 1724 |
+
<div class="compact-legend-color-small" style="background:#C6E48B;"></div>
|
| 1725 |
+
<span>Faible</span>
|
| 1726 |
+
</div>
|
| 1727 |
+
<div class="compact-legend-item-small">
|
| 1728 |
+
<div class="compact-legend-color-small" style="background:#7BC96F;"></div>
|
| 1729 |
+
<span>Moyenne</span>
|
| 1730 |
+
</div>
|
| 1731 |
+
<div class="compact-legend-item-small">
|
| 1732 |
+
<div class="compact-legend-color-small" style="background:#239A3B;"></div>
|
| 1733 |
+
<span>Élevée</span>
|
| 1734 |
+
</div>
|
| 1735 |
+
<div class="compact-legend-item-small">
|
| 1736 |
+
<div class="compact-legend-color-small" style="background:#196127;"></div>
|
| 1737 |
+
<span>Intense</span>
|
| 1738 |
</div>
|
| 1739 |
</div>
|
| 1740 |
</div>
|
|
|
|
| 1894 |
<div id="tab-example" class="tab-content">
|
| 1895 |
<h3>📋 Exemple d'Analyse – Étudiant en difficulté / évitement de l'échec : peur de l'échec supérieure à la motivation de réussite.</h3>
|
| 1896 |
|
| 1897 |
+
<div class="example-separator"></div>
|
| 1898 |
+
|
| 1899 |
+
<div class="example-analysis-box">
|
| 1900 |
+
<h4> Éléments clés de l'analyse du comportement de l'apprenant</h4>
|
| 1901 |
<ul>
|
| 1902 |
<li>
|
| 1903 |
<strong>Profil global :</strong><br>
|
|
|
|
| 1984 |
</table>
|
| 1985 |
</div>
|
| 1986 |
|
|
|
|
| 1987 |
|
|
|
|
| 1988 |
|
| 1989 |
|
| 1990 |
</div>
|
|
|
|
| 3913 |
</div>
|
| 3914 |
|
| 3915 |
</body>
|
| 3916 |
+
</html>
|