Upload templates/index.html with huggingface_hub
Browse files- templates/index.html +179 -84
templates/index.html
CHANGED
|
@@ -318,44 +318,52 @@ button:disabled {
|
|
| 318 |
display: grid;
|
| 319 |
grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
|
| 320 |
grid-template-rows: repeat(3, auto); /* 3 lignes */
|
| 321 |
-
gap:
|
| 322 |
-
margin:
|
| 323 |
}
|
| 324 |
|
|
|
|
| 325 |
.compact-competence-matrix-item {
|
| 326 |
-
padding:
|
| 327 |
background: linear-gradient(135deg, #f8f9fa, #e9ecef);
|
| 328 |
-
border-radius:
|
| 329 |
-
border-left:
|
| 330 |
transition: all 0.3s ease;
|
| 331 |
height: 100%;
|
| 332 |
display: flex;
|
| 333 |
flex-direction: column;
|
| 334 |
justify-content: space-between;
|
| 335 |
-
min-height:
|
| 336 |
}
|
| 337 |
|
| 338 |
.compact-competence-matrix-item:hover {
|
| 339 |
-
transform: translateY(-
|
| 340 |
-
box-shadow: 0
|
| 341 |
background: linear-gradient(135deg, #e3f2fd, #bbdefb);
|
| 342 |
}
|
| 343 |
|
| 344 |
.compact-matrix-competence-label {
|
| 345 |
-
font-size:
|
| 346 |
font-weight: 600;
|
| 347 |
color: #333;
|
| 348 |
-
margin-bottom:
|
| 349 |
-
line-height: 1.
|
| 350 |
flex-grow: 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 351 |
}
|
| 352 |
|
| 353 |
.compact-matrix-competence-value {
|
| 354 |
-
font-size:
|
| 355 |
font-weight: bold;
|
| 356 |
color: #1976D2;
|
| 357 |
text-align: center;
|
| 358 |
-
margin:
|
|
|
|
| 359 |
}
|
| 360 |
|
| 361 |
.compact-matrix-competence-value.high { color: #43A047; }
|
|
@@ -363,19 +371,28 @@ button:disabled {
|
|
| 363 |
.compact-matrix-competence-value.low { color: #E53935; }
|
| 364 |
|
| 365 |
.compact-matrix-competence-bar {
|
| 366 |
-
height:
|
| 367 |
background: #e0e0e0;
|
| 368 |
-
border-radius:
|
| 369 |
overflow: hidden;
|
| 370 |
-
margin:
|
| 371 |
}
|
| 372 |
|
| 373 |
.compact-matrix-competence-fill {
|
| 374 |
height: 100%;
|
| 375 |
-
border-radius:
|
| 376 |
transition: width 0.5s ease;
|
| 377 |
}
|
| 378 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 379 |
/* ================= LÉGENDE RADAR COMPACTE ================= */
|
| 380 |
.compact-radar-legend {
|
| 381 |
display: flex;
|
|
@@ -410,6 +427,74 @@ button:disabled {
|
|
| 410 |
.compact-legend-medium { background: linear-gradient(135deg, #fb8c00, #ff9800); }
|
| 411 |
.compact-legend-high { background: linear-gradient(135deg, #43a047, #4caf50); }
|
| 412 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 413 |
/* ================= RADAR COMPACT ================= */
|
| 414 |
#radar-container {
|
| 415 |
background: white;
|
|
@@ -485,59 +570,6 @@ button:disabled {
|
|
| 485 |
font-size: 12px;
|
| 486 |
}
|
| 487 |
|
| 488 |
-
/* ================= GRILLE DES MÉTRIQUES RADAR COMPACTE ================= */
|
| 489 |
-
.compact-radar-metrics-grid {
|
| 490 |
-
display: grid;
|
| 491 |
-
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
| 492 |
-
gap: 12px;
|
| 493 |
-
margin: 15px 0;
|
| 494 |
-
}
|
| 495 |
-
|
| 496 |
-
.compact-metric-card {
|
| 497 |
-
background: white;
|
| 498 |
-
border-radius: 10px;
|
| 499 |
-
padding: 15px;
|
| 500 |
-
box-shadow: 0 3px 8px rgba(0,0,0,0.08);
|
| 501 |
-
border-left: 4px solid #1976D2;
|
| 502 |
-
transition: transform 0.3s;
|
| 503 |
-
text-align: center;
|
| 504 |
-
}
|
| 505 |
-
|
| 506 |
-
.compact-metric-card:hover {
|
| 507 |
-
transform: translateY(-3px);
|
| 508 |
-
box-shadow: 0 5px 15px rgba(0,0,0,0.12);
|
| 509 |
-
}
|
| 510 |
-
|
| 511 |
-
.compact-metric-icon {
|
| 512 |
-
font-size: 24px;
|
| 513 |
-
margin-bottom: 8px;
|
| 514 |
-
}
|
| 515 |
-
|
| 516 |
-
.compact-metric-name {
|
| 517 |
-
font-weight: 600;
|
| 518 |
-
color: #333;
|
| 519 |
-
margin-bottom: 5px;
|
| 520 |
-
font-size: 14px;
|
| 521 |
-
}
|
| 522 |
-
|
| 523 |
-
.compact-metric-value {
|
| 524 |
-
font-size: 20px;
|
| 525 |
-
font-weight: bold;
|
| 526 |
-
color: #1976D2;
|
| 527 |
-
margin: 5px 0;
|
| 528 |
-
}
|
| 529 |
-
|
| 530 |
-
.compact-metric-value.high { color: #43A047; }
|
| 531 |
-
.compact-metric-value.medium { color: #FB8C00; }
|
| 532 |
-
.compact-metric-value.low { color: #E53935; }
|
| 533 |
-
|
| 534 |
-
.compact-metric-description {
|
| 535 |
-
font-size: 11px;
|
| 536 |
-
color: #666;
|
| 537 |
-
margin-top: 5px;
|
| 538 |
-
line-height: 1.3;
|
| 539 |
-
}
|
| 540 |
-
|
| 541 |
/* ================= HEATMAP COMPACT ================= */
|
| 542 |
.compact-heatmap-and-indicators {
|
| 543 |
background: white;
|
|
@@ -1208,6 +1240,12 @@ textarea:focus {
|
|
| 1208 |
grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
|
| 1209 |
grid-template-rows: repeat(5, auto); /* 5 lignes */
|
| 1210 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1211 |
}
|
| 1212 |
|
| 1213 |
@media (max-width: 768px) {
|
|
@@ -1243,24 +1281,49 @@ textarea:focus {
|
|
| 1243 |
.compact-competences-grid {
|
| 1244 |
grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
|
| 1245 |
grid-template-rows: repeat(7, auto); /* 7 lignes */
|
| 1246 |
-
gap:
|
| 1247 |
}
|
| 1248 |
|
| 1249 |
.compact-competence-matrix-item {
|
| 1250 |
-
padding:
|
| 1251 |
-
min-height:
|
| 1252 |
}
|
| 1253 |
|
| 1254 |
.compact-matrix-competence-label {
|
| 1255 |
-
font-size:
|
|
|
|
|
|
|
| 1256 |
}
|
| 1257 |
|
| 1258 |
.compact-matrix-competence-value {
|
| 1259 |
-
font-size:
|
|
|
|
| 1260 |
}
|
| 1261 |
|
|
|
|
| 1262 |
.compact-radar-metrics-grid {
|
| 1263 |
-
grid-template-columns: repeat(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1264 |
}
|
| 1265 |
|
| 1266 |
.compact-radar-legend {
|
|
@@ -1301,13 +1364,46 @@ textarea:focus {
|
|
| 1301 |
grid-template-columns: 1fr;
|
| 1302 |
}
|
| 1303 |
|
|
|
|
| 1304 |
.compact-radar-metrics-grid {
|
| 1305 |
-
grid-template-columns: 1fr;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1306 |
}
|
| 1307 |
|
| 1308 |
.compact-competences-grid {
|
| 1309 |
grid-template-columns: 1fr; /* 1 colonne */
|
| 1310 |
grid-template-rows: repeat(14, auto); /* 14 lignes */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1311 |
}
|
| 1312 |
|
| 1313 |
.example-metrics-table th,
|
|
@@ -1463,8 +1559,6 @@ textarea:focus {
|
|
| 1463 |
|
| 1464 |
<h3>📊 Progression par compétence </h3>
|
| 1465 |
<div id="competence-bars">
|
| 1466 |
-
<p style="font-size: 14px; color: #666; margin-bottom: 15px; font-style: italic;">
|
| 1467 |
-
</p>
|
| 1468 |
<div id="compact-competences">
|
| 1469 |
<em>Chargement des compétences...</em>
|
| 1470 |
</div>
|
|
@@ -1488,7 +1582,7 @@ textarea:focus {
|
|
| 1488 |
|
| 1489 |
<h3>🕸️ Analyse de l'engagement: Indicateurs de comportement d'apprentissage </h3>
|
| 1490 |
|
| 1491 |
-
<!-- Grille des métriques radar compacte -->
|
| 1492 |
<div class="compact-radar-metrics-grid" id="compact-radar-metrics-grid">
|
| 1493 |
<!-- Les métriques seront ajoutées dynamiquement -->
|
| 1494 |
</div>
|
|
@@ -2344,7 +2438,7 @@ function updateCompactCompetences(competences) {
|
|
| 2344 |
<div class="compact-matrix-competence-fill" style="width: ${comp.value}%; background: ${color};">
|
| 2345 |
</div>
|
| 2346 |
</div>
|
| 2347 |
-
<div
|
| 2348 |
<span>0%</span>
|
| 2349 |
<span>100%</span>
|
| 2350 |
</div>
|
|
@@ -2370,6 +2464,10 @@ function updateCompactCompetences(competences) {
|
|
| 2370 |
<div class="compact-matrix-competence-fill" style="width: 0%; background: #999;">
|
| 2371 |
</div>
|
| 2372 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2373 |
`;
|
| 2374 |
gridContainer.appendChild(emptyItem);
|
| 2375 |
}
|
|
@@ -3363,9 +3461,6 @@ window.clearEvaluatorFields = clearEvaluatorFields;
|
|
| 3363 |
window.loadScenario = loadScenario;
|
| 3364 |
</script>
|
| 3365 |
|
| 3366 |
-
|
| 3367 |
-
<!-- ... (le reste du code HTML reste inchangé) ... -->
|
| 3368 |
-
|
| 3369 |
</div> <!-- Fin de la div principale #reflection -->
|
| 3370 |
|
| 3371 |
<!-- PIED DE PAGE -->
|
|
|
|
| 318 |
display: grid;
|
| 319 |
grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
|
| 320 |
grid-template-rows: repeat(3, auto); /* 3 lignes */
|
| 321 |
+
gap: 8px; /* Réduit */
|
| 322 |
+
margin: 8px 0; /* Réduit */
|
| 323 |
}
|
| 324 |
|
| 325 |
+
/* HAUTEUR RÉDUITE À 50% DES BOX DE COMPÉTENCES */
|
| 326 |
.compact-competence-matrix-item {
|
| 327 |
+
padding: 6px; /* Réduit */
|
| 328 |
background: linear-gradient(135deg, #f8f9fa, #e9ecef);
|
| 329 |
+
border-radius: 5px; /* Réduit */
|
| 330 |
+
border-left: 2px solid #1976D2; /* Réduit */
|
| 331 |
transition: all 0.3s ease;
|
| 332 |
height: 100%;
|
| 333 |
display: flex;
|
| 334 |
flex-direction: column;
|
| 335 |
justify-content: space-between;
|
| 336 |
+
min-height: 60px; /* RÉDUIT À 50% DE 120px = 60px */
|
| 337 |
}
|
| 338 |
|
| 339 |
.compact-competence-matrix-item:hover {
|
| 340 |
+
transform: translateY(-1px); /* Réduit */
|
| 341 |
+
box-shadow: 0 1px 6px rgba(0,0,0,0.05); /* Réduit l'ombre */
|
| 342 |
background: linear-gradient(135deg, #e3f2fd, #bbdefb);
|
| 343 |
}
|
| 344 |
|
| 345 |
.compact-matrix-competence-label {
|
| 346 |
+
font-size: 9px; /* RÉDUIT À 50% DE 13px ≈ 6.5px, ajusté à 9px pour lisibilité */
|
| 347 |
font-weight: 600;
|
| 348 |
color: #333;
|
| 349 |
+
margin-bottom: 3px; /* RÉDUIT */
|
| 350 |
+
line-height: 1.0; /* AJUSTÉ */
|
| 351 |
flex-grow: 1;
|
| 352 |
+
overflow: hidden;
|
| 353 |
+
text-overflow: ellipsis;
|
| 354 |
+
display: -webkit-box;
|
| 355 |
+
-webkit-line-clamp: 2;
|
| 356 |
+
-webkit-box-orient: vertical;
|
| 357 |
+
max-height: 20px; /* Limite la hauteur */
|
| 358 |
}
|
| 359 |
|
| 360 |
.compact-matrix-competence-value {
|
| 361 |
+
font-size: 12px; /* RÉDUIT À 50% DE 24px ≈ 12px */
|
| 362 |
font-weight: bold;
|
| 363 |
color: #1976D2;
|
| 364 |
text-align: center;
|
| 365 |
+
margin: 3px 0; /* RÉDUIT */
|
| 366 |
+
min-height: 15px; /* Hauteur minimale pour la valeur */
|
| 367 |
}
|
| 368 |
|
| 369 |
.compact-matrix-competence-value.high { color: #43A047; }
|
|
|
|
| 371 |
.compact-matrix-competence-value.low { color: #E53935; }
|
| 372 |
|
| 373 |
.compact-matrix-competence-bar {
|
| 374 |
+
height: 3px; /* RÉDUIT À 50% DE 8px ≈ 4px, ajusté à 3px */
|
| 375 |
background: #e0e0e0;
|
| 376 |
+
border-radius: 1px;
|
| 377 |
overflow: hidden;
|
| 378 |
+
margin: 2px 0; /* RÉDUIT */
|
| 379 |
}
|
| 380 |
|
| 381 |
.compact-matrix-competence-fill {
|
| 382 |
height: 100%;
|
| 383 |
+
border-radius: 1px;
|
| 384 |
transition: width 0.5s ease;
|
| 385 |
}
|
| 386 |
|
| 387 |
+
/* LÉGENDE 0% - 100% RÉDUITE */
|
| 388 |
+
.compact-competence-matrix-item > div:last-child {
|
| 389 |
+
font-size: 7px; /* RÉDUIT À 50% DE 11px ≈ 5.5px, ajusté à 7px */
|
| 390 |
+
margin-top: 1px; /* RÉDUIT */
|
| 391 |
+
display: flex;
|
| 392 |
+
justify-content: space-between;
|
| 393 |
+
color: #999;
|
| 394 |
+
}
|
| 395 |
+
|
| 396 |
/* ================= LÉGENDE RADAR COMPACTE ================= */
|
| 397 |
.compact-radar-legend {
|
| 398 |
display: flex;
|
|
|
|
| 427 |
.compact-legend-medium { background: linear-gradient(135deg, #fb8c00, #ff9800); }
|
| 428 |
.compact-legend-high { background: linear-gradient(135deg, #43a047, #4caf50); }
|
| 429 |
|
| 430 |
+
/* ================= MÉTRIQUES RADAR COMPACTES - 8 INDICATEURS EN 1 LIGNE ================= */
|
| 431 |
+
.compact-radar-metrics-grid {
|
| 432 |
+
display: grid;
|
| 433 |
+
grid-template-columns: repeat(8, 1fr); /* 8 colonnes pour les 8 indicateurs */
|
| 434 |
+
gap: 8px; /* Espacement réduit */
|
| 435 |
+
margin: 15px 0;
|
| 436 |
+
}
|
| 437 |
+
|
| 438 |
+
.compact-metric-card {
|
| 439 |
+
background: white;
|
| 440 |
+
border-radius: 8px; /* Réduit */
|
| 441 |
+
padding: 10px; /* Réduit */
|
| 442 |
+
box-shadow: 0 2px 5px rgba(0,0,0,0.06); /* Ombre plus légère */
|
| 443 |
+
border-left: 3px solid #1976D2; /* Réduit */
|
| 444 |
+
transition: transform 0.2s;
|
| 445 |
+
text-align: center;
|
| 446 |
+
min-height: 90px; /* Hauteur réduite pour tenir sur une ligne */
|
| 447 |
+
display: flex;
|
| 448 |
+
flex-direction: column;
|
| 449 |
+
justify-content: space-between;
|
| 450 |
+
}
|
| 451 |
+
|
| 452 |
+
.compact-metric-card:hover {
|
| 453 |
+
transform: translateY(-2px); /* Effet hover réduit */
|
| 454 |
+
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
|
| 455 |
+
}
|
| 456 |
+
|
| 457 |
+
.compact-metric-icon {
|
| 458 |
+
font-size: 18px; /* Réduit */
|
| 459 |
+
margin-bottom: 5px;
|
| 460 |
+
}
|
| 461 |
+
|
| 462 |
+
.compact-metric-name {
|
| 463 |
+
font-weight: 600;
|
| 464 |
+
color: #333;
|
| 465 |
+
margin-bottom: 3px;
|
| 466 |
+
font-size: 11px; /* Réduit */
|
| 467 |
+
line-height: 1.2;
|
| 468 |
+
height: 26px; /* Hauteur fixe pour 2 lignes */
|
| 469 |
+
overflow: hidden;
|
| 470 |
+
display: -webkit-box;
|
| 471 |
+
-webkit-line-clamp: 2;
|
| 472 |
+
-webkit-box-orient: vertical;
|
| 473 |
+
}
|
| 474 |
+
|
| 475 |
+
.compact-metric-value {
|
| 476 |
+
font-size: 16px; /* Réduit */
|
| 477 |
+
font-weight: bold;
|
| 478 |
+
color: #1976D2;
|
| 479 |
+
margin: 5px 0;
|
| 480 |
+
}
|
| 481 |
+
|
| 482 |
+
.compact-metric-value.high { color: #43A047; }
|
| 483 |
+
.compact-metric-value.medium { color: #FB8C00; }
|
| 484 |
+
.compact-metric-value.low { color: #E53935; }
|
| 485 |
+
|
| 486 |
+
.compact-metric-description {
|
| 487 |
+
font-size: 10px; /* Réduit */
|
| 488 |
+
color: #666;
|
| 489 |
+
margin-top: 3px;
|
| 490 |
+
line-height: 1.2;
|
| 491 |
+
height: 24px; /* Hauteur fixe pour 2 lignes */
|
| 492 |
+
overflow: hidden;
|
| 493 |
+
display: -webkit-box;
|
| 494 |
+
-webkit-line-clamp: 2;
|
| 495 |
+
-webkit-box-orient: vertical;
|
| 496 |
+
}
|
| 497 |
+
|
| 498 |
/* ================= RADAR COMPACT ================= */
|
| 499 |
#radar-container {
|
| 500 |
background: white;
|
|
|
|
| 570 |
font-size: 12px;
|
| 571 |
}
|
| 572 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 573 |
/* ================= HEATMAP COMPACT ================= */
|
| 574 |
.compact-heatmap-and-indicators {
|
| 575 |
background: white;
|
|
|
|
| 1240 |
grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
|
| 1241 |
grid-template-rows: repeat(5, auto); /* 5 lignes */
|
| 1242 |
}
|
| 1243 |
+
|
| 1244 |
+
/* Pour les écrans moyens : 4 indicateurs sur 2 lignes */
|
| 1245 |
+
.compact-radar-metrics-grid {
|
| 1246 |
+
grid-template-columns: repeat(4, 1fr); /* 4 colonnes sur 2 lignes */
|
| 1247 |
+
grid-template-rows: repeat(2, auto);
|
| 1248 |
+
}
|
| 1249 |
}
|
| 1250 |
|
| 1251 |
@media (max-width: 768px) {
|
|
|
|
| 1281 |
.compact-competences-grid {
|
| 1282 |
grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
|
| 1283 |
grid-template-rows: repeat(7, auto); /* 7 lignes */
|
| 1284 |
+
gap: 6px; /* Réduit pour mobile */
|
| 1285 |
}
|
| 1286 |
|
| 1287 |
.compact-competence-matrix-item {
|
| 1288 |
+
padding: 5px; /* Réduit pour mobile */
|
| 1289 |
+
min-height: 50px; /* Réduit pour mobile (50% de 90px ≈ 45px, ajusté à 50px) */
|
| 1290 |
}
|
| 1291 |
|
| 1292 |
.compact-matrix-competence-label {
|
| 1293 |
+
font-size: 8px; /* Réduit pour mobile */
|
| 1294 |
+
-webkit-line-clamp: 2; /* Garder 2 lignes sur mobile */
|
| 1295 |
+
max-height: 18px; /* Réduit pour mobile */
|
| 1296 |
}
|
| 1297 |
|
| 1298 |
.compact-matrix-competence-value {
|
| 1299 |
+
font-size: 11px; /* Réduit pour mobile */
|
| 1300 |
+
min-height: 13px; /* Réduit pour mobile */
|
| 1301 |
}
|
| 1302 |
|
| 1303 |
+
/* Pour les tablettes : 4 indicateurs sur 2 lignes */
|
| 1304 |
.compact-radar-metrics-grid {
|
| 1305 |
+
grid-template-columns: repeat(4, 1fr);
|
| 1306 |
+
grid-template-rows: repeat(2, auto);
|
| 1307 |
+
gap: 6px;
|
| 1308 |
+
}
|
| 1309 |
+
|
| 1310 |
+
.compact-metric-card {
|
| 1311 |
+
min-height: 85px;
|
| 1312 |
+
padding: 8px;
|
| 1313 |
+
}
|
| 1314 |
+
|
| 1315 |
+
.compact-metric-name {
|
| 1316 |
+
font-size: 10px;
|
| 1317 |
+
height: 24px;
|
| 1318 |
+
}
|
| 1319 |
+
|
| 1320 |
+
.compact-metric-value {
|
| 1321 |
+
font-size: 14px;
|
| 1322 |
+
}
|
| 1323 |
+
|
| 1324 |
+
.compact-metric-description {
|
| 1325 |
+
font-size: 9px;
|
| 1326 |
+
height: 22px;
|
| 1327 |
}
|
| 1328 |
|
| 1329 |
.compact-radar-legend {
|
|
|
|
| 1364 |
grid-template-columns: 1fr;
|
| 1365 |
}
|
| 1366 |
|
| 1367 |
+
/* Pour les mobiles : 2 indicateurs sur 4 lignes */
|
| 1368 |
.compact-radar-metrics-grid {
|
| 1369 |
+
grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur 4 lignes */
|
| 1370 |
+
grid-template-rows: repeat(4, auto);
|
| 1371 |
+
gap: 5px;
|
| 1372 |
+
}
|
| 1373 |
+
|
| 1374 |
+
.compact-metric-card {
|
| 1375 |
+
min-height: 80px;
|
| 1376 |
+
padding: 6px;
|
| 1377 |
+
}
|
| 1378 |
+
|
| 1379 |
+
.compact-metric-name {
|
| 1380 |
+
font-size: 9px;
|
| 1381 |
+
height: 22px;
|
| 1382 |
+
}
|
| 1383 |
+
|
| 1384 |
+
.compact-metric-value {
|
| 1385 |
+
font-size: 13px;
|
| 1386 |
+
}
|
| 1387 |
+
|
| 1388 |
+
.compact-metric-description {
|
| 1389 |
+
font-size: 8px;
|
| 1390 |
+
height: 20px;
|
| 1391 |
}
|
| 1392 |
|
| 1393 |
.compact-competences-grid {
|
| 1394 |
grid-template-columns: 1fr; /* 1 colonne */
|
| 1395 |
grid-template-rows: repeat(14, auto); /* 14 lignes */
|
| 1396 |
+
gap: 5px; /* Réduit pour très petits écrans */
|
| 1397 |
+
}
|
| 1398 |
+
|
| 1399 |
+
.compact-competence-matrix-item {
|
| 1400 |
+
min-height: 45px; /* Réduit pour très petits écrans */
|
| 1401 |
+
}
|
| 1402 |
+
|
| 1403 |
+
.compact-matrix-competence-label {
|
| 1404 |
+
font-size: 7px; /* Réduit pour très petits écrans */
|
| 1405 |
+
-webkit-line-clamp: 2; /* Garder 2 lignes */
|
| 1406 |
+
max-height: 16px; /* Réduit pour très petits écrans */
|
| 1407 |
}
|
| 1408 |
|
| 1409 |
.example-metrics-table th,
|
|
|
|
| 1559 |
|
| 1560 |
<h3>📊 Progression par compétence </h3>
|
| 1561 |
<div id="competence-bars">
|
|
|
|
|
|
|
| 1562 |
<div id="compact-competences">
|
| 1563 |
<em>Chargement des compétences...</em>
|
| 1564 |
</div>
|
|
|
|
| 1582 |
|
| 1583 |
<h3>🕸️ Analyse de l'engagement: Indicateurs de comportement d'apprentissage </h3>
|
| 1584 |
|
| 1585 |
+
<!-- Grille des métriques radar compacte - 8 indicateurs en 1 ligne -->
|
| 1586 |
<div class="compact-radar-metrics-grid" id="compact-radar-metrics-grid">
|
| 1587 |
<!-- Les métriques seront ajoutées dynamiquement -->
|
| 1588 |
</div>
|
|
|
|
| 2438 |
<div class="compact-matrix-competence-fill" style="width: ${comp.value}%; background: ${color};">
|
| 2439 |
</div>
|
| 2440 |
</div>
|
| 2441 |
+
<div>
|
| 2442 |
<span>0%</span>
|
| 2443 |
<span>100%</span>
|
| 2444 |
</div>
|
|
|
|
| 2464 |
<div class="compact-matrix-competence-fill" style="width: 0%; background: #999;">
|
| 2465 |
</div>
|
| 2466 |
</div>
|
| 2467 |
+
<div>
|
| 2468 |
+
<span>0%</span>
|
| 2469 |
+
<span>100%</span>
|
| 2470 |
+
</div>
|
| 2471 |
`;
|
| 2472 |
gridContainer.appendChild(emptyItem);
|
| 2473 |
}
|
|
|
|
| 3461 |
window.loadScenario = loadScenario;
|
| 3462 |
</script>
|
| 3463 |
|
|
|
|
|
|
|
|
|
|
| 3464 |
</div> <!-- Fin de la div principale #reflection -->
|
| 3465 |
|
| 3466 |
<!-- PIED DE PAGE -->
|