-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
241 lines (231 loc) · 11 KB
/
index.html
File metadata and controls
241 lines (231 loc) · 11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!DOCTYPE html>
<html lang="de" data-theme="light">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Informationskompetenz – Interaktive Lernseite</title>
<meta name="description" content="Erlebe den Rechercheprozess interaktiv: von der Fragestellung über die Suche bis zum Zitieren." />
<link rel="stylesheet" href="styles.css"/>
</head>
<body>
<!-- ====== Header / Nav ====== -->
<header class="glass">
<div class="container nav" role="navigation" aria-label="Hauptnavigation">
<div class="brand" aria-label="Start">
<div class="logo" aria-hidden="true"></div>
<span>Uni‑Library · Informationskompetenz</span>
</div>
<nav>
<ul>
<li><a href="#hero">Start</a></li>
<li><a href="#pfad">Recherchepfad</a></li>
<li><a href="#labor">Suchlabor</a></li>
<li><a href="#quellen">Quellen‑Check</a></li>
<li><a href="#zitieren">Zitiertrainer</a></li>
<li><a href="#quiz">Quiz</a></li>
<li><a href="#journal">Lernjournal</a></li>
</ul>
</nav>
<div class="row">
<span class="progress-badge" title="Fortschritt deiner Lernreise"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M12 2a10 10 0 1 0 10 10" stroke="currentColor" stroke-width="2"/><path id="progress-arc" d="M12 2a10 10 0 0 1 0 0" stroke="url(#g)" stroke-width="2"/><defs><linearGradient id="g" x1="0" x2="1"><stop stop-color="var(--brand)"/><stop offset="1" stop-color="var(--brand-2)"/></linearGradient></defs></svg><span id="progress">0%</span></span>
<button class="btn btn-ghost" id="themeToggle" aria-pressed="false" aria-label="Darstellung umschalten">🌙</button>
</div>
</div>
</header>
<!-- ====== Hero ====== -->
<section id="hero" class="hero">
<div class="container hero-wrap">
<div class="hero-card glass">
<div class="sparkle" aria-hidden="true"></div>
<h1>Informationskompetenz –<br/> dein interaktiver <span style="background:linear-gradient(135deg,var(--brand),var(--accent)); -webkit-background-clip:text; background-clip:text; color:transparent">Recherche‑Coach</span></h1>
<p>Erlebe den gesamten Rechercheprozess: Thema schärfen, Suchstrategie bauen, Treffer bewerten, Literatur verwalten und korrekt zitieren. Alles in einer spielerischen Oberfläche.</p>
<div class="hero-cta">
<a class="btn btn-primary" href="#pfad">🚀 Recherchepfad starten</a>
<a class="btn btn-ghost" href="#labor">🔎 Direkt ins Suchlabor</a>
</div>
<div class="stat-grid">
<div class="stat"><div class="num" id="stat-steps">0/9</div><div class="hint">Schritte abgeschlossen</div></div>
<div class="stat"><div class="num" id="stat-score">0/6</div><div class="hint">Quiz‑Score</div></div>
<div class="stat"><div class="num" id="stat-journal">0</div><div class="hint">Notizen gespeichert</div></div>
</div>
</div>
<div class="hero-card glass" aria-label="Live‑Demo des Recherchepfads">
<canvas id="orb" width="800" height="520" style="width:100%; height:100%; border-radius:24px"></canvas>
</div>
</div>
</section>
<!-- ====== Recherchepfad (Stepper) ====== -->
<section id="pfad" class="container">
<h2 class="section-title">Dein Recherchepfad</h2>
<p class="section-sub">Arbeite Schritt für Schritt – jede Etappe enthält Mini‑Aufgaben und speichert automatisch deinen Fortschritt (nur lokal in deinem Browser).</p>
<div class="stepper">
<div class="steps" role="tablist" aria-label="Recherche-Schritte">
<!-- Steps will be injected by JS -->
</div>
<div class="panel" id="panel" role="tabpanel" aria-live="polite">
<!-- Active step content here -->
</div>
</div>
</section>
<!-- ====== Suchlabor ====== -->
<section id="labor" class="container">
<h2 class="section-title">Suchlabor – baue deine Boolesche Suche</h2>
<p class="section-sub">Füge Synonyme pro Themenblock hinzu, wähle Operatoren, setze Phrasen & Trunkierungen. Die Abfrage entsteht live.</p>
<div class="lab-grid">
<div class="group">
<h3>Begriffsgruppen</h3>
<div class="row">
<input class="input" id="g1input" placeholder="Gruppe A – z.B. Klimawandel"/>
<button class="btn btn-primary" data-add="1">+ Hinzufügen</button>
</div>
<div id="g1" class="tagbox" aria-label="Gruppe A Tags"></div>
<div class="row" style="margin-top:.6rem">
<input class="input" id="g2input" placeholder="Gruppe B – z.B. Anpassung"/>
<button class="btn btn-primary" data-add="2">+ Hinzufügen</button>
</div>
<div id="g2" class="tagbox" aria-label="Gruppe B Tags"></div>
<div class="row" style="margin-top:.6rem">
<input class="input" id="g3input" placeholder="Ausschlüsse (NOT) – z.B. Pflanzen"/>
<button class="btn btn-primary" data-add="3">+ Hinzufügen</button>
</div>
<div id="g3" class="tagbox" aria-label="Gruppe C Tags (NOT)"></div>
<div class="controls">
<label><input type="checkbox" id="usePhrase"> Phrasensuche für Mehrwort‑Begriffe</label>
<label><input type="checkbox" id="useTrunc"> Trunkierung* (z.B. klima*)</label>
<span class="hint">* wird nur bei Worten ≥ 4 Zeichen angewandt</span>
</div>
</div>
<div class="group">
<h3>Ergebnis</h3>
<div class="query" id="query" aria-live="polite">(Begriffe erscheinen hier …)</div>
<div class="controls">
<button id="copyQuery" class="btn btn-ghost">📋 Abfrage kopieren</button>
<button id="saveQuery" class="btn btn-primary">💾 In Lernjournal sichern</button>
</div>
</div>
</div>
</section>
<!-- ====== Quellen-Check (Drag & Drop) ====== -->
<section id="quellen" class="container">
<h2 class="section-title">Quellen‑Check – bewerte Evidenz</h2>
<p class="section-sub">Ziehe die Karten in die passende Spalte. Danach erhältst du Feedback.</p>
<div class="board" aria-label="Quellen-Bewertungsboard">
<div class="col" data-col="high">
<h4>📘 Vertrauenswürdig</h4>
<p class="hint">Peer‑reviewte Artikel, Standardwerke …</p>
</div>
<div class="col" data-col="medium">
<h4>🟡 Prüfen</h4>
<p class="hint">Nachvollziehbare, aber nicht geprüfte Inhalte</p>
</div>
<div class="col" data-col="low">
<h4>🔴 Schwach</h4>
<p class="hint">Meinungen ohne Belege, Werbung</p>
</div>
</div>
<div class="row" style="margin-top:.8rem">
<button id="resetBoard" class="btn btn-ghost">🔁 Neustart</button>
<button id="checkBoard" class="btn btn-primary">✅ Lösung prüfen</button>
<span id="boardResult" class="hint"></span>
</div>
<div id="deck" class="hidden"></div>
</section>
<!-- ====== Zitiertrainer ====== -->
<section id="zitieren" class="container">
<h2 class="section-title">Zitiertrainer</h2>
<p class="section-sub">Gib die Felder ein, wähle einen Stil und erhalte eine formatierte Referenz.</p>
<div class="grid-2">
<div class="group">
<div class="row">
<select id="style" class="input" aria-label="Zitierstil">
<option value="apa">APA (7. Aufl.)</option>
<option value="chicago">Chicago (Autor‑Datum)</option>
<option value="mla">MLA (vereinfacht)</option>
</select>
<button id="makeCite" class="btn btn-primary">Formatieren</button>
</div>
<div class="row">
<input id="authors" class="input" placeholder="Autor*innen (Nachname, Vorname; …)"/>
</div>
<div class="row">
<input id="title" class="input" placeholder="Titel"/>
</div>
<div class="row">
<input id="container" class="input" placeholder="Zeitschrift/Buch/Quelle"/>
<input id="year" class="input" placeholder="Jahr"/>
</div>
<div class="row">
<input id="volume" class="input" placeholder="Band"/>
<input id="issue" class="input" placeholder="Heft"/>
<input id="pages" class="input" placeholder="Seiten"/>
</div>
<div class="row">
<input id="publisher" class="input" placeholder="Verlag/Ort (optional)"/>
</div>
<div class="row">
<input id="doi" class="input" placeholder="DOI oder URL (optional)"/>
</div>
</div>
<div class="group">
<h3>Vorschau</h3>
<div id="citeOut" class="query" style="min-height:120px"></div>
<div class="controls">
<button id="copyCite" class="btn btn-ghost">📋 Zitat kopieren</button>
<button id="saveCite" class="btn btn-primary">💾 In Lernjournal sichern</button>
</div>
</div>
</div>
</section>
<!-- ====== Quiz ====== -->
<section id="quiz" class="container">
<h2 class="section-title">Mini‑Quiz</h2>
<p class="section-sub">Teste dein Wissen. Direktes Feedback nach jeder Frage.</p>
<div id="quizBox" class="quiz"></div>
<div class="row">
<button id="restartQuiz" class="btn btn-ghost">🔁 Quiz zurücksetzen</button>
<span class="hint">Punkte: <strong id="score">0</strong> / <span id="totalQ">0</span></span>
</div>
</section>
<!-- ====== Lernjournal / Export ====== -->
<section id="journal" class="container">
<h2 class="section-title">Lernjournal</h2>
<p class="section-sub">Deine Notizen & Ergebnisse – nur lokal. Du kannst alles als Markdown exportieren.</p>
<div class="group">
<div class="row">
<textarea id="notes" placeholder="Eigene Notizen …"></textarea>
</div>
<div class="controls">
<button id="saveNotes" class="btn btn-primary">💾 Notizen speichern</button>
<span class="hint">Speichert automatisch beim Verlassen der Seite.</span>
</div>
</div>
<div class="group">
<h3>Gespeicherte Einträge</h3>
<div id="journalList"></div>
<div class="controls">
<button id="exportMD" class="btn btn-ghost">⬇️ Als Markdown exportieren</button>
</div>
</div>
</section>
<footer class="container" style="padding:2rem 0 4rem; color:var(--muted)">
<div class="row" style="justify-content:space-between">
<div>
<strong>Prototyp Universitäre Informationskompetenz</strong>
<div>Made for Lern‑Sessions, Schulungen & Selbststudium</div>
</div>
<div>
<a href="#hero" class="btn btn-ghost">⬆️ Nach oben</a>
</div>
</div>
</footer>
<!-- Info Modal -->
<div id="infoModal" class="modal hidden" role="dialog" aria-modal="true" aria-labelledby="modalTitle" aria-hidden="true">
<div class="modal-content">
<h3 id="modalTitle"></h3>
<div id="modalBody"></div>
<div class="controls"><button id="modalClose" class="btn btn-primary">Schließen</button></div>
</div>
</div>
<script src="scripts.js" defer></script>
</body>
</html>