- Simplified loadPersistedVocabularyData() to use only VocabularyProgressManager - Updated calculateVocabularyProgress() to use unified data structure - Removed old system references from knowledge panel data loading - Fixed field names (drsDiscovered, drsMastered) for unified system - Knowledge panel now displays vocabulary progress correctly ✅ TESTED: Vocabulary Knowledge panel working with unified system 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
80 lines
2.2 KiB
HTML
80 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>🧪 Tests DRS - Class Generator</title>
|
|
<link rel="stylesheet" href="src/styles/base.css">
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 20px;
|
|
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.page-header {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
.page-header h1 {
|
|
font-size: 2.5em;
|
|
margin-bottom: 10px;
|
|
background: linear-gradient(135deg, #667eea, #764ba2);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.back-link {
|
|
position: fixed;
|
|
top: 20px;
|
|
left: 20px;
|
|
background: white;
|
|
color: #667eea;
|
|
text-decoration: none;
|
|
padding: 10px 20px;
|
|
border-radius: 25px;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
|
transition: all 0.3s ease;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.back-link:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
#test-container {
|
|
/* Le container sera stylé par DRSTestRunner */
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<a href="/" class="back-link">← Retour à l'application</a>
|
|
|
|
<div class="page-header">
|
|
<h1>🧪 Interface de Tests DRS</h1>
|
|
<p>Validation complète du système DRS (Dynamic Response System)</p>
|
|
</div>
|
|
|
|
<div id="test-container">
|
|
<!-- Le DRSTestRunner va s'initialiser ici -->
|
|
</div>
|
|
|
|
<script type="module">
|
|
import DRSTestRunner from './src/DRS/DRSTestRunner.js';
|
|
|
|
// Initialiser l'interface de tests DRS
|
|
const testRunner = new DRSTestRunner();
|
|
const container = document.getElementById('test-container');
|
|
|
|
testRunner.init(container);
|
|
|
|
console.log('🧪 Interface de tests DRS initialisée');
|
|
console.log('Accès via: http://localhost:8081/test-drs-interface.html');
|
|
</script>
|
|
</body>
|
|
</html> |