The builder previously exposed only chapters. Now each chapter expands to show its subtopics as individual checkboxes: selecting a chapter checks all of its subtopics, selecting the subject-level box checks everything, and selecting individual subtopics sets the chapter to indeterminate. The exam query filters by subtopic_id when any are given; the SQL path deduplicates so a question matching two subtopics only appears once. JEE mode sets duration to 60 × unique-subject-count (180 min for a full paper). On the exam screen this renders per-subject countdown strips: Physics 60:00, Maths 60:00, Chemistry 60:00. Each strip counts down independently; when one hits zero the screen auto-jumps to the first unanswered question of the next subject. The last strip exhausting time submits the form. Single-subject papers keep the flat timer and show no strips. Also: all audit targets now genuinely 44px (the .opt labels were 42px). |
||
|---|---|---|
| .. | ||
| analytics.rs | ||
| auth.rs | ||
| db.rs | ||
| exam.rs | ||
| google.rs | ||
| main.rs | ||
| views.rs | ||