Commit Graph
8 Commits
Author SHA1 Message Date
Dennis Eisold a1698c9d3d Use data-quiz-shown attributes for quiz mode visibility
Mark elements that should remain visible in quiz mode at build time
via data-quiz-shown attributes (toolbar, breadcrumb, h1, questions,
solution links, next-section/-chapter links). The runtime tail
detection becomes obsolete and the CSS collapses to a single show/hide
rule.

Switch the body markers to data-quiz-mode / data-quiz-has-questions
attributes, swap the toggle between btn-secondary and btn-primary
instead of hardcoded colors, and use Bootstrap's alert alert-info for
the no-questions notice.
2026-05-03 20:09:46 +02:00
Tim Grelka 16208eee22 fix: use has_solution parameter 2026-02-15 13:20:17 +01:00
Tim Grelka 77371fb364 fix: move button outside of question 2026-02-15 13:17:27 +01:00
Matthias Jung d105d9cb5a feature: renamed and fixed style 2026-02-14 11:58:20 +01:00
Matthias Jung 0e9a4dceac feature: add brightspot rendering in question 2026-02-14 00:35:03 +01:00
Matthias Jung f5e5c93ad3 feature: add alt-text support for pictures 2025-11-09 13:02:46 +01:00
Prof. Dr. Matthias Jung DL9MJ 844bcb33ab feature: add page rendering with next and previous 2025-06-24 22:04:11 +02:00
Prof. Dr. Matthias Jung DL9MJ 1df46b56ee feature: add html question render based on jinja 2025-02-17 09:51:23 +01:00