-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.html
490 lines (474 loc) · 28.9 KB
/
app.html
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
<!DOCTYPE html>
<!-- app.html -->
<div id="disableOverlay">
<div id="disableOverlayContent">
<span lang="de">BITTE WARTEN ...</span>
<span lang="en">PLEASE WAIT ...</span>
</div>
<span id="progressBar">
<span id="progressBarContainer">
<span id="progressBarValue" class="value-00"></span>
</span>
</span>
</div>
<div id="confirmdialogOverlay">
<div id="confirmdialogOverlayContent">
<div id="confirmdialogOverlayContentBox">
<div id="confirmdialogOverlayContentText">
<span lang="de"></span>
<span lang="en"></span>
</div>
<div id="confirmdialogOverlayContentButtons">
<div id="confirmdialogYes" class="confirmDialogButton">
<span class="iconButton"></span>
<span class="textButton"><span lang="de"></span><span lang="en"></span></span>
</div>
<div id="confirmdialogNo" class="confirmDialogButton">
<span class="iconButton"></span>
<span class="textButton"><span lang="de"></span><span lang="en"></span></span>
</div>
</div>
</div>
</div>
</div>
<div id="userProfileInterfaceOverlay">
<div id="userProfileInterfaceOverlayContent">
{{ userProfileInterface }}
</div>
</div>
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<ul class="nav navbar-nav" data-tabsetid="9289">
<li>
<img id="logoApp" class="logo" src="www/logo.svg">
<span class="hotkeyInfo"><span lang="de">T</span><span lang="en">T</span></span>
</li>
<li class="active">
<a href="#tab-9289-1" data-toggle="tab" data-bs-toggle="tab" data-value="exercises">
<div id="exercisesNav">
<span lang="de">AUFGABEN</span>
<span lang="en">EXERCISES</span>
</div>
</a>
</li>
<li>
<a href="#tab-9289-2" data-toggle="tab" data-bs-toggle="tab" data-value="exam">
<div id="examNav">
<span lang="de">PRÜFUNG</span>
<span lang="en">EXAM</span>
</div>
</a>
</li>
<li class="noAddons">
<a href="#tab-9289-3" data-toggle="tab" data-bs-toggle="tab" data-value="addons" class="addonTab">
<div id="addonsNav">
<span lang="de">WERKZEUGE</span>
<span lang="en">TOOLS</span>
</div>
</a>
</li>
</ul>
<div id="navMisc">
<div id="texActiveContainer" class="texMode texInputsEscaped">
<span id="texButtons" class="buttonModeSelector"><span lang="de">TeX Modus</span><span lang="en">TeX mode</span><i class="fa-regular fa-circle-dot"></i></span>
</div>
<div id="hotkeysActiveContainer">
<span id="hotkeyButtons" class="buttonModeSelector"><span lang="de">Tastenkürzel</span><span lang="en">Hotkeys</span><i class="fa-regular fa-circle-dot"></i></span>
</div>
<div id="buttonModeSwitchContainer">
<span id="iconButtons" class="buttonModeSelector"><i class="fa-solid fa-icons"></i></span>
<span> | </span>
<span id="textButtons" class="buttonModeSelector active"><i class="fa-solid fa-font"></i></span>
</div>
<div id="languageSwitchContainer">
<span id="deLang" class="langSelector active">DE</span>
<span> | </span>
<span id="enLang" class="langSelector">EN</span>
</div>
<div id="heartbeatContainer">
<div id="heart">
<span>❤</span>
</div>
</div>
<div id="userProfile">
{{ userProfileButton }}
</div>
<div id="logoutContainer">
{{ userLogoutButton }}
</div>
</div>
</nav>
<main>
<div id="exercises" class="mainSection active">
<h1>
<span lang="de">Aufgaben</span><span lang="en">Exercises</span>
</h1>
<div class="sectionHeader">
<div class="settings">
<h2>
<span lang="de">Einstellungen</span><span lang="en">Settings</span>
</h2>
<div>
<div>
<label for="seedValueExercises"><span lang="de">Seed</span><span lang="en">Seed</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Start-Seed für Zufallswerte. Dieser Wert wird für jede Aufgabe seperat gesetzt.</span><span lang="en">Seed start value for random values. This values is set separately for each exercise.</span></span></span></label>
{{ textInput_seedValueExercises }}
</div>
</div>
</div>
<div class="summary">
<h2>
<span lang="de">Übersicht Prüfungsaufgaben</span><span lang="en">Overview exam exercises</span>
</h2>
<table>
<tr>
<th><span lang="de">Seed</span><span lang="en">Seed</span></th>
<th><span lang="de">Aufgaben</span><span lang="en">Exercises</span></th>
<th><span lang="de">Punkte</span><span lang="en">Points</span></th>
<th><span lang="de">Bereiche</span><span lang="en">Sections</span></th>
</tr>
<tr>
<td id="s_initialSeed"></td>
<td id="s_numberOfExercises"></td>
<td id="s_totalPoints"></td>
<td id="s_sectionsTable"></td>
</tr>
</table>
</div>
</div>
<div class="manageExercises">
<h2>
<span lang="de">Aufgaben verwalten</span><span lang="en">Manage exercises</span>
</h2>
<div class="contentWrapper">
<div class="sidebar">
<div id="exercise_list" class="itemList">
<div id="exerciseListNav">
<div id="exerciseListButtons" class="listButtons">
<div id="newExercise" class="listButton">
<span class="hotkeyInfo"><span lang="de">A</span><span lang="en">A</span></span>
<div class="list_butttonIcon">
<span class="iconButton"><i class="fa-solid fa-plus"></i></span>
<span class="textButton"><span lang="de">Neu</span><span lang="en">New</span></span>
</div>
</div>
<label id="exerciseUpload" class="listButton" for="file-upload_exercises">
<span class="hotkeyInfo"><span lang="de">Q</span><span lang="en">Q</span></span>
<div class="list_butttonIcon">
<span class="iconButton"><i class="fa-solid fa-upload"></i></span>
<span class="textButton"><span lang="de">Importieren</span><span lang="en">Import</span></span>
</div>
<input type="file" id="file-upload_exercises" onchange='exercisesFileDialog(this.files);' multiple>
</label>
<label id="exerciseDownload" class="listButton" for="downloadExercise">
{{ button_downloadExercise }}
</label>
<label id="exerciseDownloadAll" class="listButton" for="downloadExercises">
<span class="hotkeyInfo"><span lang="de">SHIFT S</span><span lang="en">SHIFT S</span></span>
<div class="list_butttonIcon">
<span class="iconButton"><i class="fa-solid fa-download"></i></span>
<span class="textButton"><span lang="de">Alle speichern</span><span lang="en">Save all</span></span>
</div>
{{ button_downloadExercises }}
</label>
<div id="exerciseConvertAll" class="listButton">
<span class="hotkeyInfo"><span lang="de">SHIFT C</span><span lang="en">SHIFT C</span></span>
<div class="list_butttonIcon">
<span class="iconButton"><i class="fa-solid fa-screwdriver-wrench"></i></span>
<span class="textButton"><span lang="de">Alle konvertieren</span><span lang="en">Convert all</span></span>
</div>
</div>
<div id="exerciseParseAll" class="listButton">
<span class="hotkeyInfo"><span lang="de">SHIFT R</span><span lang="en">SHIFT R</span></span>
<div class="list_butttonIcon">
<span class="iconButton"><i class="fa-solid fa-rotate"></i></span>
<span class="textButton"><span lang="de">Alle berechnen</span><span lang="en">Parse all</span></span>
</div>
</div>
<div id="examExerciseAll" class="listButton">
<span class="hotkeyInfo"><span lang="de">SHIFT E</span><span lang="en">SHIFT E</span></span>
<div class="list_butttonIcon">
<span class="iconButton"><i class="fa-solid fa-star"></i></span>
<span class="textButton"><span lang="de">Alle prüfungsrelevant</span><span lang="en">All examinable</span></span>
</div>
</div>
<div id="exerciseRemoveAll" class="listButton">
<span class="hotkeyInfo"><span lang="de">SHIFT D</span><span lang="en">SHIFT D</span></span>
<div class="list_butttonIcon">
<span class="iconButton"><i class="fa-solid fa-trash"></i></span>
<span class="textButton"><span lang="de">Alle entfernen</span><span lang="en">Remove all</span></span>
</div>
</div>
</div>
<div id="exerciseListSearch">
<div id="searchExercises">
<span class="hotkeyInfo"><span lang="de">SHIFT F</span><span lang="en">SHIFT F</span></span>
<div>
<input type="text"/>
</div>
</div>
</div>
</div>
<div id="exercise_list_items">
</div>
</div>
</div>
<div id="exercise_info" class="content">
<h2 id="exerciseName"></h2>
<label for="author"><span lang="de">Autor</span><span lang="en">Author</span></label>
<div id="author"></div>
<div id="exExtra"></div>
<label for="type"><span lang="de">Typ</span><span lang="en">Type</span></label>
<div id="type"></div>
<label for="points"><span lang="de">Punkte</span><span lang="en">Points</span></label>
<div id="points"></div>
<label for="section"><span lang="de">Bereich</span><span lang="en">Section</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Hierarchischer Aufgabenbereich mit <b>/</b> als Trennzeichen.</span><span lang="en">Hierarchical exercise section with <b>/</b> as separator.</span></span></span></label>
<div id="section"></div>
<label for="tags"><span lang="de">Tags</span><span lang="en">Tags</span></label>
<div id="tags"></div>
<label for="question"><span lang="de">Frage</span><span lang="en">Question</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Das Backslash-Symbol ist nicht erlaubt und wird automatisch entfernt. Doppelte Anführungszeichen werden mit einzelnen Anführungszeichen ersetzt.</span><span lang="en">The backslash symbol is not allowed and will be removed. Double quotes are replaced with single quotes. </span></span></span></label>
<div id="question" class="texMode texInputsEscaped"></div>
<label for="figure"><span lang="de">Grafik</span><span lang="en">Figure</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Bild wird in Originalgröße eingefügt.</span><span lang="en">Image will be inserted in original size.</span></span></span></label>
<div id="figure">
{{ exerciseFigureFileImport }}
</div>
<label for="answers"><span lang="de">Antworten</span><span lang="en">Answers</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Jede Antwort besteht aus der Lösung ("Wahr" oder "Falsch"; in Prüfungen nicht sichtbar), dem Antworttext (in Prüfungen sichtbar) und der Lösungsbeschreibung (in Prüfungen nicht sichtbar).</span><span lang="en">Each answer consists of the solution ("True" or "False"; no visible in exams), the answer text (visible in exams), and the solution description (not visible in exams).</span></span></span></label>
<div id="answers">
</div>
</div>
</div>
</div>
<div id="dnd_exercises" class="dnd">
<div class="dndInfo">
<div class="title">
<span lang="de">DRAG & DROP</br></br>AUFGABEN (*.rnw und *.rmd)</br>GRAFIKEN (*.png)</span>
<span lang="en">DRAG & DROP</br></br>EXERCISES (*.rnw and *.rmd)</br>FIGURES (*.png)</span>
</div>
<div class="dndIcon"><i class="fas fa-file-upload"></i></div>
</div>
</div>
</div>
<div id="exam" class="mainSection">
<h1>
<span lang="de">Prüfung</span><span lang="en">Exam</span>
</h1>
<div class="contentWrapper">
<div class="sidebar">
<div id="examFunctions_list" class="itemList">
<div id="examFunctions_list_items">
<div id="createExamTab" class="examFunctionsItem sidebarListItem active"><span lang="de">Prüfung erstellen</span><span lang="en">Create exam</span></div>
<div id="evaluateExamTab" class="examFunctionsItem sidebarListItem"><span lang="de">Prüfung auswerten</span><span lang="en">Evaluate exam</span></div>
</div>
</div>
</div>
<div class="content">
<div id="exam_create" class="contentTab active">
<h2><span lang="de">Prüfung Erstellen</span><span lang="en">Create exam</span></h2>
<div>
<div>
<label for="examDate"><span lang="de">Prüfungsdatum</span><span lang="en">Exam date</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Format: <b>yyyy-mm-dd</b>.</span><span lang="en">Format: <b>yyyy-mm-dd</b>.</span></span></span></label>
{{ dateInput_examDate }}
</div>
<div>
<label for="seedValueExam"><span lang="de">Seed</span><span lang="en">Seed</span></label>
<span id="autofillSeed" class="autofillField"><span lang="de">Prüfungsdatum verwenden.</span><span lang="en">Use exam date.</span></span>
{{ textInput_seedValueExam }}
</div>
<div>
<label for="numberOfExams"><span lang="de">Anzahl Varianten</span><span lang="en">Number of scramblings</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Je Variante wird ein eigener Seed verwendet.</span><span lang="en">For each scrambling a different seed is used.</span></span></span></label>
{{ textInput_numberOfExams }}
</div>
<div>
<label for="numberOfExercises"><span lang="de">Anzahl Aufgaben</span><span lang="en">Number of exercises</span></label>
<span id="autofillNumberOfExercises" class="autofillField"><span lang="de">Alle markierten Aufgaben wählen.</span><span lang="en">Select all marked exercises.</span></span>
{{ textInput_numberOfExercises }}
</div>
<div>
<label for="showPoints"><span lang="de">Reihenfolge der Aufgaben fixieren</span><span lang="en">Fix exercise order</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Die Reihenfolge der Aufgaben, wie unter "Aufgaben" festgelegt, wird für alle Varianten beibehalten.</span><span lang="en">The order of exercises, as set under "Exercises", is maintained for all scramblings.</span></span></span></label>
{{ checkboxInput_fixSequence }}
</div>
<div>
<label for="fixedPointsExamCreate"><span lang="de">Fixe Punkte pro Aufgabe</span><span lang="en">Fixed points per exercise</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Pro Aufgabe definierte Punkte überschreiben.</span><span lang="en">Override points defined for each exercise.</span></span></span></label>
{{ textInput_fixedPointsExamCreate }}
</div>
<div>
<label for="examReglength"><span lang="de">Anzahl Ziffern Matrikelnummer</span><span lang="en">Registration number digits</span></label>
{{ selectInput_examRegLength }}
</div>
<div>
<label for="showPoints"><span lang="de">Punkte anzeigen</span><span lang="en">Show points</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Anzahl and Punkten je Aufgabe in der Klausur angeben.</span><span lang="en">Show number of points for each exercise in the exam.</span></span></span></label>
{{ checkboxInput_showPoints }}
</div>
<div>
<label for="duplex"><span lang="de">Doppelseitiger Druck</span><span lang="en">Duplex printing</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Wichtig bei doppelseitigem Druck.</span><span lang="en">Important for duplex printing.</span></span></span></label>
{{ checkboxInput_duplex }}
</div>
<div>
<label for="replacement"><span lang="de">Ersatz-Antwortbogen</span><span lang="en">Replacement evaluation sheet</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Fügt einen zusätzlichen Antwortbogen ein.</span><span lang="en">Add an additional evaluation sheet.</span></span></span></label>
{{ checkboxInput_replacement }}
</div>
<div>
<label for="samepage"><span lang="de">Umbruch bei Antwortmöglichkeiten vermeiden</span><span lang="en">Avoid page breaks within choice lists</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Seitenumbrüche werden wenn möglich nicht innerhalb von Antwortmöglichkeiten gesetzt.</span><span lang="en">If possible, page breaks are not placed within choice lists.</span></span></span></label>
{{ checkboxInput_samepage }}
</div>
<div>
<label for="newpage"><span lang="de">Neue Seite je Aufgabe</span><span lang="en">New page per exercise</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Jede Aufgabe auf einer separaten Seiten platzieren.</span><span lang="en">Place each exercise on a separate page.</span></span></span></label>
{{ checkboxInput_newpage }}
</div>
<div>
<label for="examLanguage"><span lang="de">Sprache</span><span lang="en">Language</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Betrifft nur allgemeine Texte im Dokument.</span><span lang="en">Only relevant for general document texts.</span></span></span></label>
{{ selectInput_examLanguage }}
</div>
<div>
<label for="examInstitution"><span lang="de">Institution</span><span lang="en">Institution</span></label>
{{ textInput_examInstitution }}
</div>
<div>
<label for="examTitle"><span lang="de">Titel</span><span lang="en">Title</span></label>
{{ textInput_examTitle }}
</div>
<div>
<label for="examCourse"><span lang="de">Kurs</span><span lang="en">Course</span></label>
{{ textInput_examCourse }}
</div>
<div class="texMode texInputsEscaped">
<label for="examIntro"><span lang="de">Einleitung</span><span lang="en">Intro</span></label>
{{ textInput_examIntro }}
</div>
<div>
<label for="numberOfBlanks"><span lang="de">Anzahl leere Seiten</span><span lang="en">Number of blank pages</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Werden am Ende der Prüfung angehängt.</span><span lang="en">Are appended to the end of the exam.</span></span></span></label>
{{ textInput_numberOfBlanks }}
</div>
<div>
<label><span lang="de">Zusatz PDF-Seiten</span><span lang="en">Additional PDF pages</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Werden am Ende der Prüfung angehängt.</span><span lang="en">Are appended to the end of the exam.</span></span></span></label>
{{ additionalPdfFileImport }}
<div id="dnd_additionalPdf" class="dnd">
<div class="dndInfo">
<div class="title"><span lang="de">DRAG & DROP</br></br>ZUSÄTZLICHE PDFs (*.pdf)</span><span lang="en">DRAG & DROP</br></br>ADDITIONAL PDFs (*.pdf)</span></div>
<div class="dndIcon"><i class="fas fa-file-upload"></i></div>
</div>
</div>
</div>
<button id="createExamEvent" type="button" class="btn btn-default action-button shiny-bound-input">
<span class="iconButton"><i class="fa-solid fa-file-lines"></i></span>
<span class="textButton"><span lang="de">Prüfung erstellen</span><span lang="en">Create exam</span></span>
</button>
</div>
</div>
<div id="exam_evaluate" class="contentTab">
<h2><span lang="de">Prüfung Auswerten</span><span lang="en">Evaluate exam</span></h2>
<div>
<div>
<label for="fixedPointsExamEvaluate"><span lang="de">Fixe Punkte pro Aufgabe</span><span lang="en">Fixed points per exercise</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Überschreibt die in den Aufgaben festgelegten Punkte. Wenn Punkte entsprechend wie sie in der Aufgabe festgelegt sind verwendet werden sollen, muss dieses Feld leer bleiben.</span><span lang="en">Overrides the points set in the tasks. If points are to be used as defined in the task, this field must be left blank.</span></span></span></label>
{{ textInput_fixedPointsExamEvaluate }}
</div>
<div>
<label for="evaluateReglength"><span lang="de">Anzahl Ziffern Matrikelnummer</span><span lang="en">Registration number digits</span></label>
{{ selectInput_evaluateReglength }}
</div>
<div>
<label for="partialPoints"><span lang="de">Teilpunkte</span><span lang="en">Partial points</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Teilpunkte in Aufgaben erlauben.</span><span lang="en">Allow for partial points in exercises.</span></span></span></label>
{{ checkboxInput_partialPoints }}
</div>
<div>
<label for="rule"><span lang="de">Regel für Abzugspunkte</span><span lang="en">Rule for point deductions</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">
<b>1/nwrong:</b> Jede falsche Antwort führt zum Abzug desselben Anteils der Gesamtpunkte, sodass eine Frage mit 0 Punkten bewertet wird, sobald alle falschen Antworten angekreuzt wurden.
<br/>
<br/>
<b>1/(max(nwrong;2):</b> Jede falsche Antwort führt zum Abzug desselben Anteils der Gesamtpunkte, sodass eine Frage mit 0 Punkten bewertet wird, sobald alle falschen Antworten angekreuzt wurden. Sollte es jedoch nur eine falsche Antwort geben, wir der Anteil der Gesamtpunkte auf 50% gedeckelt.
<br/>
<br/>
<b>1/ncorrect:</b> Jede falsche Antwort hebt eine richtige Antwort derselben Frage auf.
<br/>
<br/>
<b>1:</b> Jede falsche Antwort führt zu 0 Punkten für die jeweilige Frage.
<br/>
<br/>
<b>0:</b> Falsche Antworten führen zu keinen Abzugspunkten.
</span>
<span lang="en">
<b>1/nwrong:</b> Each incorrect answer results in the same proportion of the total points being deducted, so that 0 points are credited for a question as soon as all incorrect answers have been ticked.
<br/>
<br/>
<b>1/(max(nwrong;2):</b> Each incorrect answer results in the same proportion of the total points being deducted, so that 0 points are credited for a question as soon as all incorrect answers have been ticked. However, if there is only one incorrect answer, the proportion of total points will be capped at 50%.
<br/>
<br/>
<b>1/ncorrect:</b> Each incorrect answer cancels out one correct answer of the same question.
<br/>
<br/>
<b>1:</b> Each incorrect answer results in 0 points for that question.
<br/>
<br/>
<b>0:</b> Incorrect answers do not result in any deductions.
</span></span></span></label>
{{ selectInput_rule }}
</div>
<div>
<label for="negativePoints"><span lang="de">Minuspunkte</span><span lang="en">Negative points</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Minuspunkte für Fragen erlauben (keine Deckelung bei 0).</span><span lang="en">Allow negative points for questions (no cap at 0).</span></span></span></label>
{{ checkboxInput_negativePoints }}
</div>
<div>
<label for="mark"><span lang="de">Prüfungen benoten</span><span lang="en">Grade exams</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Prüfungen anhand des Notenschlüssels benoten.</span><span lang="en">Grade exams based on the grading key.</span></span></span></label>
{{ checkboxInput_mark }}
</div>
<div>
<label for="gradingKey"><span lang="de">Notenschlüssel</span><span lang="en">Grading key</span></label>
<table id="gradingKey">
<tr>
<th><span lang="de">Punkte</span><span lang="en">Points</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Zahlen kleiner als 1 werden als Prozent gewertet. Werte werden nicht gerundet. Schwellenwerte zählen noch zur Note derselben Zeile.</span><span lang="en">Numbers smaller than 1 are evaluated as percent. Values are not rounded. Thresholds count towards the mark of the same row.</span></span></span></th>
<th><span lang="de">Note</span><span lang="en">Mark</span></th>
<th></th>
</tr>
{{ gradingKey }}
</table>
</div>
<div>
<label for="evaluationLanguage"><span lang="de">Sprache</span><span lang="en">Language</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Betrifft nur allgemeine Texte im Dokument.</span><span lang="en">Only relevant for general document texts.</span></span></span></label>
{{ selectInput_evaluationLanguage }}
</div>
<div>
<label for="rotateScans"><span lang="de">Scans drehen</span><span lang="en">Rotate scans</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Dreht alle PDF-Seiten um 180 Grad.</span><span lang="en">Rotates all PDF pages by 180 degrees.</span></span></span></label>
{{ checkboxInput_rotateScans }}
</div>
<div>
<label><span lang="de">Lösungen</span><span lang="en">Solutions</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Bei der Prüfungserellung gespeicherte RDS-Datei.</span><span lang="en">RDS file saved when creating the exam.</span></span></span></label>
{{ examSolutionsFileImport }}
<label><span lang="de">Registrierte Teilnehmer</span><span lang="en">Registered participants</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Teilnehmerliste als CSV-Datei mit den Spalten "registration", "name" und "id".</span><span lang="en">Registered participants as CSV file with columns "registration", "name", and "id".</span></span></span></label>
{{ examRegisteredParticipantsFileImport }}
<label><span lang="de">Bewertungs-Scans</span><span lang="en">Evaluation scans</span><span class="myTooltip"><span class="tooltipIcon"><i class="fa-regular fa-circle-question"></i></span><span class="tooltipText"><span lang="de">Scans als PDF- oder PNG-Dateien.</span><span lang="en">Scans as PDF or PNG files.</span></span></span></label>
{{ examScansFileImport }}
<div id="dnd_examEvaluation" class="dnd">
<div class="dndInfo">
<div class="title">
<span lang="de">DRAG & DROP</br></br>LÖSUNGEN (*.rds)</br>TEILNEHMER (*.csv)</br>SCANS (*.pdf und *.png)</span>
<span lang="en">DRAG & DROP</br></br>SOLUTIONS (*.rds)</br>PARTICIPANTS (*.csv)</br>SCANS (*.pdf and *.png)</span>
</div>
<div class="dndIcon"><i class="fas fa-file-upload"></i></div>
</div>
</div>
</div>
<button id="evaluateExamEvent" type="button" class="btn btn-default action-button shiny-bound-input">
<span class="iconButton"><i class="fa-solid fa-check-double"></i></span>
<span class="textButton"><span lang="de">Prüfung bewerten</span><span lang="en">Evaluate exam</span></span>
</button>
</div>
</div>
</div>
</div>
</div>
<div id="addons" class="mainSection noAddons">
<h1>
<span lang="de">Werkzeuge</span><span lang="en">Tools</span>
</h1>
<div class="contentWrapper">
<div class="sidebar">
<div id="addonTools_list" class="itemList">
<div id="addonTools_list_items">
{{ addonSidebarListItems }}
</div>
</div>
</div>
<div class="content">
{{ addonContentTabs }}
</div>
</div>
</div>
</main>